CS 161: Computer Security

Announcements:

  • Homework 5 is due Friday, April 9, 11:59 PM PT.
  • Project 2 is due Friday, April 16, 11:59 PM PT (extended from April 9).

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
(Youtube, Kaltura)
No discussion HW1
Thu
01/21
Security Principles
(Youtube, Kaltura)
Mon
01/25

Project 1 released

61C Review, Security Principles
(solutions)

(Youtube, Kaltura)
Tue
01/26
Buffer Overflows
(Youtube, Kaltura)
Thu
01/28
Buffer Overflow Defenses
(Youtube, Kaltura)
Mon
02/01

Optional Lab 1 released

Memory Safety
(solutions)

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

(Youtube, Kaltura)
Exam Prep

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

(Youtube, Kaltura)
HW3
Thu
02/18
Password Hashing + Blockchain
(Youtube, Kaltura)
Fri
02/19

Project 1 due (11:59pm PT)

Mon
02/22

Project 2 released

Public Key Cryptography
(solutions)

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

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

Tue
03/09
XSS (continued) + UI Attacks
(Youtube, Kaltura)

Web notes, section 6

XSS Prevention Cheat Sheet

Content Security Policy

SQL Injection and Cookies
(solutions)

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

Networking notes, sections 2-4

CSRF and XSS
(solutions)

(Youtube, Kaltura)
Thu
03/18
Layer 3 (IP) + BGP + DNS
(Youtube, Kaltura)
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
(Youtube, Kaltura)
UI Based Attacks and Privacy
(solutions)

(Youtube, Kaltura)
HW5
Thu
04/01
TLS (continued) + Denial of Service
(Youtube, Kaltura)
Mon
04/05

Optional Lab 2 released

TLS and TCP
(solutions)

(Youtube, Kaltura)
Tue
04/06
DNSSEC
(Youtube, Kaltura)
Thu
04/08
Intrusion Detection
(Youtube, Kaltura)
Mon
04/12

Project 3 released

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

Project 2 due (11:59pm PT)

Tue
04/20
Malcode Network Security III
Thu
04/22
Special Topics - Boeing 737-MAX + Quantum
Tue
04/27
Special Topics - Nukes + Tor + Side channels Special Topics HW7
Thu
04/29
Personal Security + Ask Nick Anything
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)