Skip to main content

🧳 The Exhume Toolkit

Exhume toolkit logo

Exhume is a modular Rust toolkit for digital forensics. Its command-line tools and reusable libraries read evidence sources, inspect partitions and filesystems, parse artefacts, build searchable inventories, and search file contents. Modules can be used individually or combined in an investigation workflow, including through Thanatology.

The toolkit is under active development. Validate findings against the source evidence and report problems through the relevant module repository or the Discord server.

Overview​

EXHUME / ARCHITECTURE

A modular investigation stack

Explore the layers. Open any module to read its documentation.

  • Supported
  • Under review
  • Unsupported
  1. Investigation
    exhume_agent

    Forensic assistant & terminal tools

    Thanatology

    Desktop investigation workspace

  2. Analysis
    exhume_artefacts

    Parse OS & application artefacts

    exhume_indexer

    Index metadata & build timelines

    exhume_grep

    Search indexed file contents

  3. Filesystems
    exhume_filesystem

    One API to browse, read & export files

    ExtFSNTFSAPFSexFATBTRFSZFSXFSQNX

    Also reads extracted folders directly.

  4. Partitions & volumes
    exhume_partitions

    Locate partitions in disk images

    GPTMBREBR
    exhume_lvm

    Inspect & access logical volumes

    LVM
  5. Evidence sources
    exhume_body

    Format-independent evidence access

    RAWEWFVMDKAFFAFF4QCOW2VHDX
    exhume_memory

    Acquire & analyse volatile memory

    memflowLeechCore

    A separate path for memory evidence.

Arrows follow module dependencies. Memory follows a separate acquisition path.

Thanatology uses the agent, indexer and memory modules. The agent and grep use the indexer. The indexer calls artefact parsers and the filesystem API. Artefact parsers also read through the filesystem API. The filesystem API uses partitions and LVM to access evidence through exhume_body.

Exhume architecture
ModulePurpose
exhume_bodyOpen disk images and other evidence sources through a format-independent interface.
exhume_partitionsLocate partitions using GPT, MBR, and extended partition tables.
exhume_lvmInspect LVM metadata and access logical volumes.
exhume_extfsRead Linux extended filesystem records and file contents.
exhume_ntfsRead NTFS records and file contents.
exhume_exfatRead exFAT records and file contents.
exhume_apfsInspect APFS containers, volumes, and filesystem records.
exhume_filesystemBrowse supported filesystems and extracted folders through a common API; export files, directories, and volumes.
exhume_artefactsParse operating-system and application artefacts into structured records.
exhume_indexerStore filesystem metadata in SQLite and coordinate file identification, artefact parsing, and timeline generation.
exhume_grepSearch indexed file contents with literal or regex patterns.
exhume_memoryAcquire and analyse volatile memory through memflow connectors.
exhume_agentEmbed a forensic assistant with Exhume tools and a terminal interface.

Installation​

Install Rust​

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

Restart your terminal after installation so that cargo is on your path.

Install individual tools​

Install the modules needed for your investigation. For example:

cargo install exhume_body --locked

Each module's documentation describes its installation and supported inputs.

Build from source​

Clone the workspace and its module submodules:

git clone --recurse-submodules https://github.com/forensicxlab/exhume.git
cd exhume
cargo build --release --workspace

For an existing checkout, initialize any missing submodules with git submodule update --init --recursive before building.

You can also build an individual module:

cargo build --release -p exhume_body
cargo run -p exhume_body -- --help

Release binaries are written to target/release/. Workspace builds use the checked-out module sources; published crates may have different versions.

Working with evidence​

For a disk image, first inspect the source with exhume_body and locate the filesystem with exhume_partitions or exhume_lvm. The filesystem and indexer CLIs take the filesystem offset in bytes and its length in sectors. Extracted folders need neither value.

Choose the relevant module above for supported formats, command-line examples, and analysis capabilities.

Library integration and source code​

Module sections include library documentation where available, with dependency setup and examples for integrating Exhume into Rust applications.

The Exhume workspace links to the individual module repositories. Source-oriented explanations are also available on DeepWiki: