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.

Bot waving with a heart

CS 161 Fall 2023

Course Calendar

Skip to current week

Wk. Date Lecture Discussion HW Project
1Wed
Aug 23
1. Introduction and Security Principles
Slides / Recording / Ch. 1
No discussion HW1
(due Sunday 09/01)
2Mon
Aug 28
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 Sunday 09/15)
Wed
Aug 30
3. Memory Safety Vulnerabilities
Slides / Recording / Ch. 3
3Mon
Sep 04

No Lecture (Labor Day)

2. Memory Safety
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Sep 06
4. Memory Safety Vulnerabilities II
Slides / Recording / Ch. 3
HW2
(due Sunday 09/22)
4Mon
Sep 11
5. Mitigating Memory Safety Vulnerabilities
Slides / Recording / Ch. 4
3. Memory Safety Mitigations
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Sep 13
6. Intro to Cryptography
Slides / Recording / Ch. 5
5Mon
Sep 18
7. One-Time Pads and Block Ciphers
Slides / Recording / Ch. 6
4. Symmetric Cryptography
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Sep 20
8. Block Cipher Modes of Operation
Slides / Recording / Ch. 6
HW3
(due Sunday 09/29)
Project 1
(due Sunday 09/29)
6Mon
Sep 25
9. Cryptographic Hashes and MACs
Slides / Recording / Ch. 7 / Ch. 8
5. Integrity and Authenticity
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Sep 27
10. PRNGs and Diffie-Hellman Key Exchange
Slides / Recording / Ch. 9 / Ch. 10
7Mon
Oct 02
11. Public-Key Encryption and Digital Signatures
Slides / Recording / Ch. 11 / Ch. 12
6. Asymmetric Cryptography / Midterm Review
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Oct 04
12. Certificates, Passwords, and Case Studies
Slides / Recording / Ch. 13 / Ch. 14
HW4
(due Sunday 10/13)
Project 2 Design
(due Sunday 10/20)
Fri
Oct 06

Midterm (7–9pm PT)

8Mon
Oct 09
13. Intro to Web
Slides / Recording / Ch. 18 / Ch. 19
7. Cookies and CSRF
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Oct 11
14. Cookies and CSRF
Slides / Recording / Ch. 20 / Ch. 21
9Mon
Oct 16
15. XSS and UI Attacks
Slides / Recording / Ch. 22 / Ch. 23
8. No Discussion HW5
(due Sunday 10/27)
Wed
Oct 18
16. SQL Injection and CAPTCHAs
Slides / Recording / Ch. 17 / Ch. 24
10Mon
Oct 23
17. Intro to Networking
Slides / Recording / Ch. 25
9. SQL Injection and XSS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Project 2
(due Sunday 11/03)
Wed
Oct 25
18. Low-Level Network Attacks
Slides / Recording / Ch. 26 / Ch. 27 / Ch. 28
11Mon
Oct 30
19. Transport Layer: TCP and UDP
Slides / Recording / Ch. 29 / Ch. 30
10. ARP, DHCP, WPA, TCP
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW6
(due Sunday 11/10)
Wed
Nov 01
20. TLS
Slides / Recording / Ch. 31
12Mon
Nov 06
21. DNS
Slides / Recording / Ch. 32
11. TCP and TLS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Project 3
(due Sunday 11/17)
Wed
Nov 08
22. DNSSEC
Slides / Recording / Ch. 33
13Mon
Nov 13
23. Denial of Service and Firewalls
Slides / Recording / Ch. 34 / Ch. 35
12. DNS
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
HW7
(due Sunday 12/01)
Wed
Nov 15
24. Intrusion Detection
Slides / Recording / Ch. 36
14Mon
Nov 20
25. Malware and Hardware Vulnerabilities
Slides / Recording / Ch. 38
13. Intrusion Detection
Worksheet / Solutions / Video
Exam Prep / Solutions / Video
Wed
Nov 22

No Lecture (Thanksgiving)

15Mon
Nov 27
26. Tor
Slides / Recording / Ch. 39
14. Tor and Firewalls
Worksheet / Solutions / Video
Wed
Nov 29
27. Bitcoin
Slides / Recording / Ch. 16
16Mon
Dec 04

RRR Week

15. Final Review
Wed
Dec 06

RRR Week

17Fri
Dec 15

Final Exam (3–6pm PT)