On this page
dc3dd is a forensic version of the classic Linux dd tool, developed for the Department of Defense Cyber Crime Center (DC3). Like dd it copies a disk bit for bit, but it adds what an investigator needs: hashing while imaging, a log file, progress output, split image files, error handling and verified wiping. The result is a raw (dd) image plus a hash and a log that document the acquisition.
Why not plain dd?
| Need | dd | dc3dd |
|---|---|---|
| Bit-for-bit copy | Yes | Yes |
| Hash computed during imaging | No (separate step) | Yes (MD5, SHA-1, SHA-256, SHA-512) |
| Acquisition log | No | Yes |
| Progress display | Limited | Yes |
| Split output files | No | Yes |
| Wipe with verification | No | Yes |
Before you image
- Connect the evidence drive through a write blocker (hardware is preferred).
- Identify the right device with
lsblkorfdisk -l. Imaging the wrong disk, or swapping input and output, is the classic mistake. - Make sure the destination has enough free space.
- Record drive details: make, model, serial number, capacity.
Basic imaging command
dc3dd if=/dev/sdb of=case01.dd hash=sha256 log=case01.log
| Option | Meaning |
|---|---|
| if= | Input: the evidence device |
| of= | Output: the image file |
| hash= | Hash algorithm(s); repeat for more than one, e.g. hash=md5 hash=sha256 |
| log= | Write a log of the acquisition, including hashes and errors |
When it finishes, dc3dd prints the number of sectors in and out and the hash of the input. Keep the log with your case notes.
Split images
Large disks are often stored as fixed-size pieces:
dc3dd if=/dev/sdb ofs=case01.000 ofsz=2G hash=sha256 log=case01.log
ofs= sets the base name for split output and ofsz= the size of each piece. dc3dd numbers the pieces automatically.
Verify the image
Hash the image again later and compare it with the value in the log:
sha256sum case01.dd
cat case01.* | sha256sum for split images
Matching hashes prove the image has not changed since acquisition, which is the basis of evidence integrity.
Wiping a target drive
Before reusing a destination drive, wipe it so no old data mixes with new evidence:
dc3dd wipe=/dev/sdc
dc3dd hwipe=/dev/sdc hash=sha256 wipe and verify
Double-check the device name: wiping is irreversible.
dc3dd vs other imaging tools
| Tool | Output | Strength |
|---|---|---|
| dc3dd | Raw (dd), split raw | Simple, scriptable, hashing and logging |
| dcfldd | Raw, split raw | Similar idea (from the DoD Computer Forensics Lab) |
| ewfacquire (libewf) | E01 | Compressed images with embedded metadata and hashes |
| Guymager | E01, AFF, raw | Graphical, fast, multi-threaded, popular on forensic Linux distros |
| FTK Imager | E01, raw | Popular on Windows |
Which format to choose is explained in our guide to forensic image formats: E01, raw and AFF4, and the full process in digital evidence acquisition.
Frequently asked questions
What is dc3dd used for?
Creating forensic bit-for-bit images of drives with hashes and logs, and securely wiping drives.
Is dc3dd better than dd for forensics?
Yes, for evidence work: it hashes during imaging, logs the acquisition and handles errors and splitting.
Does dc3dd create E01 files?
No. It creates raw (dd) images. Use ewfacquire or Guymager for E01.
Is dc3dd installed on Kali Linux?
It is available in Kali and many forensic distributions; on Debian-based systems install it with sudo apt install dc3dd.
Does dc3dd need a write blocker?
dc3dd only reads the input, but the operating system may still write to a connected drive. A write blocker is best practice for evidence.
Learn forensic acquisition properly
Our Digital Forensics course covers live and dead acquisition, imaging tools like dc3dd and Guymager, hashing and chain of custody, with hands-on labs.


