CS 161: Computer Security

Announcements

  • Homework 2 is released on Gradescope and is due Friday, July 1st, 11:59 PM PT.
  • Project 1 is released on the website.
    • The checkpoint, Q1-4, is due Friday, July 1st, 11:59 PM PT.
    • The full project, including the write-up is due Friday, July 8th, 11:59 PM PT.
    • There will be a Project 1 Party in Soda 500 on Thursday, June 30 from 3:00 to 5:30 PM PT.

Instructors: Fuzail Shakir and Peyrin Kao

Lecture: Monday–Thursday, 12:30 PM–2:00 PM PT, Physics Building 4 + Online

Skip to current week

Date Lecture Topic Discussion HW Project
Mon
06/20
No lecture (Juneteenth)No discussion HW1
Tue
06/21
  1. Slides
    Recording

Introduction

1. Security Principles

Project 1 Checkpoint

Wed
06/22
  1. Slides
    Recording

2. x86 Assembly and Call Stack

61C Review, Security Principles
(solutions)

(recording)
Thu
06/23
  1. Slides
    Recording

3. Memory Safety Vulnerabilities

Mon
06/27
  1. Slides
    Recording

4. Mitigating Memory Safety Vulnerabilities

Memory Safety
(solutions)

(recording)
HW2
Tue
06/28
  1. Slides
    Recording

5. Introduction to Cryptography

Wed
06/29
  1. Slides
    Recording

6. Symmetric-Key Cryptography

Memory Safety Mitigations
(solutions)
Thu
06/30
  1. Slides

7. Cryptographic Hashes

8. Message Authentication Codes (MACs)

Mon
07/04
No lecture (4th of July)Symmetric Key Cryptography HW3

Project 1

Tue
07/05

9. Pseudorandom Number Generators (PRNGs)

10. Diffie-Hellman Key Exchange

Wed
07/06

11. Public-Key Encryption

12. Digital Signatures

Assymetric Key Cryptography
Thu
07/07

13. Certificates

14. Passwords

Mon
07/11

16. Bitcoin

Signatures, Certificates, and Passwords HW4

Project 2 Design

Tue
07/12

Midterm (5:00–7:00 PM PT)

Tue
07/12

18. Introduction to Web

19. Same-Origin Policy

Wed
07/13

20. Cookies and Session Management

21. Cross-Site Request Forgery (CSRF)

Cookies and CSRF
Thu
07/14

22. Cross-Site Scripting (XSS)

23. UI Attacks

Mon
07/18

17. SQL Injection

SQL Injection and XSS HW5
Tue
07/19

25. Introduction to Networking

Wed
07/20

26. ARP

28. DHCP

27. WPA

UI Based Attacks and Privacy
Thu
07/21

29. BGP

30. TCP and UDP

Mon
07/25

31. TLS

TLS and TCP HW6

Project 2

Tue
07/26

32. DNS

Wed
07/27

33. DNSSEC

DNS
Thu
07/28

34. Denial-of-Service (DoS) Attacks

35. Firewalls

Mon
08/01

36. Intrusion Detection

Intrusion Detection HW7
Tue
08/02

38. Malware

Wed
08/03

39. Anonymity and Tor

Final Review
Thu
08/04

Optional Special Topics

Project 3

Mon
08/08

Optional Special Topics

Tue
08/09

Optional Special Topics

Wed
08/10
No lecture (RRR week)
Thu
08/11

Final Exam (5:00–8:00 PM PT)

Thu
08/11
No lecture (RRR week)