CS 161: Computer Security

Announcements

  • Lecture will be held online-only on Wednesday, 6:30-8pm.
  • All TA-held discussions and office hours are canceled this week.
  • There will be limited instructor-only, online office hours. These are not meant to replace normal TA office hours, so use your best judgment to make sure we aren’t covering TA work during the strike.
    • Tuesday 6:30-8pm
    • Wednesday 5-6:30pm
    • Thursday 6:30-8pm
  • Project 2 will not be due this Friday. We don’t have a confirmed due date yet, as it depends on how long the strike lasts, but the due date will be no earlier than Monday, November 21.
  • Homework 6 is still due Tuesday, November 22 for now. If the strike continues, we’ll reassess.
  • Homework 7 and Project 3 may be postponed, shortened, or cancelled depending on how long the strike lasts; I’ll keep you posted in future updates as we learn more.
  • The final exam is still planned to happen at the original time. Scope may be adjusted depending on how long the strike lasts.

Instructor: Peyrin Kao

Lecture:

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

Skip to current week

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

(recording)
Wed
08/31
3. Memory Safety Vulnerabilities

Project 1 Checkpoint

Mon
09/05
Labor DayMemory Safety
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
Wed
09/07
4. Mitigating Memory Safety Vulnerabilities
Mon
09/12
5. Intro to CryptographyMemory Safety Mitigations
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
HW2
Wed
09/14
6. Block Ciphers and Modes of Operation
Mon
09/19
7. Cryptographic Hashes and MACsSymmetric-Key Cryptography
(solutions)

(recording)
Exam Prep

(solutions)

(recording)

Project 1

Wed
09/21
8. PRNGs and Diffie-Hellman Key Exchange
Mon
09/26
9. Public-Key Encryption and Digital SignaturesIntegrity, Authenticity, and Diffie Hellman
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
HW3
Wed
09/28
10. Certificates, Passwords, and Case Studies
Mon
10/03
11. BitcoinPublic Key Cryptography, Certificates, and Passwords
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
Wed
10/05
12. Intro to Web
Fri
10/07
Midterm
Mon
10/10
13. Cookies and CSRFNo discussion HW4

Project 2 Design

Wed
10/12
14. XSS and UI Attacks
Mon
10/17
15. SQL Injection and CAPTCHAsCookies and CSRF
(solutions)

(recording)
Exam Prep

(solutions)

(recording)
Wed
10/19
16. Intro to Networking
Mon
10/24
17. Low-Level Network AttacksSQL Injection and XSS
(solutions)

Exam Prep

(solutions)
HW5
Wed
10/26
18. Transport Layer (TCP and UDP)
Mon
10/31
19. TLSDHCP, ARP, and WPA
(solutions)

Exam Prep

(solutions)

Project 2

Wed
11/02
20. DNS
Mon
11/07
21. DNSSECTLS and TCP
(solutions)

Exam Prep

(solutions)
HW6
Wed
11/09
22. Denial of Service and Firewalls
Mon
11/14
23. Intrusion DetectionDNS
(solutions)

Exam Prep

(solutions)

Project 3

Wed
11/16
24. Malware
Mon
11/21
25. TorNo discussion HW7
Wed
11/23
Thanksgiving
Mon
11/28
26. Review Session (Web)Intrusion Detection, Malware, and Tor
Wed
11/30
27. Review Session (Cryptography and DNSSEC)
Mon
12/05
RRR week
Wed
12/07
RRR week
Fri
12/16
Final Exam