Jump to: 🔥 Challenge News ⚡ Intel 🔬 Research Labs 📡 All News →

DFIR Bootcamp

Digital Forensics & Incident Response — from evidence handling fundamentals to advanced memory forensics, cloud IR, and malware triage. Global curriculum, entirely free tools.

6
Phases
18
Modules
270
Days
100%
Free Tools
Phase 1 · Foundations
Evidence Handling, File Systems & Forensic Methodology
DFIR is built on methodology. Do it wrong and evidence is inadmissible, destroyed, or misleading. This phase establishes the scientific rigour that separates professional forensics from guesswork — before touching a single tool.
📅 30 days 🎯 Zero prior experience 🛠 FTK Imager · Autopsy · CyberChef · HashCalc
MOD 01 Forensic Methodology — The Science Before the Tools Days 1-7
Tutor Explanation

Digital forensics is a scientific discipline. Every action you take on evidence must be documented, justified, and reproducible. If you cannot explain exactly what you did, in what order, and why — your findings may be challenged or rejected entirely. Courts, HR investigations, and regulatory bodies all require that evidence collection follows a documented, defensible process.

The cardinal rule is never work on original evidence. Every time you open a file on a live system, the operating system modifies timestamps, writes to cache, and potentially overwrites deleted data that could have been recovered. You must acquire a forensic image first, verify its integrity, and work exclusively on the image.

The Locard Exchange Principle — Applied to Digital Forensics
Edmund Locard's principle states that every contact leaves a trace. Digitally: every action an attacker takes leaves traces — in logs, registry, file system metadata, memory, and network traffic. Your job is to find and interpret those traces. But equally, every action YOU take as an investigator also leaves traces. Writing a file to the suspect drive, even accidentally, changes the evidence. This is why forensic methodology is non-negotiable.
The Forensic Process — Six Mandatory Phases
1. Identification: What systems are in scope? What data might be relevant? What is the legal authority for the investigation (warrant, employment agreement, incident scope)? Document all of this before touching anything.

2. Preservation: Prevent evidence from changing. For volatile data (RAM, running processes, network connections) — capture it immediately because it will disappear when the system powers off. For non-volatile data (disk) — image it before any other action.

3. Collection: Acquire the evidence according to the order of volatility. RAM first (most volatile), then running processes and network state, then disk. Hash everything at acquisition and verify the hash after acquisition.

4. Examination: Process the evidence using validated forensic tools. Document every tool, every version, every command run. The output of your examination is the raw data from which you draw conclusions.

5. Analysis: Interpret the examination findings. Connect events across different evidence sources to reconstruct the timeline. Answer the investigative questions: What happened? When? Who did it? How?

6. Reporting: Write findings in a format appropriate to the audience — technical appendix for IR teams, executive summary for management, court-ready report for legal proceedings.
Forensic imaging is like making a perfect photocopy of a document before anyone is allowed to read it — so if anyone spills coffee on the copy, the original is untouched. The MD5/SHA256 hash is the timestamp on the notarised copy proving it has not changed since the moment you made it.
Never acquire evidence from a live system without documenting that you are doing so and why. Running acquisition tools on a live system writes to disk, changes timestamps, and potentially alerts malware. If the system must stay running, document what was running and what you touched, and justify every action.
Order of Volatility — What to Capture First
RFC 3227 Standard Order
1. CPU registers and cache — gone when process stops
2. Routing table, ARP cache, process table, kernel statistics — changes every second
3. Memory (RAM) — gone when power off
4. Temporary file systems (/tmp, Windows %TEMP%)
5. Disk — persistent but can be overwritten
6. Remote logging and monitoring data
7. Physical configuration and network topology
8. Archival media (backups, tape)
Hands-On Lab
Lab 1.1 — Forensic Image Acquisition and Verification
1Download FTK Imager (free from Exterro). This is the industry-standard acquisition tool. Install it on a Windows machine.
2In FTK Imager: File → Create Disk Image. Select "Logical Drive" for a quick exercise. Select your C: drive. Choose E01 format (Expert Witness Format — the forensic standard, includes compression and embedded hashes).
3Note the MD5 and SHA1 hashes that FTK Imager calculates during acquisition. These are your evidence integrity hashes. Document them in a chain of custody form.
4After acquisition, use FTK Imager to verify the image: File → Verify Drive/Image. It recalculates the hash and compares. If they match, the image is forensically sound.
5Alternative for Linux: use dd with hash verification:
dd if=/dev/sdb bs=512 conv=noerror,sync | tee disk.img | sha256sum > disk.img.sha256
sha256sum -c disk.img.sha256
6Write a one-page chain of custody document for this acquisition. Include: investigator name, date/time, system details, acquisition method, tool version, hash values, and signature.
Daily Tasks — Week 1
Read RFC 3227 (Guidelines for Evidence Collection and Archiving). It is 8 pages. Write a one-paragraph summary of each section in your own words.
Easy
Install FTK Imager. Acquire a logical image of a USB drive or a folder. Verify the hash. Document the process.
Easy
Write a Chain of Custody template you will use for every investigation. Fields: case number, investigator, date acquired, system details, evidence description, acquisition tool and version, hash values, notes.
Medium
Scenario: You arrive at an office where an employee is suspected of data theft. The suspect's laptop is still powered on and logged in. Write out every step you would take, in order, with justification for each step. Consider both the order of volatility and legal implications.
Hard
MOD 02 File Systems — How Data is Really Stored and Deleted Days 8-20
Tutor Explanation

