Lecture 7, April 15

Reading: § 23.1–4, [PTE12] (This is available in the Resources area of SmartSite; look in the folder “Handouts”)
Due: Homework #1, late (20% off): April 15, 2013 at 11:55pm
         Homework #2, due April 26, 2013 at 11:55pm

Discussion question. How does weapon development, as described in the following paragraph, compare to developing computer security mechanisms?

Weapons developers, when given a choice, always go for the complex, elaborate solution at the expense of the simple one. Complexity leads to higher costs: purchase costs, operations costs, and maintenance costs. Higher costs result in fewer weapons, which, in turn, lead to contrived tests and analyses to prove that the relatively few complex systems can overcome the larger numbers of the simpler, less expensive weapons of the enemy. The fewer the weapons, the tighter is the control of these precious assets by a centralized command structure. The elaborate paraphernalia that comes with the centralized command structure only adds to the complexity of the overall system.

J. Burton, The Pentagon Wars, Naval Institute Press, Annapolis, MD (1993), p. 41.

Lecture outline.

  1. Where to start
    1. Unknown system
    2. Known system, no authorized access
    3. Known system, authorized access
  2. Examples
    1. Burroughs system
    2. Corporate site
  3. Vulnerability models
    1. PA model
    2. RISOS
    3. NRL
    4. Aslam
  4. Example Flaws
    1. fingerd buffer overflow
    2. xterm race condition
  5. RISOS
    1. Goal: Aid managers, others in understanding security issues in OSes, and work required to make them more secure
    2. Incomplete parameter validation—failing to check that a parameter used as an array index is in the range of the array;
    3. Inconsistent parameter validation—if a routine allowing shared access to files accepts blanks in a file name, but no other file manipulation routine (such as a routine to revoke shared access) will accept them;
    4. Implicit sharing of privileged/confidential data—sending information by modulating the load average of the system;
    5. Asynchronous validation/Inadequate serialization—checking a file for access permission and opening it non-atomically, thereby allowing another process to change the binding of the name to the data between the check and the open;
    6. Inadequate identification/authentication/authorization—running a system program identified only by name, and having a different program with the same name executed;
    7. Violable prohibition/limit—being able to manipulate data outside one’s protection domain; and
    8. Exploitable logic error—preventing a program from opening a critical file, causing the program to execute an error routine that gives the user unauthorized rights.


You can also obtain a PDF version of this. Version of April 14, 2013 at 7:17PM