Forensics
My notes on digital forensics and incident response, from how a disk stores data through evidence acquisition, disk and file-system analysis, Windows, Linux and macOS artifacts, memory, network, timelines and reporting. Each lesson pairs the theory with a tool demo and a lab you can run yourself.
Everything here is for learning, CTFs and investigations on systems you are authorized to examine. Work on images and copies, and keep the chain of custody.
Forensics · Intro to Forensics
| # | Lesson |
|---|---|
| 0.1 | What Digital Forensics Is |
| 0.2 | Law, Ethics and Chain of Custody |
| 0.3 | Building a Forensics Lab |
| 0.4 | The Standard Investigation Process |
Forensics · Storage Foundations
Forensics · Evidence Acquisition
| # | Lesson |
|---|---|
| 2.1 | Order of volatility, live and dead acquisition |
| 2.2 | Creating a forensic disk image |
| 2.3 | Acquiring RAM on Windows and Linux |
| 2.4 | Fast triage at the scene |
Forensics · Disk Forensics
| # | Lesson |
|---|---|
| 3.1 | The Sleuth Kit and Autopsy |
| 3.2 | File carving when metadata is gone |
| 3.3 | Recovering deleted files on NTFS and FAT |
| 3.4 | Analyzing hidden data |
Forensics · Windows Forensics
Forensics · Linux and macOS
| # | Lesson |
|---|---|
| 5.1 | Linux artifacts after an SSH brute force |
| 5.2 | macOS artifacts behind a suspicious auto-start app |
Forensics · Memory Forensics
Forensics · Network Forensics
| # | Lesson |
|---|---|
| 7.1 | Reading pcap with Wireshark, filters, and object export |
| 7.2 | Traffic analysis with Zeek and NetworkMiner |
| 7.3 | Detecting C2, DNS tunneling, and exfiltration |
Forensics · Browser, Email, Mobile
| # | Lesson |
|---|---|
| 8.1 | Browser forensics and reconstructing web activity |
| 8.2 | Email forensics and tracing the sender |
| 8.3 | Mobile forensics with Android and iOS backups |
Forensics · Timeline and IR
| # | Lesson |
|---|---|
| 9.1 | Super Timelines with plaso and Timesketch |
| 9.2 | Reconstructing the Attack Chain with MITRE ATT&CK |
| 9.3 | IOCs and YARA for Bulk Artifact Scanning |
Forensics · Anti-Forensics
| # | Lesson |
|---|---|
| 10.1 | Timestomp, Wiping and Log Clearing Detection |
| 10.2 | Full Disk Encryption and Investigation Strategy |