When a user "deletes" a file, almost nothing is deleted. The operating system simply marks the space as available for reuse and removes the file's directory entry. The data itself remains on disk until it is overwritten by new data — which may never happen. Understanding this at a deep level is what allows forensic analysts to recover evidence that suspects believe they have destroyed.

Windows uses NTFS (New Technology File System) on virtually every modern system. Every file on an NTFS volume is an entry in the Master File Table (MFT). The MFT is a database where each record contains: the filename, file size, timestamps (four of them — Created, Modified, MFT Modified, and Accessed, abbreviated MACB), file attributes, and pointers to the actual data on disk.

When a file is deleted, its MFT entry is marked as available but the data remains. The MFT entry itself may persist for a long time — sometimes forever if no new file takes that exact record number. This means you can recover not just the file content but also its original name, path, and timestamps from the MFT even after the file is "deleted."

NTFS Key Structures Every DFIR Analyst Must Know
$MFT: The Master File Table. Every file and directory is an entry here. The first 16 entries are reserved for NTFS metadata. Parse this to find deleted files, recover timestamps, and understand the full file system history.

$LogFile: NTFS transaction log. Records file system transactions for crash recovery. Contains evidence of file operations even after deletion and after the MFT entry is reused.

$UsnJrnl (USN Journal): The change journal. Records every file create, modify, rename, delete, and security change. Even when the MFT entry and the LogFile no longer have evidence of a file, the USN Journal may. Critical for detecting anti-forensic file deletion tools.

Alternate Data Streams (ADS): NTFS allows multiple data streams per file. Attackers use ADS to hide executable code inside innocent-looking files. dir /r reveals them. Zone.Identifier is a legitimate ADS Windows creates on downloaded files.

$Recycle.Bin: The Recycle Bin stores deleted files with their original path and deletion timestamp. $I files contain metadata, $R files contain the actual deleted content.
Timestamps — The Four MACB Times and Why They Matter
NTFS maintains two sets of timestamps per file: one in the MFT $STANDARD_INFORMATION attribute (what Windows Explorer shows) and one in the $FILE_NAME attribute (harder to modify).

M — Modified: When the file content was last changed.
A — Accessed: When the file was last read (unreliable — often disabled for performance).
C — Created: When the file was created on this volume (copying a file creates a new Created timestamp — the original creation time is not preserved).
B — MFT Modified ($MFT Changed): When the MFT entry itself was last modified.

Timestomping is when an attacker modifies the $STANDARD_INFORMATION timestamps to make malware look like it has been on the system for years. The defence: $FILE_NAME timestamps are much harder to modify and often reveal the truth. A discrepancy between the two sets is itself evidence of tampering.
Hands-On Lab
Lab 2.1 — MFT Analysis and Deleted File Recovery
1Download Eric Zimmerman's MFTECmd (free). Parse your C: drive MFT:
MFTECmd.exe -f "C:\$MFT" --csv C:\dfir_output --csvf mft_output.csv
2Open the CSV in Timeline Explorer (also free, Zimmerman). Sort by Created time. Find the 10 most recently created files. Do any look suspicious?
3Filter the MFT for deleted files (InUse = False). How many deleted files exist with recoverable metadata? Note their original paths and timestamps.
4Parse the USN Journal:
MFTECmd.exe -f "C:\$Extend\$UsnJrnl:$J" --csv C:\dfir_output --csvf usn_output.csv
Filter for "FileDelete" reason. What was deleted in the last 24 hours?
5Use Autopsy (free) to open a forensic image. Navigate to the Recycle Bin view. What files were deleted and when?
6Check for Alternate Data Streams on your system's temp folder: dir /r C:\Windows\Temp. Document any ADS you find.
Daily Tasks — Weeks 2-4
Parse your own system's MFT with MFTECmd. Build a timeline of the last 24 hours of file system activity. What surprised you?
Medium
Download a forensic challenge image from digitalcorpora.org (free). Mount it in Autopsy and recover all deleted files. Document each with: filename, original path, deleted timestamp, and whether content is recoverable.
Medium
Create a test file. Use a timestomping tool (Timestomp, from Metasploit Framework) to change its $SI timestamps. Then compare the $SI and $FN timestamps using MFTECmd. Write a paragraph explaining what a forensic analyst would conclude from this discrepancy.
Hard
MOD 03 Windows Registry Forensics — The System's Memory Days 21-30
Tutor Explanation

