Bot waving with a heart

CS 161 Summer 2023

Announcements

Week 5 Announcements

Jul 17

Announcements:

  • Since we’re halfway through the semester, we would love to receive your feedback on the class so far. Please fill out our mid-semester feedback form (instructions can be found on Ed).
  • Homework 5 has been released and is due Friday, July 21st at 11:59 PM PT.
  • Project 2 and Project 2 Design Review slots have been released. Look on Ed for how to sign up for design reviews.
  • Midterm grades and solutions have been released.

Past announcements

Course Calendar

Skip to current week

Wk. Date Lecture Discussion HW Project
1Mon
Jun 19

No lecture (Juneteenth)

No discussion HW1
Tue
Jun 20
1. Introduction and Security Principles
Slides / Recording / Ch. 1
Project 1 Checkpoint
Wed
Jun 21
2. x86 Assembly and Call Stack
Slides / Recording / Ch. 2 / x86/GDB Cheat Sheet
1. Security Principles and x86
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Thu
Jun 22
3. Memory Safety Vulnerabilities
Slides / Recording / Ch. 3
2Mon
Jun 26
4. Memory Safety Vulnerabilities II
Slides / Recording / Ch. 3
2. Memory Safety
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW2
Tue
Jun 27
5. Mitigating Memory Safety Vulnerabilities
Slides / Recording / Ch. 4
Wed
Jun 28
6. Intro to Cryptography
Slides / Recording / Ch. 5
3. Memory Safety Mitigations
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Thu
Jun 29
7. Block Ciphers and Modes of Operation
Slides / Recording / Ch. 6
3Mon
Jul 03
8. Cryptographic Hashes and MACs
Slides / Recording / Ch. 7 / Ch. 8
4. Symmetric Cryptography
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW3 Project 1
Tue
Jul 04

No lecture (fourth of July)

Wed
Jul 05
9. PRNGs and Diffie-Hellman Key Exchange
Slides / Recording / Ch. 9 / Ch. 10
5. Integrity and Authenticity
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Thu
Jul 06
10. Public-Key Encryption and Digital Signatures
Slides / Recording / Ch. 11 / Ch. 12
4Mon
Jul 10
11. Certificates, Passwords, and Case Studies
Slides / Recording / Ch. 13 / Ch. 14
6. Asymmetric Cryptography
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW4 Project 2 Design
Tue
Jul 11
12. Intro to Web
Slides / Recording / Ch. 18 / Ch. 19
Wed
Jul 12
13. Cookies and CSRF
Slides / Recording / Ch. 20 / Ch. 21
7. Midterm Review
Worksheet / Solutions
Thu
Jul 13
14. XSS and UI Attacks
Slides / Recording / Ch. 22 / Ch. 23
5Mon
Jul 17
15. SQL Injection and CAPTCHAs
Slides / Recording / Ch. 17 / Ch. 24
8. Cookies and CSRF
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW5
Tue
Jul 18
16. Intro to Networking
Slides / Recording / Ch. 25
Wed
Jul 19
17. Low-Level Network Attacks
Slides / Recording / Ch. 26 / Ch. 27 / Ch. 28
9. SQL Injection and XSS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Thu
Jul 20
18. BGP, TCP, and UDP
Slides / Recording / Ch. 29 / Ch. 30
6Mon
Jul 24
19. TLS
Slides / Recording / Ch. 31
10. ARP, DHCP, WPA, TCP
Worksheet / Solutions / Video
Exam Prep / Solutions
HW6 Project 2
Tue
Jul 25
20. DNS
Slides / Recording / Ch. 32
Wed
Jul 26
21. DNSSEC
Slides / Recording / Ch. 33
11. TCP and TLS
Worksheet / Solutions / Video
Exam Prep / Solutions
Thu
Jul 27
22. Denial of Service and Firewalls
Slides / Recording / Ch. 34 / Ch. 35
7Mon
Jul 31
23. Intrusion Detection
Slides / Recording / Ch. 36
12. DNS
Worksheet / Solutions / Video
Exam Prep / Solutions
HW7Project 3
Tue
Aug 01
24. Malware and Hardware Vulnerabilities
Slides / Recording / Ch. 38
Wed
Aug 02
25. Special Topics (Paul Vixie)13. Intrusion Detection
Worksheet / Solutions / Video
Exam Prep / Solutions
Thu
Aug 03
26. Tor
Slides / Recording / Ch. 39
8Mon
Aug 07
27. Special Topics (Nicholas Weaver)14. Tor and Firewalls
Worksheet / Solutions / Video
Tue
Aug 08
28. Special Topics (Peyrin Kao)
Wed
Aug 09

Final Exam (4pm–7pm PT)

15. Final Review
Thu
Aug 10
29. Bonus Special Topics (Robert Pratt)