Forensic Imaging and Analysis for Host-Based Investigation
1Disk Imaging
2Tools & Formats
3Comparison
4Quiz
What is Forensic Disk Imaging?
A forensic disk image is an exact, bit-for-bit copy of a storage device. Unlike a simple file copy, a forensic image captures every sector of the drive, including deleted files, slack space, and unallocated areas.
Why Imaging Matters for SOC Analysts
Evidence preservation: Original drive remains untouched for legal proceedings
Repeatability: Multiple analysts can examine identical copies
Timeline analysis: Compare before/after states to identify attacker activity
Chain of custody: Hash verification proves image integrity
Recovery: Deleted files can be recovered from slack space
Forensic vs. Logical Copy
Forensic Image
Bit-for-Bit Copy
Captures entire drive sector by sector
Includes deleted files and slack space
Preserves file system metadata
Can recover hidden/deleted data
Legally defensible in court
Use for: Incident response, legal investigations
Logical Copy
File-Level Copy
Copies only visible files and folders
Skips deleted files and slack space
May miss hidden data
Faster but less thorough
Not forensically sound
Use for: Backups, data migration
Write Blockers
A write blocker is a hardware or software tool that prevents any data from being written to the evidence drive during imaging. This is critical for:
Preventing accidental modification of evidence
Maintaining chain of custody
Ensuring legal admissibility
# Linux software write-block example
blockdev --setro /dev/sdb # Set device read-only
blockdev --getro /dev/sdb # Verify (returns 1 = read-only)
Disk Image Formats
Different formats have different capabilities. Choose based on your analysis needs:
Format
Extension
Features
Common Tools
Raw/DD
.dd, .raw, .img
Exact bit copy, no compression, universal
dd, dcfldd, dc3dd
E01 (EnCase)
.E01
Compression, built-in hash, case metadata
EnCase, FTK Imager
AFF
.aff
Open source, compression, extensible metadata
Autopsy, Guymager
SMART
.s01
Compression, password protection
SMART Linux
Imaging Tools
Click each tool to learn more:
dd / dcfldd
FTK Imager
Guymager
Autopsy
Hash Verification
Hashing proves the image is an exact copy of the original. Any change, even a single bit, produces a completely different hash.