CS 161: Computer Security

Announcements:

  • Final grades are posted. Thanks for a great semester!

Instructor: Nicholas Weaver

Lecture: Tu/Th, 6:30pm-8:00pm PT

Show/hide optional textbook readings

Skip to current week

Date Lecture Readings Discussion HW
Tue
01/19
Introduction
(recording)
No discussion HW1
Thu
01/21
Security Principles
(recording)
Mon
01/25

Project 1 released

61C Review, Security Principles
(solutions)

(recording)
Tue
01/26
Buffer Overflows
(recording)
Thu
01/28
Buffer Overflow Defenses
(recording)
Mon
02/01

Optional Lab 1 released

Memory Safety
(solutions)

(recording)
HW2
Tue
02/02
IND-CPA + One-Time Pads + Block Ciphers + Symmetric Key Encryption
(recording)
Thu
02/04
Symmetric Key Encryption (cont.) + Hashing + Integrity (MACs) + Pseudorandom Generators
(recording)
Tue
02/09
Pseudorandom Generators (cont.) + Public Key Exchange
(recording)
Symmetric-Key Cryptography
(solutions)

(recording)
Exam Prep

(solutions)
Thu
02/11
Public Key Encryption + Digital Signatures
(recording)
Tue
02/16
Certificates
(recording)
Asymmetric Cryptography
(solutions)

(recording)
HW3
Thu
02/18
Password Hashing + Blockchain
(recording)
Fri
02/19

Project 1 due (11:59pm PT)

Mon
02/22

Project 2 released

Public Key Cryptography
(solutions)

(recording)
Tue
02/23
Signal + Tor
(recording)
Thu
02/25
Command Injection + SQL Injection
(recording)
Tue
03/02
Intro to Web + Cookies
(recording)
Midterm Review HW4
Thu
03/04
Cross-Site Request Forgery (CSRF) + Cross-Site Scripting (XSS)
(recording)
Fri
03/05

Midterm (5:00pm-7:00pm PT)

Tue
03/09
XSS (continued) + UI Attacks
(recording)

Web notes, section 6

XSS Prevention Cheat Sheet

Content Security Policy

SQL Injection and Cookies
(solutions)

(recording)
Thu
03/11
Captchas + Networking Background
(recording)
Tue
03/16
Low-Level Network Attacks
(recording)

Networking notes, sections 2-4

CSRF and XSS
(solutions)

(recording)
Thu
03/18
Layer 3 (IP) + BGP + DNS
(recording)
Fri
03/19

Optional Lab 1 due (11:59pm PT)

Fri
03/19

Project 2 design doc draft due (11:59pm PT)

Tue
03/23
Spring Break (No Lecture) Spring Break (No discussion)
Thu
03/25
Spring Break (No Lecture)
Tue
03/30
TCP + TLS
(recording)
UI Based Attacks and Privacy
(solutions)

(recording)
HW5
Thu
04/01
TLS (continued) + Denial of Service
(recording)
Mon
04/05

Optional Lab 2 released

TLS and TCP
(solutions)

(recording)
Tue
04/06
DNSSEC
(recording)
Thu
04/08
Intrusion Detection
(recording)
Mon
04/12

Project 3 released

DNS
(solutions)

(recording)
HW6
Tue
04/13
Abusing Intrusion Detection
(recording)
Thu
04/15
Network Censorship + Malware
(recording)
Fri
04/16

Project 2 due (11:59pm PT)

Tue
04/20
Malcode + Special Topics - Boeing 737-MAX
(recording)
Intrusion Detection
(solutions)

(recording)
Thu
04/22
Special Topics - Quantum + Nukes + Side channels
(recording)
Tue
04/27
Special Topics - Personal Security
(recording)
Web Security and Special Topics
(solutions)
HW7
Thu
04/29
Project 2 Walkthrough + Ask Nick Anything
(recording)
Fri
04/30

Project 3 due (11:59pm PT)

Tue
05/04
RRR Week Final Review
Thu
05/06
RRR Week
Fri
05/07

Optional Lab 2 due (11:59pm PT)

Fri
05/14

Final exam (11:30am-2:30pm PT)