This website contains materials from a past semester. Information, assignments, and announcements may no longer be relevant. Please refer to the current semester's site for up-to-date content.
CS 161 Summer 2024
Instructors: Ashley Chiu, Jordan Schwartz, Peyrin Kao / Lecture: 12:30-2PM MTWTh, Hearst Annex A1 [Zoom, Playlist]
Calendar
Wk. | Date | Lecture | Discussion | HW | Project |
---|---|---|---|---|---|
1 | Mon Jun 17 | 1. Introduction and Security Principles Slides 1 / Recording 1 / Ch. 1 | 0. 61C Review Session (Jun 17th 3-4:30PM @ Cory 521) Worksheet 0 / Solutions 0 / Video 0 |
HW1 (due Friday 06/21) | Project 1 Checkpoint (due Tuesday 06/25) |
Tue Jun 18 | 2. x86 Assembly and Call Stack Slides 2 / Recording 2 / Ch. 2 / x86/GDB Cheat Sheet | ||||
Wed Jun 19 | No Lecture (Juneteenth) | 1. Security Principles and x86 Worksheet 1 / Solutions 1 / Video 1 Exam Prep 1 / EP Solutions 1 / EP Video 1 |
|||
Thu Jun 20 | 3. Memory Safety Vulnerabilities Slides 3 / Recording 3 / Ch. 3 | ||||
2 | Mon Jun 24 | 4. Mitigating Memory Safety Vulnerabilities Slides 4 / Recording 4 / Ch. 4 | 2. Memory Safety Worksheet 2 / Solutions 2 / Video 2 Exam Prep 2 / EP Solutions 2 / EP Video 2 |
HW2 (due Friday 06/28) | |
Tue Jun 25 | 5. Intro to Cryptography Slides 5 / Recording 5 / Ch. 5 | ||||
Wed Jun 26 | 6. One-Time Pads and Block Ciphers Modes of Operation Slides 6 / Recording 6 / Ch. 6 | 3. Memory Safety Mitigations Worksheet 3 / Solutions 3 / Video 3 Exam Prep 3 / EP Solutions 3 / EP Video 3 |
Project 1 (due Tuesday 07/02) | ||
Thu Jun 27 | 7. Block Cipher Modes of Operation Slides 7 / Recording 7 / Ch. 6 | ||||
3 | Mon Jul 01 | 8. Cryptographic Hashes and MACs Slides 8 / Recording 8 / Ch. 7 / Ch. 8 | 4. Symmetric Cryptography Worksheet 4 / Solutions 4 / Video 4 Exam Prep 4 / EP Solutions 4 / EP Video 4 |
HW3 (due Friday 07/05) | |
Tue Jul 02 | 9. PRNGs and Diffie-Hellman Key Exchange Slides 9 / Recording 9 / Ch. 9 / Ch. 10 | ||||
Wed Jul 03 | 10. Public-Key Encryption and Digital Signatures Slides 10 / Recording 10 / Ch. 11 / Ch. 12 | 5. Integrity and Authenticity Worksheet 5 / Solutions 5 / Video 5 Exam Prep 5 / EP Solutions 5 / EP Video 5 |
Project 2 Spec Quiz (due Friday 07/05) | ||
Thu Jul 04 | No Lecture (Independence Day) | ||||
4 | Mon Jul 08 | Midterm (7-9pm PT) | 6. Asymmetric Cryptography Review Discussion (July 8th 12:30-2PM @ Hearst Annex A1) Slides 6 / Worksheet 6 / Solutions 6 / Video 6 |
HW4 (due Friday 07/12) | Project 2 Design (due Monday 07/15) |
Tue Jul 09 | 11. Certificates, Passwords, and Case Studies Slides 11 / Recording 11 / Ch. 13 / Ch. 14 | ||||
Wed Jul 10 | 12. Introduction to Web Slides 12 / Recording 12 / Ch. 18 / Ch. 19 | No Discussion | |||
Thu Jul 11 | 13. Cookies and CSRF Slides 13 / Recording 13 / Ch. 20 / Ch. 21 | ||||
5 | Mon Jul 15 | 14. XSS and UI Attacks Slides 14 / Recording 14 / Ch. 22 / Ch. 23 | 7. Cookies and CSRF Worksheet 7 / Solutions 7 / Video 7 Exam Prep 7 / EP Solutions 7 / EP Video 7 |
HW5 (due Friday 07/19) | |
Tue Jul 16 | 15. SQL Injection and CAPTCHAs Slides 15 / Recording 15 / Ch. 17 / Ch. 24 | Project 2 Testing Checkpoint (due Monday 07/22) | |||
Wed Jul 17 | 16. Intro to Networking Slides 16 / Recording 16 / Ch. 25 | 8. SQL Injection and XSS Worksheet 8 / Solutions 8 / Video 8 Exam Prep 8 / EP Solutions 8 / EP Video 8 |
|||
Thu Jul 18 | 17. Low-Level Network Attacks Slides 17 / Recording 17 / Ch. 26 / Ch. 27 / Ch. 28 | ||||
6 | Mon Jul 22 | 18. BGP, TCP, and UDP Slides 18 / Recording 18 / Ch. 29 / Ch. 30 | 9. ARP, DHCP, WPA Worksheet 9 / Solutions 9 / Video 9 Exam Prep 9 / EP Solutions 9 / EP Video 9 |
HW6 (due Friday 07/26) | |
Tue Jul 23 | 19. TLS Slides 19 / Recording 19 / Ch. 31 | Project 2 (due Friday 07/26) | |||
Wed Jul 24 | 20. DNS Slides 20 / Recording 20 / Ch. 32 | 10. TCP and TLS Worksheet 10 / Solutions 10 / Video 10 Exam Prep 10 / EP Solutions 10 / EP Video 10 |
|||
Thu Jul 25 | 21. Special Topics: Force Projection in the Information Domain: Implications of DNS Security (Paul Vixie) Slides / Recording on Edstem | ||||
7 | Mon Jul 29 | 22. DNSSEC Slides 22 / Recording 22 / Ch. 33 | 11. DNS Worksheet 11 / Solutions 11 / Video 11 Exam Prep 11 / EP Solutions 11 / EP Video 11 |
HW7 (due Friday 08/02) | Project 3 (due Tuesday 08/06) |
Tue Jul 30 | 23. Denial of Service and Firewalls Slides 23 / Recording 23 / Ch. 34 / Ch. 35 | ||||
Wed Jul 31 | 24. Intrusion Detection Slides 24 / Recording 24 / Ch. 36 | 12. Intrusion Detection Worksheet 12 / Solutions 12 / Video 12 Exam Prep 12 / EP Solutions 12 / EP Video 12 |
|||
Thu Aug 01 | 25. Bitcoin Slides 25 / Recording 25 / Ch. 16 / Bitcoin Whitepaper | ||||
8 | Mon Aug 05 | 26. Malware Slides 26 / Recording 26 / Ch. 38 | No Discussion | ||
Tue Aug 06 | 27. Special Topics: Exploiting Microarchitecture (Madison Bohannan) Slides / Recording on Edstem | ||||
Wed Aug 07 | 28. Anonymity and Tor Slides 28 / Recording 28 / Ch. 39 | 13. Tor and Firewalls Worksheet 13 / Solutions 13 / Video 13 Exam Prep 13 / EP Solutions 13 / EP Video 13 |
|||
Thu Aug 08 | 29. Special Topics: Snowden And Spying: 10 years on (Nicholas Weaver) Slides / Recording on Edstem | ||||
Fri Aug 09 | Final Exam (3–6pm PT) |