CyberKit

Tool catalog

libewf

Read, write and mount Expert Witness (E01) forensic images

Open source. Platform: Cross-platform.

What it is

A library and set of command-line tools for the Expert Witness Compression Format, the E01 container most commercial forensic imagers write.

Why it matters

E01 is the format evidence arrives in, and it stores acquisition hashes inside the container, so verifying an image is a single command rather than a separate chain of custody note. ewfmount lets the rest of an open-source toolchain work on an image it cannot natively read.

In practice

ewfverify on a received image recomputes its hashes and compares them to the ones written at acquisition, which either confirms the copy or tells you it changed in transit.

Install

apt install ewf-tools (Debian/Ubuntu), brew install libewf (macOS), or build from source per the project wiki

Commands

Acquire a device to a compressed, hashed E01 image, prompting for the case metadata
ewfacquire /dev/sdb
Print the metadata and stored hashes of an existing E01 without reading the whole image
ewfinfo evidence.E01
Verify an image against the hashes recorded inside it at acquisition time
ewfverify evidence.E01
Mount an E01 as a raw device file so tools that only understand dd can read it
ewfmount evidence.E01 /mnt/ewf

Similar tools

  • FTK Imager: Disk & memory imaging plus preview (free)
  • dc3dd: Forensic dd with on-the-fly hashing and progress
  • Guymager: Fast multi-threaded GUI imager for Linux

Sources