Midterm Cheatsheet for CS 161 Fall 2024 | Computer Security
Author: SimonXie2004.github.io
Resources
Download Cheatsheet (handwritten pdf)
Contents
- Memory Safety
- Simple Topics
- x86 ASM & Calling Convention
- Buffer-Overflow Attack
- Integer-Overflow Attack
- Format String Vulnerability
- Off-by-One Attack
- VTable Overflow
- Advanced Topics
- Ret-to-libc Attack
- ROP Attack
- Ret-to-Ret Attack
- Ret-to-Pop Attack
- Ret-to-eax Attack
- Ret-to-
jmp
Attack
- Mitigations
- Stack Canaries
- ALSR (Address Layout Randomize)
- PAC (Pointer Authentication Code)
- DEP (Non Executable Pages)
- Simple Topics
- Cryptography
- Confidentiality/Integrity/Authenticity
- Correctness/Efficiency/Security
- Symmetric Key Encryption / MAC
- AES (AES-ECB, AES-CBC, AES-CTR, AES-CFB), Stream-Cipher
- Hash Function, NMAC, HMAC, HMAC-DRBG
- Asymmetric Key Encryption / Digital Sign
- Diffle-Hellman Key Exchange
- ElGamal Encryption
- RSA Encryption / Signatures
- MISC
- PRNGs (Pseudo Random Generators)
- Trust Anchor / CA
- Password Storing