CS 161: Computer Security

Announcements:

  • Homework 1 is due Tuesday, June 29, 11:59 PM PT.
  • Project 1 is due Tuesday, July 6, 11:59 PM PT.

Instructors: Nicholas Ngai and Peyrin Kao

Lecture: Monday–Thursday, 3:30 PM–5:00 PM PT

Skip to current week

Date Readings Lecture Discussion HW Project
Mon
06/21

1. Principles for Building Secure Systems

Slides
Recording
Videos
No discussion HW1
Tue
06/22

2. x86 Assembly and Call Stack

Slides
Recording
Videos

Project 1

Wed
06/23

3. Memory Safety Vulnerabilities

Slides
Videos
61C Review, Security Principles
Thu
06/24

4. Mitigating Memory Safety Vulnerabilities

Slides
Videos
Mon
06/28

Holiday

No lecture Memory Safety HW2
Tue
06/29

5. Introduction to Cryptography

6. Symmetric-Key Cryptography

Slides
Videos
Wed
06/30

6. Symmetric-Key Cryptography

Slides
Videos
Symmetric-Key Cryptography
Thu
07/01

7. Cryptographic Hashes

8. Message Authentication Codes (MACs)

Slides
Videos
Mon
07/05

Holiday

No lecture Asymmetric Cryptography HW3
Tue
07/06

9. Pseudorandom Number Generators (PRNGs)

10. Diffie-Hellman Key Exchange

Slides
Videos
Wed
07/07

11. Public-Key Encryption

12. Digital Signatures

Slides
Videos
Public Key Cryptography

Project 2 Design

Thu
07/08

13. Certificates

14. Passwords

15. Case Studies

Slides
Videos
Mon
07/12

16. Bitcoin


Videos
Midterm Review HW4
Tue
07/13

Midterm (5:00–7:00 PM PT)

No lecture
Wed
07/14

18. Introduction to Web

19. Same-Origin Policy

Slides
Videos
SQL Injection and Cookies
Thu
07/15

20. Cookies and Session Management

21. Cross-Site Request Forgery (CSRF)

Slides
Videos
Mon
07/19

22. Cross-Site Scripting (XSS)

23. UI Attacks

Slides
Videos
CSRF and XSS HW5
Tue
07/20

24. SQL Injection

25. CAPTCHAs

Slides
Videos

Project 2

Wed
07/21

26. Introduction to Networking

Slides
Videos
UI Based Attacks and Privacy
Thu
07/22

27. ARP

28. WPA

29. DHCP

Slides
Videos
Mon
07/26

30. BGP

31. TCP and UDP

Slides
Videos
TLS and TCP HW6
Tue
07/27

32. TLS

Slides
Videos
Wed
07/28

33. DNS

Slides
Videos
DNS

Project 3

Thu
07/29

34. DNSSEC

Slides
Videos
Mon
08/02

35. Denial-of-Service (DoS) Attacks

36. Firewalls

Slides
Videos
Intrusion Detection HW7
Tue
08/03

37. Intrusion Detection

Slides
Videos
Wed
08/04

39. Malware

Slides
Videos
Web Security and Special Topics
Thu
08/05

40. Anonymity and Tor

Slides
Videos
Mon
08/09

(Optional) 17. Signal

Final Review
Tue
08/10

(Optional) Special Topics

Wed
08/11

(Optional) Special Topics

Thu
08/12

Final Exam (5:00–8:00 PM PT)

No lecture