Skip to main content Link Search Menu Expand Document (external link)

Bot waving with a heart

CS 161 Spring 2024

Calendar

Skip to current week

Wk. Date Lecture Discussion HW Project
1Wed
Jan 17
1. Introduction and Security Principles
Slides / Recording / Ch. 1
0. 61C Review
Worksheet / Solutions / Video
HW1
(due Friday 01/26)
2Mon
Jan 22
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
Project 1 Checkpoint
(due Friday 02/02)
Wed
Jan 24
3. Memory Safety Vulnerabilities
Slides / Recording / Ch. 3

Extra Slides

3Mon
Jan 29
4. Mitigating Memory Safety Vulnerabilities
Slides / Recording / Ch. 4
2. Memory Safety
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW2
(due Friday 02/09)
Wed
Jan 31
5. Intro to Cryptography
Slides / Recording / Ch. 5
4Mon
Feb 05
6. One-Time Pads and Block Ciphers
Slides / Recording / Ch. 6
3. Memory Safety Mitigations
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Project 1
(due Friday 02/09)
Wed
Feb 07
7. Block Cipher Chaining Modes & Cryptographic Hashes
Slides / Recording / Ch. 6
5Mon
Feb 12
8. MACs, PRNGs and Diffie-Hellman Key Exchange
Slides / Recording / Ch. 7 / Ch. 8 / Ch. 9
4. Symmetric Cryptography
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW3
(due Friday 02/16)
Project 2 Spec Quiz
(due Friday 02/16)
Wed
Feb 14
9. Diffie-Hellman Key Exchange and Public-Key Encryption
Slides / Recording / Ch. 10 / Ch. 11
6Mon
Feb 19

No Lecture (President’s Day)

5. Integrity and Authenticity
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW4
(due Friday 03/01)
Project 2 Design
(due Friday 02/23)
Wed
Feb 21
10. Digital Signature, Certificates, Password Hashing
Slides / Recording / Ch. 12 / Ch. 13 / Ch. 14
7Mon
Feb 26
11. Introduction to Web
Slides / Recording / Ch. 18 / Ch. 19
6. Asymmetric Cryptography / Midterm Review
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Project 2 Coding Checkpoint
(due Wednesday 03/13)
Wed
Feb 28
12. Same-Origin Policy and Cookies
Slides / Recording / Ch. 19 / Ch. 20
Thu
Feb 29

Midterm (7–9pm PT)

8Mon
Mar 04
13. Sessions, CSRF, and XSS
Slides / Recording / Ch. 20 / Ch. 21
No Discussion HW5
(due Friday 03/22)
Wed
Mar 06
14. SQL Injection and UI Attacks
Slides / Recording / Ch. 22 / Ch. 23
9Mon
Mar 11
15. Web Wrap-Up and Intro to Networking
Slides / Recording / Ch. 17 / Ch. 24 / Squigler Demo
7. Cookies and CSRF
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Mar 13
16. Low-Level Network Attacks
Slides / Recording / Ch. 25
10Mon
Mar 18
17. WPA (Low-Level Network Attacks) and TCP (Transport Layer)
Slides / Recording / Ch. 26 / Ch. 28 / Ch. 27
8. SQL Injection and XSS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Project 2
(due Friday 03/22)
Wed
Mar 20
18. Transport Layer: TCP and UDP
Slides / Recording / Ch. 29 / Ch. 30
11Mon
Mar 25

No Lecture (Spring Break)

No Discussion HW6
(due Friday 04/05)
Project 3
(due Friday 04/19)
Wed
Mar 27

No Lecture (Spring Break)

12Mon
Apr 01
19. TLS
Slides / Recording / Ch. 31
9. ARP, DHCP, WPA
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Apr 03
20. DNS
Slides / Recording / Ch. 32
13Mon
Apr 08
21. DNSSEC
Slides / Recording / Ch. 33
10. TCP and TLS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Apr 10
22. Intrusion Detection
Slides / Recording / Ch. 36
14Mon
Apr 15
23. Denial of Service and Firewalls
Slides / Recording / Ch. 34 / Ch. 35
11. DNS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW7
(due Friday 04/26)
Wed
Apr 17
24. Malware and Tor
Slides / Recording / Ch. 38

Extra Slides

15Mon
Apr 22
25. Bitcoin
Slides / Recording / Ch. 16 / Bitcoin Whitepaper
12. Intrusion Detection, Tor, and Firewalls
Worksheet / Solutions
Exam Prep / Solutions
Wed
Apr 24
26. Quick Intro to Secure (Generative) AI
Slides / Recording
16Mon
Apr 29

RRR Week

13. Final Review
Wed
May 01

RRR Week

17Fri
May 10

Final Exam (3–6pm PT)