The Windows Registry is a hierarchical database that stores configuration for virtually every aspect of Windows — installed software, user preferences, hardware configuration, network settings, and critically for forensics: evidence of user activity, program execution, and attacker persistence. Attackers love the registry because it is invisible to most users and survives reboots.

The registry is split across multiple hive files on disk. Understanding which hive contains which information is fundamental: SYSTEM hive contains hardware, services, and network configuration. SOFTWARE hive contains installed applications and OS settings. NTUSER.DAT (per user) contains user-specific settings and is the richest source of user activity evidence. USRCLASS.DAT (per user) contains shell and COM settings including ShellBags.

The Registry Keys Every DFIR Analyst Must Know
Persistence (attacker favourite locations):
HKCU\Software\Microsoft\Windows\CurrentVersion\Run — runs at user login
HKLM\Software\Microsoft\Windows\CurrentVersion\Run — runs for all users
HKLM\System\CurrentControlSet\Services — services (malware installs as service)
HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon — userscripts

User Activity:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs — recently opened documents
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU — files opened/saved via dialog
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths — paths typed in Explorer

Program Execution:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist — GUI app execution history (ROT-13 encoded)
HKLM\System\CurrentControlSet\Control\Session Manager\AppCompatCache (ShimCache) — application execution on the system
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU — commands run via Run dialog

USB Connection History:
HKLM\System\CurrentControlSet\Enum\USBSTOR — every USB device ever connected
HKLM\System\CurrentControlSet\Enum\USB — USB bus enumeration
HKLM\Software\Microsoft\Windows NT\CurrentVersion\EMDMgmt — volume serial numbers

Network Connections:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles — network profiles (SSID, connection type, dates)
Hands-On Lab
Lab 3.1 — Registry Timeline and User Activity Analysis
1Use RECmd (Zimmerman Tools) with the Kroll batch configuration to parse all registry hives at once:
RECmd.exe -d C:\Users\[username] --bn BatchExamples\Kroll_Batch.reb --csv C:\dfir_output
2Open the output in Timeline Explorer. Filter for "Run" keys. What programs are set to auto-start? Any look suspicious?
3Parse UserAssist to see GUI application execution history. The values are ROT-13 encoded — RECmd decodes them automatically. Which applications were run and when?
4Examine USBSTOR for every USB device ever connected. Note the device serial number, vendor, product, and first/last connection time (cross-reference with setupapi.dev.log for first connection timestamp).
5Look at RecentDocs and OpenSavePidlMRU. What files has this user recently opened? Are there any files that no longer exist on the system?
6Build a timeline combining registry evidence with MFT timestamps from Lab 2. Connect a USB insertion event to file creations in the same time window.
Open Source Tools — Phase 1
Eric Zimmerman Tools
MFTECmd, RECmd, Timeline Explorer, PECmd, LECmd — the complete free forensic toolkit for Windows artifacts.
→ ericzimmerman.github.io
FTK Imager
Industry-standard forensic image acquisition. Creates E01 and raw DD images with embedded hash verification.
→ exterro.com
Autopsy
Free, open-source digital forensics platform. GUI over The Sleuth Kit. Handles image analysis, file recovery, timeline analysis.
→ autopsy.com
RegistryExplorer
Advanced registry viewer by Zimmerman. Handles offline hive files, transaction log replay, and bookmarks for key artifacts.
→ ericzimmerman.github.io
CyberChef
Browser-based Swiss Army knife — decode base64, ROT-13, hex, extract IOCs, convert timestamps. No installation required.
→ gchq.github.io/CyberChef
Sleuth Kit / tsk_gettimes
Open-source command-line forensic toolkit. Foundation of Autopsy. Use for scripted evidence processing pipelines.
→ sleuthkit.org