CS 161: Computer Security

Announcements

  • Project 1 has been released.
    • The checkpoint (Q1–Q4, no write-up) are due Friday, February 10th at 11:59 PM PT.
    • The full project (Q1–Q7, plus write-up) are due Friday, February 24th at 11:59 PM PT.
    • All logistical information can be found at #26.
  • Homework 2 has been released on Gradescope and will be due Friday, February 17th at 11:59 PM PT. Please ask all homework 2 related questions in #118.
  • As a reminder: You can request an extension for any assignment by filling out this form.
    • We’ll try to approve all extensions within reason. If we find that you might be falling behind, we may reach out to make sure you’re staying on track with the course.

Instructors: Raluca Ada Popa and Peyrin Kao

Lecture:

M/W, 5:00–6:30 PM PT in Dwinelle 155

Skip to current week

Date Lecture Discussion HW Project
Wed
01/18
1. Introduction and Security PrinciplesNo discussion HW1
Mon
01/23
2. x86 Assembly and Call Stack61C Review, Security Principles
(solutions)

(recording)
Wed
01/25
3. Memory Safety Vulnerabilities

Project 1 Checkpoint

Mon
01/30
4. Memory Safety Vulnerabilities IIMemory Safety
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
Wed
02/01
5. Mitigating Memory Safety Vulnerabilities
Mon
02/06
6. Intro to CryptographyMemory Safety Mitigations
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
HW2
Wed
02/08
7. One-Time Pad & Block Ciphers
Mon
02/13
8. Block Cipher Chaining Modes (continued) & Cryptographic HashesSymmetric-Key Cryptography
(solutions)

(recording)
Exam Prep

(solutions)

(recording)

Project 1

Wed
02/15
9. PRNGs and Diffie-Hellman Key Exchange
Mon
02/20
Presidents' Day (no lecture)Integrity, Authenticity, and Diffie-Hellman
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
HW3
Wed
02/22
10. Diffie-Hellman Key Exchange and Public-Key Encryption
Mon
02/27
11. Digital Signatures, Certificates and Password HashingPublic-Key Cryptography
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
Wed
03/01
12. Bitcoin
Mon
03/06
13. Intro to WebCertificates and Passwords
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
HW4
Wed
03/08
14. Cookies and CSRF

Project 2 Design

Mon
03/13
Midterm (7–9pm PT)Cookies and CSRF
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
Wed
03/15
15. SQL Injection and CAPTCHAs
Mon
03/20
16. XSS and UI AttacksSQL Injection and XSS
Exam Prep

(recording)
HW5
Wed
03/22
17. Intro to Networking
Mon
03/27
Spring BreakNo discussion
Wed
03/29
Spring Break

Project 2

Mon
04/03
18. Low-Level Network AttacksDHCP, ARP, and WPA HW6
Wed
04/05
19. Transport Layer (TCP and UDP)
Mon
04/10
20. TLSTLS and TCP
Wed
04/12
21. DNS

Project 3

Mon
04/17
22. DNSSECDNS and DNSSEC HW7
Wed
04/19
23. Denial of Service and Firewalls
Mon
04/24
24. Intrusion DetectionIntrusion Detection, Malware, and Tor
Wed
04/26
25. Tor
Mon
05/01
RRR week
Wed
05/03
RRR week
Fri
05/12
Final Exam (3–6pm PT)