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]
Course Calendar
Wk. | Date | Lecture | Discussion | HW | Project |
---|---|---|---|---|---|
1 | Mon Jun 17 | 1. Introduction and Security Principles Slides / Recording / Ch. 1 | 0. 61C Review Session (Jun 17th 3-4:30PM @ Cory 521) Worksheet / Solutions / Video |
HW1 (due Friday 06/21) | Project 1 Checkpoint (due Tuesday 06/25) |
Tue Jun 18 | 2. x86 Assembly and Call Stack Slides / Recording / Ch. 2 / x86/GDB Cheat Sheet | ||||
Wed Jun 19 | No Lecture (Juneteenth) | 1. Security Principles and x86 Worksheet / Solutions / Video Exam Prep / Solutions / Video |
|||
Thu Jun 20 | 3. Memory Safety Vulnerabilities Slides / Recording / Ch. 3 | ||||
2 | Mon Jun 24 | 4. Mitigating Memory Safety Vulnerabilities Slides / Recording / Ch. 4 | 2. Memory Safety Worksheet / Solutions / Video Exam Prep / Solutions / Video |
HW2 (due Friday 06/28) | |
Tue Jun 25 | 5. Intro to Cryptography Slides / Recording / Ch. 5 | ||||
Wed Jun 26 | 6. One-Time Pads and Block Ciphers Modes of Operation Slides / Recording / Ch. 6 | 3. Memory Safety Mitigations Worksheet / Solutions / Video Exam Prep / Solutions / Video |
Project 1 (due Tuesday 07/02) | ||
Thu Jun 27 | 7. Block Cipher Modes of Operation Slides / Recording / Ch. 6 | ||||
3 | Mon Jul 01 | 8. Cryptographic Hashes and MACs Slides / Recording / Ch. 7 / Ch. 8 | 4. Symmetric Cryptography Worksheet / Solutions / Video Exam Prep / Solutions / Video |
HW3 (due Friday 07/05) | |
Tue Jul 02 | 9. PRNGs and Diffie-Hellman Key Exchange Slides / Recording / Ch. 9 / Ch. 10 | ||||
Wed Jul 03 | 10. Public-Key Encryption and Digital Signatures Slides / Recording / Ch. 11 / Ch. 12 | 5. Integrity and Authenticity Worksheet / Solutions / Video Exam Prep / Solutions / Video |
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 / Worksheet / Solutions / Video |
HW4 (due Friday 07/12) | Project 2 Design (due Monday 07/15) |
Tue Jul 09 | 11. Certificates, Passwords, and Case Studies Slides / Recording / Ch. 13 / Ch. 14 | ||||
Wed Jul 10 | 12. Introduction to Web Slides / Recording / Ch. 18 / Ch. 19 | No Discussion | |||
Thu Jul 11 | 13. Cookies and CSRF Slides / Recording / Ch. 20 / Ch. 21 | ||||
5 | Mon Jul 15 | 14. XSS and UI Attacks Slides / Recording / Ch. 22 / Ch. 23 | 7. Cookies and CSRF Worksheet / Solutions / Video Exam Prep / Solutions / Video |
HW5 (due Friday 07/19) | |
Tue Jul 16 | 15. SQL Injection and CAPTCHAs Slides / Recording / Ch. 17 / Ch. 24 | Project 2 Testing Checkpoint (due Monday 07/22) | |||
Wed Jul 17 | 16. Intro to Networking Slides / Recording / Ch. 25 | 8. SQL Injection and XSS Worksheet / Solutions / Video Exam Prep / Solutions / Video |
|||
Thu Jul 18 | 17. Low-Level Network Attacks Slides / Recording / Ch. 26 / Ch. 27 / Ch. 28 | ||||
6 | Mon Jul 22 | 18. BGP, TCP, and UDP Slides / Recording / Ch. 29 / Ch. 30 | 9. ARP, DHCP, WPA Worksheet / Solutions / Video Exam Prep / Solutions / Video |
HW6 (due Friday 07/26) | |
Tue Jul 23 | 19. TLS Slides / Recording / Ch. 31 | Project 2 (due Friday 07/26) | |||
Wed Jul 24 | 20. DNS Slides / Recording / Ch. 32 | 10. TCP and TLS Worksheet / Solutions / Video Exam Prep / Solutions / Video |
|||
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 / Recording / Ch. 33 | 11. DNS Worksheet / Solutions / Video Exam Prep / Solutions / Video |
HW7 (due Friday 08/02) | Project 3 (due Tuesday 08/06) |
Tue Jul 30 | 23. Denial of Service and Firewalls Slides / Recording / Ch. 34 / Ch. 35 | ||||
Wed Jul 31 | 24. Intrusion Detection Slides / Recording / Ch. 36 | 12. Intrusion Detection Worksheet / Solutions / Video Exam Prep / Solutions / Video |
|||
Thu Aug 01 | 25. Bitcoin Slides / Recording / Ch. 16 / Bitcoin Whitepaper | ||||
8 | Mon Aug 05 | 26. Malware Slides / Recording / 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 / Recording / Ch. 39 | 13. Tor and Firewalls Worksheet / Solutions / Video Exam Prep / Solutions / Video |
|||
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) |