Note: This site is under construction. All dates and policies are tentative until this message goes away.

CS 161: Computer Security

Announcements:

  • None for now!

Instructors: Peyrin Kao and Nicholas Ngai

Lecture: MTWTh, 3:30 PM–5:00 PM PT

Skip to current week

Date Lecture Readings Discussion HW
Mon
06/21

Project 1 released

No discussion HW1
Mon
06/21
Introduction and Security Principles

1. Principles for Building Secure Systems

2. Design Patterns for Building Secure Systems

Tue
06/22
x86 Assembly and Call Stack

3. x86 Assembly and Call Stack

Wed
06/23
Memory Safety Vulnerabilities

4. Memory Safety Vulnerabilities

61C Review, Security Principles
Thu
06/24
Mitigating Memory Safety Vulnerabilities

5. Mitigating Memory Safety Vulnerabilities

Mon
06/28
Introduction to Cryptography

Introduction to Cryptography

6. Cryptographic Definitions

7. Symmetric-Key Cryptography

Memory Safety HW2
Tue
06/29

Optional Lab 1 released

Tue
06/29
Block Ciphers and Modes of Operation

7. Symmetric-Key Cryptography

Wed
06/30
Cryptographic Hashes and MACs

8. Cryptographic Hash Functions

9. Message Authentication Codes (MACs)

Symmetric-Key Cryptography
Thu
07/01
PRNGs and Diffie-Hellman Key Exchange

10. Pseudorandom Number Generators (PRNGs)

11. Diffie-Hellman Key Exchange

Mon
07/05
Holiday (No Lecture) Asymmetric Cryptography HW3
Tue
07/06

Project 1 due

Tue
07/06
Public-Key Encryption and Digital Signatures

12. Asymmetric Cryptography

13. Digital Signatures

Wed
07/07
Certificates, Passwords, and Case Studies

14. Key Management

15. Passwords

Public Key Cryptography
Thu
07/08
Bitcoin

16. Bitcoin

Mon
07/12
Signal

TBD

Midterm Review HW4
Tue
07/13

Midterm

Tue
07/13
Midterm (No Lecture)
Wed
07/14

Project 2 released

SQL Injection and Cookies
Wed
07/14
Introduction to Web

17. Introduction to Web

18. HTTP

19. Elements of a Webpage

20. Same-Origin Policy

Thu
07/15
Cookies and CSRF

23. Cookies and Session Management

24. Cross-Site Request Forgery (CSRF)

Mon
07/19
XSS and UI Attacks

22. Cross-Site Scripting (XSS)

25. UI Attacks

CSRF and XSS HW5
Tue
07/20

Optional Lab 1 due

Tue
07/20

Optional Lab 2 released

Tue
07/20

Project 2 design doc draft due

Tue
07/20
SQL Injection and CAPTCHAs

21. SQL Injection

26. CAPTCHAs

Wed
07/21
Introduction to Networking

27. Networking Background

UI Based Attacks and Privacy
Thu
07/22
Low-Level Network Attacks

28. ARP

29. WPA

30. DHCP

Mon
07/26
IP, BGP, and TCP

31. BGP

32. TCP and UDP

TLS and TCP HW6
Tue
07/27

Project 2 due

Tue
07/27
TLS

33. TLS

Wed
07/28

Project 3 released

DNS
Wed
07/28
DNS

34. DNS

Thu
07/29
DNSSEC

35. DNSSEC

Mon
08/02
Denial of Service and Firewalls

TBD

Intrusion Detection HW7
Tue
08/03
Intrusion Detection

36. Intrusion Detection

Wed
08/04
Malware and Malcode

TBD

Web Security and Special Topics
Thu
08/05
Tor

TBD

Mon
08/09
(Optional) Special Topics Final Review
Tue
08/10

Project 3 due

Tue
08/10

Optional Lab 2 due 11:59pm PT

Tue
08/10
(Optional) Special Topics
Wed
08/11
(Optional) Special Topics
Thu
08/12

Final exam

Thu
08/12
Final Exam (No Lecture)