CS 161: Computer Security

Announcements:

  • Homework 3 is due Friday, February 26, 11:59 PM PT.
  • Project 2 is released. The design doc draft is due Friday, March 12, 11:59 PM PT.
  • Optional Lab 1 is due Friday, March 19, 11:59 PM PT.

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

Web notes, section 5

Squigler demo

Tue
03/02
Intro to Web + Cookies

Web notes, section 1-3, 7

Midterm Review HW4
Thu
03/04
CSRF + Stored XSS

Web notes, section 6, 8

OWASP page on CSRF

OWASP page on XSS

Fri
03/05

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

Tue
03/09
Reflected XSS + UI Attacks

Web notes, section 6

XSS Prevention Cheat Sheet

Content Security Policy

Web Security I
Thu
03/11
Captchas + Networking Background

Networking notes, section 1

Fri
03/12

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

Tue
03/16
Low-Level Network Attacks

Networking notes, sections 2-4

Web Security II
Thu
03/18
DNS

Networking notes, sections 8-9

Fri
03/19

Optional Lab 1 due (11:59pm PT)

Fri
03/19

Optional Lab 2 released

Tue
03/23
Spring Break (No Lecture) Spring Break (No discussion) HW5
Thu
03/25
Spring Break (No Lecture)
Tue
03/30
IP + TCP + TLS

Networking notes, sections 5-7

Web Security III
Thu
04/01
TLS (continued) + Denial of Service

Networking notes, section 7

Tue
04/06
DNSSEC

Networking notes, section 10

Network Security I HW6
Thu
04/08
Intrusion Detection
Fri
04/09

Project 2 due (11:59pm PT)

Mon
04/12

Project 3 released

Network Security II
Tue
04/13
Abusing Intrusion Detection
Thu
04/15
Network Censorship + Malware
Tue
04/20
Malcode Network Security III HW7
Thu
04/22
Special Topics - Boeing 737-MAX + Quantum
Tue
04/27
Special Topics - Nukes + Tor + Side channels Special Topics
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)