Disk Image Acquisition
Summary
A disk image is a bit-for-bit copy of a storage device, including deleted files and unallocated space. How it is captured depends on whether the system is running and whether it can be shut down without losing evidence.
In plain words
Disk imaging copies non-volatile storage (HDD, SSD, USB, memory cards, optical media). A live acquisition captures more and disrupts less, but data keeps changing, may not be accepted in court, and may alert the attacker. A static acquisition by shutting down risks anti-forensics; pulling the plug preserves the disk but may corrupt data. Document everything, ideally on video. Tools include forensic suites, dd and dcfldd (which adds verification).
Detailed explanation
- Forensic image: An exact, sector-by-sector copy of a drive, verified by hashing.
Acquisition states
-
Live acquisition: Imaging a running system.
- Benefits: Captures data that would be lost or encrypted at shutdown.
- Drawbacks: The system keeps changing, and malware may interfere.
- Static acquisition after shutdown: Imaging after an orderly shutdown; malware could trigger destructive actions during shutdown.
- Static acquisition by pulling the plug: Removing power immediately; preserves disk state but loses memory and may corrupt open files.
Tools
- Imaging utilities: Commercial and open-source tools such as FTK Imager create images and compute hashes.
- dd and dcfldd: Linux command-line tools for bit-by-bit copying; dcfldd adds hashing and logging.
- Documentation: Record the device details, state, time, tools and hashes for every acquisition.
Important terms
taken from the text above- Forensic image
- An exact, sector-by-sector copy of a drive, verified by hashing.
- Live acquisition
- Imaging a running system.
- Static acquisition after shutdown
- Imaging after an orderly shutdown; malware could trigger destructive actions during shutdown.
- Static acquisition by pulling the plug
- Removing power immediately; preserves disk state but loses memory and may corrupt open files.
- Imaging utilities
- Commercial and open-source tools such as FTK Imager create images and compute hashes.
- dd and dcfldd
- Linux command-line tools for bit-by-bit copying; dcfldd adds hashing and logging.
- Documentation
- Record the device details, state, time, tools and hashes for every acquisition.
Examples & real-world scenarios
- dd copying a whole disk to an image file in your own lab.
- dcfldd creating an image with hash verification.
- Video-recording the imaging process.
Scenario
Malware may wipe traces when it detects a shutdown. Investigators decide to pull the plug after capturing memory, accepting some corruption risk to avoid triggering anti-forensics.
Common mistakes
- Imaging without documenting each step.
- Not considering how malware might react to a clean shutdown.
Practical skills
- Compare live, shutdown and pull-the-plug acquisition.
What I should remember
- Forensic image: Bit-for-bit copy including deleted data.
- Live acquisition: Preserves volatile and encrypted data.
- Pulling the plug: Preserves disk state but loses memory.
- Hashing: Proves the image matches the original.