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

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 1 / Recording 1 / Ch. 1
Project 1 Checkpoint
Wed
Jun 21
2. x86 Assembly and Call Stack
Slides 2 / Recording 2 / Ch. 2 / x86/GDB Cheat Sheet
1. Security Principles and x86
Worksheet 1 / Solutions 1 / Video 1
Exam Prep 1 / EP Solutions 1 / EP Video 1
Thu
Jun 22
3. Memory Safety Vulnerabilities
Slides 3 / Recording 3 / Ch. 3
2Mon
Jun 26
4. Memory Safety Vulnerabilities II
Slides 4 / Recording 4 / Ch. 3
2. Memory Safety
Worksheet 2 / Solutions 2 / Video 2
Exam Prep 2 / EP Solutions 2 / EP Video 2
HW2
Tue
Jun 27
5. Mitigating Memory Safety Vulnerabilities
Slides 5 / Recording 5 / Ch. 4
Wed
Jun 28
6. Intro to Cryptography
Slides 6 / Recording 6 / Ch. 5
3. Memory Safety Mitigations
Worksheet 3 / Solutions 3 / Video 3
Exam Prep 3 / EP Solutions 3 / EP Video 3
Thu
Jun 29
7. Block Ciphers and Modes of Operation
Slides 7 / Recording 7 / Ch. 6
3Mon
Jul 03
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 Project 1
Tue
Jul 04

No lecture (fourth of July)

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