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

Calendar

Skip to current week

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

No Lecture (Labor Day)

2. Memory Safety
Worksheet 2 / Solutions 2 / Video 2
Exam Prep 2 / EP Solutions 2 / EP Video 2
Wed
Sep 06
4. Memory Safety Vulnerabilities II
Slides 4 / Recording 4 / Ch. 3
HW2
(due Sunday 09/22)
4Mon
Sep 11
5. Mitigating Memory Safety Vulnerabilities
Slides 5 / Recording 5 / Ch. 4
3. Memory Safety Mitigations
Worksheet 3 / Solutions 3 / Video 3
Exam Prep 3 / EP Solutions 3 / EP Video 3
Wed
Sep 13
6. Intro to Cryptography
Slides 6 / Recording 6 / Ch. 5
5Mon
Sep 18
7. One-Time Pads and Block Ciphers
Slides 7 / Recording 7 / Ch. 6
4. Symmetric Cryptography
Worksheet 4 / Solutions 4 / Video 4
Exam Prep 4 / EP Solutions 4 / EP Video 4
Wed
Sep 20
8. Block Cipher Modes of Operation
Slides 8 / Recording 8 / Ch. 6
HW3
(due Sunday 09/29)
Project 1
(due Sunday 09/29)
6Mon
Sep 25
9. Cryptographic Hashes and MACs
Slides 9 / Recording 9 / Ch. 7 / Ch. 8
5. Integrity and Authenticity
Worksheet 5 / Solutions 5 / Video 5
Exam Prep 5 / EP Solutions 5 / EP Video 5
Wed
Sep 27
10. PRNGs and Diffie-Hellman Key Exchange
Slides 10 / Recording 10 / Ch. 9 / Ch. 10
7Mon
Oct 02
11. Public-Key Encryption and Digital Signatures
Slides 11 / Recording 11 / Ch. 11 / Ch. 12
6. Asymmetric Cryptography / Midterm Review
Worksheet 6 / Solutions 6 / Video 6
Exam Prep 6 / EP Solutions 6 / EP Video 6
Wed
Oct 04
12. Certificates, Passwords, and Case Studies
Slides 12 / Recording 12 / 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 13 / Recording 13 / Ch. 18 / Ch. 19
7. Cookies and CSRF
Worksheet 7 / Solutions 7 / Video 7
Exam Prep 7 / EP Solutions 7 / EP Video 7
Wed
Oct 11
14. Cookies and CSRF
Slides 14 / Recording 14 / Ch. 20 / Ch. 21
9Mon
Oct 16
15. XSS and UI Attacks
Slides 15 / Recording 15 / Ch. 22 / Ch. 23
8. No Discussion HW5
(due Sunday 10/27)
Wed
Oct 18
16. SQL Injection and CAPTCHAs
Slides 16 / Recording 16 / Ch. 17 / Ch. 24
10Mon
Oct 23
17. Intro to Networking
Slides 17 / Recording 17 / Ch. 25
9. SQL Injection and XSS
Worksheet 9 / Solutions 9 / Video 9
Exam Prep 9 / EP Solutions 9 / EP Video 9
Project 2
(due Sunday 11/03)
Wed
Oct 25
18. Low-Level Network Attacks
Slides 18 / Recording 18 / Ch. 26 / Ch. 27 / Ch. 28
11Mon
Oct 30
19. Transport Layer: TCP and UDP
Slides 19 / Recording 19 / Ch. 29 / Ch. 30
10. ARP, DHCP, WPA, TCP
Worksheet 10 / Solutions 10 / Video 10
Exam Prep 10 / EP Solutions 10 / EP Video 10
HW6
(due Sunday 11/10)
Wed
Nov 01
20. TLS
Slides 20 / Recording 20 / Ch. 31
12Mon
Nov 06
21. DNS
Slides 21 / Recording 21 / Ch. 32
11. TCP and TLS
Worksheet 11 / Solutions 11 / Video 11
Exam Prep 11 / EP Solutions 11 / EP Video 11
Project 3
(due Sunday 11/17)
Wed
Nov 08
22. DNSSEC
Slides 22 / Recording 22 / Ch. 33
13Mon
Nov 13
23. Denial of Service and Firewalls
Slides 23 / Recording 23 / Ch. 34 / Ch. 35
12. DNS
Worksheet 12 / Solutions 12 / Video 12
Exam Prep 12 / EP Solutions 12 / EP Video 12
HW7
(due Sunday 12/01)
Wed
Nov 15
24. Intrusion Detection
Slides 24 / Recording 24 / Ch. 36
14Mon
Nov 20
25. Malware and Hardware Vulnerabilities
Slides 25 / Recording 25 / Ch. 38
13. Intrusion Detection
Worksheet 13 / Solutions 13 / Video 13
Exam Prep 13 / EP Solutions 13 / EP Video 13
Wed
Nov 22

No Lecture (Thanksgiving)

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

RRR Week

15. Final Review
Wed
Dec 06

RRR Week

17Fri
Dec 15

Final Exam (3–6pm PT)