CS 161 Spring 2023 | CS 161: Computer Security
CS 161: Computer Security
Instructors:
Raluca Ada Popa and Peyrin Kao
Lecture:
M/W, 5:00–6:30 PM PT in Dwinelle 155
Skip to current week
Date
Lecture
Discussion
HW
Project
Wed
01/18
1. Introduction and Security Principles
Slides
Recording
Ch. 1
No discussion
HW1
Mon
01/23
2. x86 Assembly and Call Stack
Slides
Recording
Ch. 2
x86/GDB Cheat Sheet
61C Review, Security Principles
(solutions)
(recording)
Wed
01/25
3. Memory Safety Vulnerabilities
Slides
Recording
Ch. 3
Project 1 Checkpoint
Mon
01/30
4. Memory Safety Vulnerabilities II
Slides
Recording
Ch. 3
Memory Safety
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
Wed
02/01
5. Mitigating Memory Safety Vulnerabilities
Slides
Recording
Ch. 4
Mon
02/06
6. Intro to Cryptography
Slides
Recording
Ch. 5
Memory Safety Mitigations
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
HW2
Wed
02/08
7. One-Time Pad & Block Ciphers
Slides
Recording
Ch. 6
Mon
02/13
8. Block Cipher Chaining Modes (continued) & Cryptographic Hashes
Slides
Recording
Ch. 7
Ch. 8
Symmetric-Key Cryptography
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
Project 1
Wed
02/15
9. PRNGs and Diffie-Hellman Key Exchange
Slides
Recording
Ch. 9
Ch. 10
Mon
02/20
Presidents' Day (no lecture)
Integrity, Authenticity, and Diffie-Hellman
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
HW3
Wed
02/22
10. Diffie-Hellman Key Exchange and Public-Key Encryption
Slides
Recording
Ch. 11
Ch. 12
Mon
02/27
11. Digital Signatures, Certificates and Password Hashing
Slides
Recording
Ch. 13
Ch. 14
Public-Key Cryptography
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
Wed
03/01
12. Bitcoin
Slides
Recording
Ch. 16
Mon
03/06
13. Intro to Web
Slides
Recording
Ch. 18
Ch. 19
Certificates and Passwords
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
HW4
Wed
03/08
14. Cookies and CSRF
Slides
Recording
Ch. 20
Ch. 21
Project 2 Design
Mon
03/13
Midterm (7–9pm PT)
Cookies and CSRF
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
Wed
03/15
15. SQL Injection and CAPTCHAs
Slides
Recording
Ch. 22
Ch. 23
Mon
03/20
16. XSS and UI Attacks
Slides
Recording
Ch. 17
SQL Injection and XSS
(solutions)
(recording)
Exam Prep
(solutions)
(recording)
HW5
Wed
03/22
17. Intro to Networking
Slides
Recording
Ch. 25
Mon
03/27
Spring Break
No discussion
Wed
03/29
Spring Break
Project 2
Mon
04/03
18. Low-Level Network Attacks
Slides
Recording
Ch. 26
Ch. 27
Ch. 28
DHCP, ARP, and WPA
(solutions)
(recording)
Exam Prep
(solutions)
HW6
Wed
04/05
19. Transport Layer (TCP and UDP)
Slides
Recording
Ch. 29
Ch. 30
Mon
04/10
20. TLS
Slides
Recording
Ch. 31
TLS and TCP
(solutions)
(recording)
Exam Prep
(solutions)
Wed
04/12
21. DNS
Slides
Recording
Ch. 32
Project 3
Mon
04/17
22. DNSSEC
Slides
Recording
Ch. 33
DNS and DNSSEC
(solutions)
(recording)
Exam Prep
(solutions)
HW7
Wed
04/19
23. Denial of Service and Firewalls
Slides
Recording
Ch. 34
Ch. 35
Mon
04/24
24. Intrusion Detection
Slides
Recording
Ch. 36
Intrusion Detection, Firewalls, and Denial of Service
(solutions)
(recording)
Exam Prep
(solutions)
Wed
04/26
25. Malware and Ending Remarks
Slides
Recording
Ch. 38
Mon
05/01
RRR week
Wed
05/03
RRR week
Fri
05/12
Final Exam (3–6pm PT)