CS 161: Computer Security

Announcements:

  • Project 3 has been released and is due Friday, April 29 at 11:59 PM PST.
  • Homework 6 is released on Gradescope and is due Friday, April 15 at 11:59 PM PST.

Instructor: Nicholas Weaver

Lecture: T/Th, 12:30--2:00 PM PT in Dwinelle 155

Skip to current week

Date Lecture Readings Discussion HW Project
Tue
01/18
1. Introduction and Security Principles (Recording)

CS161 § 1

No discussion HW1
Thu
01/20
2. Security Principles (continued) and x86 Assembly (Recording)

CS161 § 2

x86/GDB Cheat Sheet

Tue
01/25
3. x86 Calling Convention and Buffer Overflows (Recording)

CS161 § 3

x86 and Memory Safety
(solutions)

(recording)

Project 1 Checkpoint

Thu
01/27
4. Memory Safety Vulnerabilities (Recording)

CS161 § 4

Tue
02/01
5. Mitigating Memory Safety Vulnerabilities (Recording)

CS161 § 5

Memory Safety
(solutions)

(recording)
Exam Prep

(solutions)
HW2
Thu
02/03
6. Pointer Authentication, ASLR, and Intro to Cryptography (Recording)
Tue
02/08
7. Block Ciphers (Recording)

CS161 § 6

Symmetric Cryptography
(solutions)

(recording)
Exam Prep

(solutions)

Project 1

Thu
02/10
8. Block Cipher Modes of Operation and Cryptographic Hashes (Recording)

CS161 § 7

CS161 § 8

Tue
02/15
9. PRNGs and Diffie-Hellman Key Exchange (Recording)

CS161 § 9

CS161 § 10

Integrity and Authenticity
(solutions)

(recording)
Exam Prep

(solutions)
HW3
Thu
02/17
10. Diffie-Hellman Key Exchange (continued) and Public-Key Cryptography (Recording)

CS161 § 11

CS161 § 12

Tue
02/22
11. Certificates, Passwords, and Case Studies (Recording)

CS161 § 13

CS161 § 14

Asymmetric Cryptography
(solutions)

(recording)
Exam Prep

(solutions)
Thu
02/24
12. Bitcoin (Recording)

CS161 § 16

Fri
02/25
Midterm
Tue
03/01
13. Intro to Web (Recording)

CS161 § 18

CS161 § 19

No Discussion HW4

Project 2 Checkpoint

Thu
03/03
14. Cookies and CSRF (Recording)

CS161 § 20

CS161 § 21

Tue
03/08
15. XSS and UI Attacks (Recording)

CS161 § 22

CS161 § 23

Web I
(solutions)

(recording)
Exam Prep

(solutions)
Thu
03/10
16. SQL Injection, CAPTCHAs, and Intro to the Internet (Recording)

CS161 § 17

CS161 § 25

Tue
03/15
17. Intro to the Internet (continued), ARP, DHCP, and WPA (Recording)

CS161 § 26

CS161 § 28

CS161 § 27

Web II
(solutions)

(recording)
Exam Prep

(solutions)
HW5

Project 2

Thu
03/17
18. BGP, TCP, UDP, and TLS (Recording)

CS161 § 29

CS161 § 30

CS161 § 31

Tue
03/22
Spring Break No discussion
Thu
03/24
Spring Break
Tue
03/29
19. TLS (continued) and DNS (Recording)

CS161 § 32

Networking I
(solutions)

(recording)
Exam Prep

(solutions)
Thu
03/31
20. DNS (continued) and DNSSEC (Recording)

CS161 § 33

Tue
04/05
21. DNSSEC (continued), Denial of Service, and Firewalls (Recording)

CS161 § 34

CS161 § 35

Networking II
(solutions)

(recording)
Exam Prep

(solutions)
HW6
Thu
04/07
22. Firewalls (continued) and Intrusion Detection (Recording)

CS161 § 36

Project 3

Tue
04/12
23. Censorship and Malware (Recording)

CS161 § 38

Networking III
(solutions)

(recording)
Exam Prep

(solutions)
Thu
04/14
24. Worms, Tor, and Abuse (Recording)

CS161 § 39

Tue
04/19
25. Guest Lecture: Privacy and Reverse Engineering (Shomil Jain) (Recording) Intrusion Detection
(solutions)

(recording)
Exam Prep

(solutions)
HW7
Thu
04/21
26. Guest Lecture: Incident Response (Lea Kissner)
Tue
04/26
27. Guest Lecture: Voting Systems (Dan Wallach) (Recording) Tor and Special Topics
(solutions)
Thu
04/28
28. 737 MAX, Nukes, and 161 In Practice (Recording)
Tue
05/03
RRR week Final Review
Thu
05/05
RRR week
Thu
05/12
Final Exam