Master file system analysis. This scenario tests your ability to interpret raw FAT32 directory entry data to recover a deleted file during the examination phase of a digital forensic investigation.

CHFI (312-49) Digital Forensics Simulation

Investigation Scenario

During a digital investigation in Seattle involving corporate espionage, you are analyzing a forensic image of a 32GB USB drive belonging to the primary suspect. The drive is formatted with the FAT32 file system.

The suspect claims they never possessed the stolen project files. However, while analyzing unallocated space using a hex editor, you discover a directory entry for a file named "PROJECT_X.DOC" that has been deleted. You need to manually locate the file's data payload on the disk to carve it out for further examination.

Evidence Collected

[+] HEX DUMP: FAT32 Directory Entry (Offset 0x00104000) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ------------------------------------------------ E5 52 4F 4A 45 43 54 5F 58 20 20 20 00 00 00 00 |.ROJECT_X ....| 00 00 00 00 05 00 00 00 21 6A C3 4A 12 00 00 00 |........!j.J....| [+] FORENSIC EXAMINER NOTES - File starts with 0xE5 (Sigma), indicating deletion. - FAT32 32-byte directory structure confirmed. - Goal: Identify the logical cluster where the file data begins.

Question

During a digital investigation in Seattle, an examiner is analyzing a USB drive formatted with the FAT32 file system. The examiner needs to find the starting cluster of a deleted file. Which field in the Directory Entry should the examiner look at?
Forensic Hint: In FAT32, the cluster address is 32 bits long. However, the standard 32-byte directory entry was originally designed for 16-bit clusters. How did Microsoft split the 32-bit address to fit into the existing directory entry structure?

Expert Analysis

1. What the Evidence Shows

The hex dump displays a 32-byte FAT32 directory entry. The first byte is 0xE5, which is the FAT file system's marker for a deleted file. The entry contains vital metadata including timestamps, file size, and pointers to the data payload.

2. Forensic Stage

Examination & Analysis - The investigator is performing deep-level file system analysis (manual carving) on preserved digital evidence.

3. Why the Correct Answer is Correct (A)

High-order and low-order word of the first cluster number. FAT32 uses a 32-bit (4-byte) value to address clusters. Because the legacy FAT16 directory entry only had a 2-byte field for the starting cluster (offsets 0x1A-0x1B), FAT32 split the 32-bit address. The high-order word is stored at offsets 0x14-0x15, and the low-order word is stored at 0x1A-0x1B. An examiner must combine these two words to determine the true starting cluster of the file.

4. Why Others Are Wrong

  • B. File size: Located at offsets 0x1C-0x1F, this tells the examiner how much data to carve, but not where the data begins.
  • C. Creation date and time: Found at offsets 0x0D-0x11, these are critical for timeline analysis but useless for physical data location.
  • D. File attribute byte: Located at offset 0x0B, this byte simply determines if the file is Hidden, System, Read-Only, Archive, or a Directory.

5. Real-World Forensic Action

When recovering deleted files from FAT32, automated tools (like Autopsy or X-Ways) automatically combine the high and low-order words. However, if the File Allocation Table is corrupted, an investigator must manually navigate to the directory entry in a hex editor, extract the bytes from 0x14-0x15 and 0x1A-0x1B, account for little-endian byte ordering, convert the combined hex value to decimal, and calculate the physical sector offset to begin data carving.

6. MINI LESSON: FAT Deletion Mechanics

When a user deletes a file on a FAT system, the OS does not erase the file data. It simply changes the first character of the filename in the directory entry to 0xE5 (sigma) and zeros out the corresponding entries in the File Allocation Table. The starting cluster pointer in the directory entry usually remains intact. As long as the OS hasn't overwritten those unallocated clusters with new data, the original file can be fully recovered.

Ready to handle more complex forensic scenarios?

Sharpen your digital investigation skills with more practical simulations.

Explore more CHFI simulations