dc3dd
Forensic dd with on-the-fly hashing and progress
Open source. Platform: macOS & Linux.
What it is
A patched GNU dd from the DoD Cyber Crime Center, adding what forensic acquisition needs: hashing during the copy, split output, progress reporting, verification and pattern wiping.
Why it matters
Plain dd will copy a disk and tell you nothing about whether the copy is faithful. Hashing in the same pass means the acquisition hash covers the bytes that were actually read, rather than a second read that could differ. That distinction is what a defensible acquisition rests on.
In practice
A single dc3dd invocation produces the image, its SHA-256, and a log recording both, which is the whole acquisition record in one artifact.
Install
apt install dc3dd (Debian/Ubuntu). Windows builds run under Cygwin.
Commands
- Image a device to a raw file while hashing it in one pass, writing the hash to a log
dc3dd if=/dev/sdb of=evidence.dd hash=sha256 log=acquire.log
- Split the output into fixed-size segments for media that cannot hold one large file
dc3dd if=/dev/sdb ofs=evidence.dd.000 ofsz=4G hash=sha256 log=acquire.log
- Verify a wipe by writing a known pattern across a destination device before reuse
dc3dd wipe=/dev/sdc
Similar tools
- libewf: Read, write and mount Expert Witness (E01) forensic images
- FTK Imager: Disk & memory imaging plus preview (free)
- Guymager: Fast multi-threaded GUI imager for Linux