AWS Builder Center
Analyzing a Disk Image with Autopsy: Reading an Entire File System Without Touching the Original Evidence

Analyzing a Disk Image with Autopsy: Reading an Entire File System Without Touching the Original Evidence

This lab moved to a different scale entirely, taking a complete disk image, a full forensic copy of a Linux system's hard disk, and loading it into Autopsy, a dedicated forensic analysis platform, to examine every file system, every folder, every piece of metadata it contains as a single structured case rather than a handful of individual files picked out by hand.

Every forensic tool I'd worked through up to this point operated on one file at a time: hash a file, check a hash, open a file to verify its format. This lab moved to a different scale entirely, taking a complete disk image, a full forensic copy of a Linux system's hard disk, and loading it into Autopsy, a dedicated forensic analysis platform, to examine every file system, every folder, every piece of metadata it contains as a single structured case rather than a handful of individual files picked out by hand.

The Scenario and Why Imaging Matters

The framing was deliberately serious: a system recovered from a crime scene, imaged by investigators before any analysis began. That imaging step is worth pausing on, even though the lab itself started from an already-prepared image file. In real forensic practice, you never analyze the original evidence drive directly. You create a bit-for-bit image of it first, and all subsequent analysis happens against that image, precisely so the original remains untouched and legally defensible, and so a mistake made during analysis can't corrupt or alter the one piece of physical evidence that can never be replaced.
This lab worked with  Linux_Evidence_001.img , a complete forensic image of a Linux system, loaded into Autopsy for structured analysis.

Setting Up a Proper Case

Before touching any actual evidence, Autopsy requires setting up a formal case structure, and the specific fields it asks for reflect real forensic documentation requirements, not just software configuration.
I created a new case named  Linux_Analysis , specifying a base directory, a dedicated folder where all case data, analysis results, and generated artifacts would be stored, kept separate from both the original evidence and any unrelated files on the system. In the Optional Information section, I filled in the examiner's name and a case number. That's not boilerplate. A real forensic case needs a documented chain of who conducted the analysis and under what case reference, since forensic findings may ultimately need to hold up to legal scrutiny, and "who analyzed this evidence and when" is part of that record from the very first step.
Adding the actual evidence came next: selecting Disk Image or VM File as the data source type, then browsing to and selecting the  .img  file itself. After confirming the Ingest Modules configuration (the set of automated analysis passes Autopsy runs across the image, hashing files, extracting metadata, categorizing content, and more) and finishing the setup, Autopsy began processing the image. Notably, the lab pointed out that analysis continuing in the background doesn't block further work, you can begin examining what's already been processed while the rest of the ingest modules continue running.

Navigating the File System Directly

Once the image loaded, expanding the Data Sources node revealed  Linux_Evidence_001.img  as a structured, browsable file system, not a raw block of data, but an actual navigable directory tree, exactly as it existed on the original disk.
I navigated specifically to  /etc , a directory that, on any Linux system, holds core system and user configuration data, and within it, selected the  passwd  file. Clicking the Text tab displayed its full contents directly inside Autopsy, user account information laid out in plain text, without needing to extract the file, open it in a separate application, or touch the original image in any way.
That last point matters more than it might seem: every piece of analysis happening here is read-only, against a copy, inspected through Autopsy's own interface. The investigator never has to open the actual file in its native application (which could alter metadata like access timestamps) or extract it to a separate location (which introduces its own chain-of-custody complications). Autopsy's Text, File Metadata, Hex, and Annotations tabs let you inspect a file from several different angles without ever actually touching or modifying the evidence itself.

Hashing Within the Platform, Not as a Separate Step

A previous lab in this same series had me manually calculate file hashes with a standalone tool and compare them by hand. Autopsy folds that same capability directly into its case workflow. I navigated to a specific file,  SeatPlan.xls , located under  /home/roger/Documents , and opened its File Metadata tab.
That tab displayed the file's creation, modification, and access timestamps, directly alongside its MD5 hash value, calculated automatically as part of the ingest process rather than requiring a separate manual step. That integration is a meaningful difference from the standalone hashing tools used earlier: instead of hash values existing as separate data an investigator has to track alongside the file, they're embedded directly into the same case record as every other piece of metadata about that file, timestamps, path, hash, all in one place.
The Results tab for that same file surfaced something else worth noting: Autopsy had automatically detected and flagged that the file was password protected. That's a genuinely useful automated finding, a password-protected spreadsheet sitting in a user's documents folder is exactly the kind of thing that warrants further attention in an investigation, and having the tool surface that fact automatically, rather than requiring the investigator to manually open and test every file, is a real efficiency gain at the scale of a full disk image.

Reviewing Media Content as a Category

Beyond browsing the raw file system folder by folder, Autopsy also offers a dedicated Images/Videos view, accessible directly from the toolbar, which filters the entire case down to just image and video files across the whole image, regardless of which folder they happen to sit in.
That's a meaningfully different way of working than navigating folder by folder. Rather than requiring an investigator to manually check every directory for media content, Autopsy's ingest process has already categorized file types across the entire image, and the gallery view surfaces them as one consolidated, browsable collection. At the scale of a real disk image, with potentially thousands of files scattered across a deep folder structure, that kind of automatic categorization is what actually makes systematic review practical.

What a Full Platform Does Differently From Single-Purpose Tools

A few things stood out, stepping back from this lab compared to the earlier, narrower forensic tools in the same series.
Case structure exists for documentation, not just organization. Naming a case, recording an examiner and case number, and specifying a dedicated base directory before any analysis even starts reflects a real requirement: forensic findings need a clear, documented record of who did what, when, and under which case reference, from the very beginning of the process, not bolted on afterward.
Working from an image, never the original, is the foundational principle underneath everything else in the lab. Every single action in this lab, browsing, hashing, viewing metadata, happened against a forensic image, never against original physical evidence. That's not a minor technical detail, it's the entire reason forensic imaging exists as a practice: preserve the original untouched, do all actual analysis work against a faithful copy.
Integrated tooling changes what's actually practical at scale. Manually hashing individual files, as in an earlier lab, works fine for one or two files you've already identified as interesting. Across a full disk image with potentially thousands of files, having hashing, metadata extraction, and content categorization happen automatically during ingest, and surfaced together in one case record, is what makes comprehensive analysis genuinely achievable rather than theoretically possible.
Automated flags, like the password-protected file, point an investigator's attention efficiently. Autopsy didn't just hash and catalog  SeatPlan.xls , it specifically flagged a property (password protection) that's inherently interesting from an investigative standpoint, without requiring the investigator to have manually opened and tested the file themselves.
Multiple viewing modes (Text, Hex, Metadata, Annotations) exist because different questions need different views of the same file. A readable text view answers "what does this file say." A hex view answers questions about raw structure that text rendering can obscure. Metadata answers questions about history and origin. No single view tells the whole story; the combination is what a real investigation actually needs.
This lab was a genuine step up in scale from everything earlier in the same forensics module: instead of inspecting individual files one at a time with narrow, single-purpose tools, Autopsy treats an entire disk image as one structured case, browsable, searchable, and automatically enriched with hashes, metadata, and content categorization from the moment it's added.
What stood out most wasn't any single feature, it was the underlying discipline the whole workflow enforces: establish a documented case before touching anything, work exclusively against an image rather than original evidence, and let the platform's automated ingest process do the repetitive work (hashing, categorizing, flagging) at a scale no investigator could realistically do by hand, file by file, across a real disk image with thousands of entries.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article