Digital Forensics Fundamentals: Evidence to Analysis
The forensic process, evidence collection, order of volatility, and the tools that actually work
Search for a command to run...
The forensic process, evidence collection, order of volatility, and the tools that actually work
No comments yet. Be the first to comment.
Digital forensics fundamentals and memory analysis with Volatility. Evidence collection, order of volatility, and finding what attackers hide in RAM.
Why memory matters, how Volatility works, and the plugins that catch modern attacks
Static, dynamic, and memory analysis tradecraft
Hypothesis-driven proactive defense across endpoint and network
Display filters, scan detection, and PCAP investigation patterns
NIDS, Snort modes, and detection technique fundamentals
Why four years on a Korean securities trading desk maps to Tier 1 SOC work
Digital forensics is the part of blue team work where mistakes are permanent. Modify a disk, lose a memory snapshot, break the chain of custody, evidence becomes inadmissible. This post covers the fundamentals: the forensic process, evidence collection, order of volatility, and the tools that actually work.
Digital forensics is the scientific examination of digital devices and data to uncover evidence of incidents, intrusions, or criminal activity. It applies to:
When combined with Incident Response, the discipline is DFIR: Digital Forensics and Incident Response.
Every forensic investigation follows the same steps.
The order matters. You can't analyze what you didn't preserve.
Collect evidence from most volatile to least volatile. Everything higher in this list disappears faster.
Practical order:
Memory image → Triage image → Full disk image
Memory first because it's gone the moment the system powers off.
Three factors when choosing a tool:
| Tool | Mode | Output |
| DumpIt | Kernel | .dmp / .raw |
| BelkaSoft RAM Capturer | Kernel | .mem |
| FTK Imager | User | .mem (with optional pagefile) |
File → Capture MemoryWhen RAM is unavailable, partial memory data may exist in:
Critical rule: never modify original evidence during acquisition.
When removing a disk, pull the power cable: don't do a clean shutdown. A clean shutdown modifies timestamps and overwrites files. Pulling power preserves the state.
FTK Imager:
File → Create Disk ImagePhysical DriveLinux:
# Bit-by-bit copy with progress
dd if=/dev/sda of=/mnt/evidence/sda.dd bs=4M conv=noerror,sync status=progress
# Hash the image during copy (tee branches the data stream)
dd if=/dev/sda | tee /mnt/evidence/sda.dd | sha256sum
Forensic tools like EnCase and FTK add metadata and chain of custody info automatically, prefer those when acquiring for legal use.
| Format | Description |
| Raw (.dd/.img) | Bit-for-bit copy, no metadata |
| E01 (EnCase) | Compressed, with metadata and chain of custody |
| AFF4 | Advanced Forensics Format, modern |
| VHD/VMDK | Virtual machine formats |
Full disk imaging takes hours. Multi-TB drives take days. When you're under time pressure, collect only the high-value artifacts.
%WinDir%\System32\winevt\LogsC:\Users\<username>$MFT, $UsnJrnlThe go-to tool for triage collection:
Typical KAPE workflow:
kape.exe --tsource C: --target KapeTriage --tdest D:\evidence\
After acquisition, you need to analyze the image without modifying it.
Generate hashes before and after any handling to confirm no changes.
| Algorithm | Security Level | Windows | Linux |
| MD5 | Low (collision risk) | Get-FileHash -Algorithm MD5 <file> | md5sum <file> |
| SHA1 | Medium | Get-FileHash -Algorithm SHA1 <file> | sha1sum <file> |
| SHA256 | High (preferred) | Get-FileHash <file> | sha256sum <file> |
Best practice: calculate at least two different hashes for critical evidence. If one has a collision, the other catches it.
Log every step:
Record all transfers, acquisitions, examiner details, storage procedures. Use tamper-proof bags, labels, and photographs. Keep evidence locked; only authorized personnel access it.
The four UK Association of Chief Police Officers principles that govern digital evidence handling:
These exist because forensic evidence has to survive court challenges.
A properly equipped forensic kit includes:
Digital forensics breaks down into several specializations:
| Sub-Domain | Focus |
| Memory Forensics | Analysis of RAM dumps for processes, connections, malware, persistence |
| Disk Forensics | Windows/Linux artifacts, registry, event logs, file system |
| Network Forensics | Packet captures, flow data, protocol analysis |
| Mobile Forensics | Phones, tablets, IoT devices |
| Cloud Forensics | AWS/Azure/GCP logs, cloud storage, containers |
Each has its own tools and methodologies, but they all share the fundamentals above.
| Tool | Purpose |
| Volatility (2 & 3) | Memory dump analysis framework |
| Autopsy | Disk image analysis and artifact extraction |
| FTK Imager | Memory capture and disk imaging |
| KAPE | Triage artifact collection |
| Registry Explorer | Windows registry analysis |
| Timeline Explorer | CSV-based timeline analysis |
| Arsenal Image Mounter | Mount forensic images safely |