Bot waving with a heart

CS 161 Summer 2024

Instructors: Ashley Chiu, Jordan Schwartz, Peyrin Kao / Lecture: 12:30-2PM MTWTh, Hearst Annex A1 [Zoom, Playlist]

Calendar

Skip to current week

Wk. Date Lecture Discussion HW Project
1Mon
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

Extra Slides

2Mon
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
3Mon
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)

4Mon
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
5Mon
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
6Mon
Jul 22
18. BGP, TCP, and UDP
Slides 18 / Ch. 29 / Ch. 30
9. ARP, DHCP, WPA
Worksheet 9
Exam Prep 9
HW6
(due Friday 07/26)
Tue
Jul 23
19. TLS
Ch. 31
Project 2
(due Friday 07/26)
Wed
Jul 24
20. DNS
Ch. 32
10. TCP and TLS
Thu
Jul 25
21. Special Topics (Paul Vixie)
7Mon
Jul 29
22. DNSSEC
Ch. 33
11. DNS HW7
(due Friday 08/02)
Project 3
(due Tuesday 08/06)
Tue
Jul 30
23. Denial of Service and Firewalls
Ch. 34 / Ch. 35
Wed
Jul 31
24. Intrusion Detection
Ch. 36
12. Intrusion Detection
Thu
Aug 01
25. Bitcoin
Ch. 16 / Bitcoin Whitepaper
8Mon
Aug 05
26. Malware
Ch. 38
No Discussion
Tue
Aug 06
27. Special Topics (Madison Bohannan)
Wed
Aug 07
28. Anonymity and Tor
Ch. 39
13. Tor and Firewalls
Thu
Aug 08
29. Special Topics: Snowden And Spying: 10 years on (Nicholas Weaver)
Fri
Aug 09

Final Exam (3–6pm PT)