Post

Autopsy Investigations & Office Document Metadata

Building cases in Autopsy — file extraction, keyword and regex searches, hash set matching — then reading who really wrote and edited Office files from their internal XML.

Autopsy Investigations & Office Document Metadata

Overview

Fourth post in the Digital Forensics Labs series. The earlier posts worked mostly with individual tools; Autopsy brings them together into a case — ingest an image once, then search, filter, and tag across everything in it.

  1. Recovering files from an image
  2. Finding evidence with keyword, regex, and file-type searches
  3. Hash set matching to flag known files automatically
  4. Office document metadata — authors and edit history straight from the XML

All analysis was performed on course-provided evidence images inside an isolated lab VM.


Step 1: Creating a Case and Extracting a File

Every Autopsy investigation starts with a case, then one or more data sources. I created Case_Lab6 and added drive2.E01:

New Autopsy case Creating a new case in Autopsy

After ingest, the Tree Viewer lets you browse the file system like Explorer. Under /Windows/system32 I located nsadmin.exe and pulled it out with Extract File(s):

Extracting nsadmin.exe nsadmin.exe extracted from /Windows/system32 in the image

Extracted files are copies — the evidence image itself is never modified.


Step 2: Finding Key Evidence

The second image, drive11.E01, belonged to a user jsmith. After ingest, I used three different ways to find what mattered.

Autopsy indexes the text of every file during ingest. Searching for password returned 7 hits, including files in C:\Users\jsmith\Downloads, with the matches highlighted in the Indexed Text viewer:

Keyword search for password 7 results for “password”, with the matching text shown below

Autopsy’s built-in URL keyword list is a regex that matches web addresses anywhere in the data. It found 17 URLs:

URL regex search 17 URL hits — mostly metadata namespaces embedded inside image files

Most of these turned out to be Adobe XMP / Photoshop and W3C RDF namespace URLs embedded in image metadata — not browsing activity. Regex searches cast a wide net, so hits always need triage before they mean anything.

Browsing the user profile by file type

Going through jsmith’s profile folders showed what kind of material the user kept:

LocationFound
My Documents6 Word documents — Blank, DesignSpecs, Draft, File, Proposal, Resume
Downloads2 executables — getmac.exe, gpresult.exe
Desktop4 spreadsheets — Forecasts, Salaries, Workbook1, Workbook2

Word documents Word documents in C:\Users\jsmith\My Documents

Executables in Downloads getmac.exe and gpresult.exe in Downloads

Excel spreadsheets Spreadsheets on the Desktop, including Salaries.xlsx

getmac and gpresult are legitimate Windows utilities — but copies sitting in a user’s Downloads folder are unusual, and both are reconnaissance tools (MAC addresses, applied group policy). Combined with a Salaries.xlsx on the desktop, that’s the kind of pattern worth a closer look.


Step 3: Hash Set Matching

Hash sets let Autopsy flag known files automatically — known-bad (malware, contraband) or known-good (to filter out OS files). I built a custom set from a text file of MD5 values, imported and indexed it in Autopsy, then ran the Hash Lookup ingest module on drive4.E01.

3 files matched, listed under Analysis Results → Hashset Hits:

FileMD5
/Windows/HelpPane.execd47548a52b02d254bf6d7f7a5f2bfd3
/Windows/fveupdate.exe92bb2e9aa28542c685c59efcbac2490b
/Windows/hh.exe3d0b9ea79bf1f828324447d84aa9dce2

Hashset hits Three files in the image matched the imported hash set

Because matching is done on content, a renamed or moved copy is still caught — the same property from the first post, now applied across an entire disk.


Step 4: Office Document Metadata

Modern Office files (.docx, .pptx, .xlsx) are ZIP archives full of XML. Renaming one to .zip and opening docProps/core.xml shows its properties directly — without launching Word, which could itself change the metadata.

Word document

Word core.xml core.xml from the Word document

FieldValue
TitleInternal_title
Created byCharles Galileo
Last modified byMichael Robinson
Revision3
Created2013-12-12 15:42 UTC
Last modified2015-10-08 19:29 UTC

PowerPoint presentation

PowerPoint core.xml core.xml from the PowerPoint presentation

FieldValue
TitleNifty Presentation
Created byNancy
Last modified byJim
Revision9
Created2015-10-08 18:33 UTC
Last modified2015-10-08 19:30 UTC

Excel spreadsheet

Excel core.xml core.xml from the Excel spreadsheet

FieldValue
Created byKatherine
Last modified byKaiser Soze
Revision12
Created2015-10-08 21:34 UTC
Last modified2015-10-08 22:14 UTC

These fields come from the Office account name on whatever machine saved the file, so they can be wrong or deliberately set — but they’re often the quickest way to see that a document passed through more than one person’s hands.

The revision field counts saves, not meaningful edits — 12 revisions means the file was saved 12 times, not changed in 12 places.


Conclusion

Autopsy turned three raw images into searchable cases: a file pulled out of system32, a user profile with salary data and recon tools in Downloads, and known files flagged automatically by hash. Office metadata then added the human side — who created a document and who touched it last.

Key takeaways:

  • Ingest once, search many ways — keywords, regex, and file types each surface different evidence.
  • Regex hits need triage; most URL matches here were image metadata, not browsing.
  • Hash sets scale content matching to whole disks, catching renamed files.
  • Read Office metadata from core.xml rather than opening documents, so nothing on the evidence copy changes.

Digital Forensics Labs series

  1. Evidence Acquisition: Write Blocking, Imaging & RAM Capture
  2. File Systems, Offline Registry & File Signatures
  3. File Carving: Recovering a JPEG & PDF from Unallocated Space
  4. Autopsy Investigations & Office Document Metadata (you are here)
  5. Browser & Email Artifacts: Chrome, Firefox & Mail Headers
This post is licensed under CC BY 4.0 by the author.