Outline for June 1, 2000 1. Greetings and felicitations! 2. Avoiding Vulnerabilities a. Good programming design (eight rules follow; Saltzer and Schroeder) b. Good implementation practise (more next week) 3. Principles of Secure Design a. Refer to both designing secure systems and securing existing systems b. Speaks to limiting damage 4. Principle of Least Privilege a. Give process only those privileges it needs b. Discuss use of roles; examples of systems which violate this (vanilla UNIX) and which maintain this (Secure Xenix) c. Examples in programming (making things setuid to root unnecessarily, limiting protection domain; modu- larity, robust programming) d. Example attacks (misuse of privileges, etc.) 5. Principle of Fail-Safe Defaults a. Default is to deny b. Example of violation: su program 6. Principle of Economy of Mechanism a. KISS principle b. Enables quick, easy verification c. Example of complexity: sendmail 7. Principle of Complete Mediation a. All accesses must be checked b. Forces system-wide view of controls c. Sources of requests must be identified correatly d. Source of problems: caching (because it may not reflect the state of the system correctly); examples are race conditions, DNS poisoning 8. Principle of Open Design a. Designs are open so everyone can examine them and know the limits of the security provided b. Does not apply to cryptographic keys c. Acceptance of reality: they can get this info anyway 9. Principle of Separation of Privilege a. Require multiple conditions to be satisfied before granting permission/access/etc. b. Advantage: 2 accidents/errors/etc. must happen together to trigger failure 10. Principle of Least Common Mechanism a. Minimize sharing b. New service: in kernel or as a library routine? Latter is better, as each user gets their own copy 11. Principle of Psychological Acceptability a. Willingness to use the mechanisms b. Understanding model c. Matching user's goal 12. Auditing a. Goals: reconstruction or deduction? b. Relationship to security policy c. Application logs d. System logs 13. Example analysis technique a. GOAL methodology b. Do it on local file accesses 14. Problems a. Log size b. Impact on system services c. Correllation of disparate logs 15. Intrusion detection a. Anomaly detection b. Misuse detection c. Specification detection 16. Anomaly detection a. Dorothy Denning's model and IDES b. Useful characteristics (examples) c. Cautions and problems d. Defeating it 17. Misuse detection a. TIM (from DEC) b. Rule-based analysis and attack recognition c. Cautions and problems d. Defeating it 18. Specification Detection a. Property-Based Testing (introduce specifications here) b. Example c. Cautions and problems d. Defeating it 19. Toss in a network a. NSM b. DIDS c. GrIDS