Skip to content
From write-blocked image to timeline

Disk & Storage Forensics

Every file system leaves a trail even after deletion — in slack space, journals, and metadata structures most users never know exist. Disk forensics is the discipline of reading that trail without disturbing it.

RAW · E01 · AFF
Image formats
SHA-256
Hash standard
$MFT / $LogFile
Key artifact

What is disk forensics?

Disk forensics is the acquisition and examination of data stored on hard drives, SSDs, and removable media — from live, user-visible files down to deleted content recoverable from unallocated and slack space. It rests on one non-negotiable principle: the original evidence is never analyzed directly, only a cryptographically verified copy.

Modern disk forensics spans forensic imaging, file-system-specific artifact analysis (NTFS, FAT32, ext4, APFS/HFS+), file carving for content with no surviving metadata, and timeline reconstruction that fuses hundreds of artifact types into one coherent sequence of events.

Acquire

Write-blocked, bit-for-bit imaging with hash verification at every step.

Recover

File carving and journal analysis surface deleted and hidden content.

Reconstruct

Super-timelines fuse MACB times, logs, and registry into one narrative.

Step-by-Step Methodology

The sequence a careful examiner follows, in order.

  1. 1

    Attach a write blocker

    Connect the source drive through a hardware (preferred) or validated software write blocker before any interaction — this is non-negotiable regardless of case size.

  2. 2

    Create and verify the forensic image

    Image with FTK Imager, Guymager, or dcfldd into RAW or E01 format, computing SHA-256 (and often MD5/SHA-1 for legacy compatibility) both before and after imaging to confirm bit-for-bit integrity.

  3. 3

    Mount and triage the file system

    Load the verified image (never the original) into Autopsy or an equivalent platform, and run ingest modules for hash lookup, file typing, and recent-activity parsing.

  4. 4

    Analyze file-system-native artifacts

    Parse $MFT, $LogFile, and $UsnJrnl (NTFS) or equivalent structures on other file systems to surface file creation, deletion, and rename events the visible file listing no longer shows.

    • Registry hives for USB history, installed software, and user activity
    • Prefetch, Jump Lists, and LNK files for execution and access history
    • Shellbags for folder-browsing history, including deleted folders
  5. 5

    Carve unallocated space

    Run Foremost, Scalpel, or PhotoRec against unallocated space using known file signatures to recover files whose metadata has been fully reclaimed.

  6. 6

    Build a super-timeline

    Run log2timeline/Plaso across the image to merge file-system, registry, log, and browser artifacts into a single sortable timeline for correlation.

  7. 7

    Check for anti-forensic activity

    Compare $STANDARD_INFORMATION vs. $FILE_NAME timestamps for timestomping, inspect for wiping-tool artifacts, and note any encrypted or steganographically suspicious files for further review.

Tools Comparison

Sortable — click any column header.

DescriptionLink
AutopsyDisk ForensicsWindows / Linux / macOSOpen-SourceGraphical front-end to The Sleuth Kit offering timeline analysis, keyword search, and artifact modules.
The Sleuth KitDisk ForensicsWindows / Linux / macOSOpen-SourceCommand-line library of file-system and volume analysis tools underpinning Autopsy and many custom workflows.
FTK ImagerDisk ForensicsWindowsFreeFree imaging utility for creating forensic images (RAW/E01), previewing evidence, and exporting files without altering originals.
GuymagerDisk ForensicsLinuxOpen-SourceFast, GUI-based Linux disk imaging tool supporting RAW and EWF/E01 output with built-in hashing.
dcflddDisk ForensicsLinuxOpen-SourceForensic variant of dd with on-the-fly hashing, verification, and progress reporting for imaging.
PhotoRecDisk ForensicsWindows / Linux / macOSOpen-SourceFile-carving utility that recovers files from unallocated space based on signature matching, ignoring file-system structures.
ScalpelDisk ForensicsLinuxOpen-SourceFast, configurable file carver that scans raw images against user-defined header/footer signatures.
ForemostDisk ForensicsLinuxOpen-SourceOriginally built for the US Air Force OSI — recovers files based on headers, footers, and internal data structures.
log2timeline / PlasoDisk ForensicsWindows / Linux / macOSOpen-SourceSuper-timeline generation framework that parses hundreds of artifact types into a single sortable timeline.
Registry ExplorerDisk ForensicsWindowsFreeEric Zimmerman's registry hive viewer with deleted-key recovery and bookmarked keys for fast triage.

Commands & Code

Copy-ready snippets used in real workflows.

image-and-hash.shbash
# Image a write-blocked source device with dcfldd, hashing on the fly
dcfldd if=/dev/sdb of=case001_disk.img hash=sha256 hashlog=case001_disk.sha256

# Independently verify after imaging completes
sha256sum case001_disk.img
diff <(sha256sum case001_disk.img | awk '{print $1}') <(cat case001_disk.sha256 | awk '{print $2}')
Always hash the source and the resulting image; a mismatch invalidates the acquisition and must be re-run.
carve-unallocated.shbash
# Extract unallocated space from an E01 image for targeted carving
blkls -A case001_disk.e01 > unallocated.raw

# Carve known file types from the unallocated blob
photorec /d ./recovered /cmd unallocated.raw fileopt,jpg,enable,pdf,enable,zip,enable
timeline-plaso.shbash
# Generate a Plaso storage file from a forensic image
log2timeline.py case001.plaso case001_disk.e01

# Export a filtered, human-readable timeline (CSV) restricted to a date range
psort.py -o dynamic -w case001_timeline.csv case001.plaso \
  "date > '2025-01-01 00:00:00' AND date < '2025-02-01 00:00:00'"