ECS 153. Computer Security

Winter 2009CRN: 30745
Lecture: Monday, Wednesday, and Friday, 1000-1050, 184 Young.
Section:Friday 0800-0850, 212 Wellman.
Instructor: Hao Chen <hchen AT cs.ucdavis.edu> Office hours: Monday and Friday, 1100-1200, 3055 Kemper.
TA: Benjamin Davis <bendavis AT ucdavis.edu> Office hours: Tuesday 1100-1200, 55 Kemper.
Mailing list: ecs153-w09@ucdavis.edu Web interface (for announcements from instructional staff)
Newsgroup:ucd.class.ecs153.d Web interface (for discussions)
Communication: If you have a non-personal question, send it to the ucd.class.ecs153.d news group.
If you have a personal question, send the instructor or a TA an email whose subject line starts with ecs153w09.

Announcements


Homework

  1. Buffer overflow attacks. Due 10:00pm, Sunday, Feb 1, 2009.
    Handout: buflab-handout.tar
    You can check the class's progress at the grading page, which is updated minutely. If the page is stale for more than 5 minutes, please notify me.
    x86 assembly language references:
  2. Design secure systems. Due in class on Wednesday, March 11.

Goals

This course introduces principles, mechanisms, and implementations of computer security. You will learn how hackers attack systems, how to defend against the attacks, and how to design systems to withstand the attacks.

Topics

Prerequisites

Requirements and grading

Lectures

WeekDateTopicReading
1Jan 5Introduction
Jan 7Design principles §1.1-1.3; §13;
Jan 9Buffer overflow Smashing The Stack For Fun And Profit. Aleph One.
2Jan 12Buffer overflow Buffer Overflows: Attacks and Defenses for the Vulnerability of the Decade. Cowan et al.
Jan 14
Jan 16
3Jan 19MLK Day. No class.
Jan 21Symmetric key cryptography §9.1, §9.2.1, §9.2.2.2, §9.2.3
Jan 23Block ciphers Notes
4Jan 26Guest lecture: Cross-site Scripting Cross site scripting explained, Klein.
Jan 28Block ciphers
Jan 30Public key cryptography §9.3
5Feb 2 Notes
Feb 4Digital signatures; Public key infrastructure §10.6, §10.4.2
Feb 6Authentication §12.1-12.3
6Feb 9Guest lecture: Cross-site Request Forgery Cross-Site Request Forgeries: Exploitation and Prevention, Zeller, Felten.
Robust Defenses for Cross-Site Request Forgery, Barth, Jackson, Mitchell. (Optional)
Feb 11Midterm
Feb 13Message Authentication §9.4
7Feb 16President's Day. No class.
Feb 18Kerberos §10.2.2
Feb 20Protocol design Slides PDF
8Feb 23Access control §2.1; §2.4; §4.4; §15.1-15.2
Feb 25 Confidentiality and integrity models §5.1, 5.2.1, 6.1, 6.2
Feb 27Privilege management Setuid Demystified. Chen, Wagner, Dean.
9Mar 2Privilege separation Preventing Privilege Escalation. Provos, Friedl, Honeyman.
Mar 4Sandbox A secure environment for untrusted helper applications:confining the wily hacker. Goldberg, Wagner, Thomas, and Brewer.
Mar 6 Traps and Pitfalls: Practical Problems in System Call Interposition Based Security Tools, Garfinkel.
10Mar 9Virtual machines Whenvirtual is better than real. Chen and Noble.
Mar 11 When Virtual is Harder than Real: Security Challenges in Virtual Machine Based Computing Environments.
Garfinkel and Rosenblum.
Mar 13Usability Why Phishing Works. Dhamija, Tygar, and Hearst.
11Mar 16Poster Presentation

Warning

From time to time, we may discuss vulnerabilities in widely-deployed computer systems. This is not intended as an invitation to go exploit those vulnerabilities. It is important that we be able to discuss real-world experience candidly; students are expected to behave responsibly.

The campus's policy (and my policy) on this should be clear: you may not break into machines that are not your own; you may not attempt to attack or subvert system security. Breaking into other people's systems is inappropriate, and the existence of a security hole is no excuse.

Feedback

I always welcome any feedback on what I could be doing better. You are also welcome to send me feedback anonymously.


Hao Chen <hchenATcs.ucdavis.edu>
Last modified March 1, 2009.
Valid XHTML 1.1! Valid CSS!