CHFI (312-49) Digital Forensics Simulation

Welcome to this practical digital forensics simulation. You will step into the role of a CHFI investigator handling an intellectual property theft case. Analyze the macOS artifacts, understand specific file system architectures, and make the correct operational decision.

Investigation Scenario

You are investigating a suspected intellectual property theft at a graphic design agency. A departing employee is suspected of staging proprietary project files before transferring them to external media.

The suspect's primary workstation is an Apple iMac running macOS Ventura. A forensic image (AFF4) has been captured. During the logical file system analysis of the user's home directory, you discover an anomalous file hidden within a dot-prefixed directory.

Evidence Collected (macOS Artifacts)

[INCIDENT NOTES] Case#: IP-2026-091A Investigator: CHFI ID-9482 System: Apple iMac (macOS Ventura 13.5, APFS) [FILE SYSTEM EXPORT] Target Path: /Users/jdoe/.hidden_vaults/ Artifact Found: project_alpha_archive.sparseimage [METADATA ANALYSIS - mdls / ls -l@] Logical Size on Disk: 4.2 GB Volume Capacity limit: 50 GB Creation Date: 2026-04-05 14:11:20 UTC Modification Date: 2026-04-08 09:33:15 UTC Extended Attributes: com.apple.metadata:_kMDItemUserTags com.apple.diskimages.recentcksum

Question

During a forensic examination of a macOS computer, an analyst discovers a file with a .sparseimage extension. What does this file type typically represent?

A. An expandable disk image file
B. A system log file
C. A temporary internet file
D. A backup of the macOS Registry (plist files)
Investigator Hint: The keyword here is "sparse." In file system terminology, a sparse file only uses physical storage space for the data it actually contains, rather than allocating all the space up front.

Expert Analysis

1. What the evidence shows

The evidence reveals a file named project_alpha_archive.sparseimage located in a deliberately hidden directory (.hidden_vaults). Metadata shows the file currently consumes 4.2 GB of disk space but has a defined maximum capacity of 50 GB, indicating it was configured to hold a substantial amount of data.

2. Identify forensic stage

This scenario resides in the Examination & Analysis phase of the Digital Forensics Process, specifically dealing with macOS (APFS/HFS+) file system analysis.

3. Why correct answer is correct

A. An expandable disk image file: In macOS, a .sparseimage is a dynamic disk image format created by the Apple Disk Utility or hdiutil. Unlike a standard `.dmg` file which has a fixed size, a sparse image starts small and expands dynamically as data is added to it, up to its predefined maximum limit. Users often use them to create encrypted logical vaults to hide sensitive data.

4. Why others are wrong

5. Real-world forensic action

The investigator will export the .sparseimage from the forensic image and calculate its hash. In a secure forensic environment, the investigator will attempt to mount it using tools like BlackLight, MacQuisition, or natively via terminal (hdiutil attach -readonly). If the image prompts for a password, it indicates encryption (FileVault technology applied to the image). The investigator would then need to extract password hashes from the macOS Keychain or perform memory analysis (if a RAM capture was taken) to recover the passphrase to access the staged intellectual property.

6. MINI LESSON: macOS Disk Images

1. Standard DMG (.dmg): Fixed size. Takes up the defined space immediately, regardless of how much data is inside. 2. Sparse Image (.sparseimage): Monolithic file. Expands dynamically as data is added. Susceptible to corruption if the single file is damaged. 3. Sparse Bundle (.sparsebundle): Expands dynamically, but breaks the data down into smaller 8MB "bands" stored in a directory structure. Optimized for network transfers and Time Machine backups.

Ready for the next case?

Enhance your digital forensics skills with more CHFI scenarios.

Explore more CHFI simulations