Skip to main content

mulder

Mulder takes a directory of forensic evidence (disk images, memory dumps, PCAPs, event logs) and runs a five-phase autonomous investigation with hard quality gates between each phase. It produces structured incident reports with MITRE ATT&CK mappings, IOC exports, and a full audit trail. An adversarial "Alternative Narrative" phase challenges every finding before the report is generated. All tool invocations go through typed MCP interfaces - never through a shell - and an append-only audit log validates every evidence citation at the API boundary, making findings with fabricated evidence citations structurally impossible to submit.

Results

Four autonomous investigations against real forensic datasets, unmodified from tool output. Each case has an interactive HTML report on GitHub Pages (sidebar navigation, dark/light theme, audit trail). See the examples index for all report links.

Case Systems Evidence Sources Tool Calls Findings Runtime Tokens Report
Rocba 1 ~8 GB 67 292 7 (1 high) 66 min 313K HTML
SRL-2015 4 ~30 GB 159 610 29 (4 crit, 9 high) 126 min 300K HTML
SRL-2018 11 ~120 GB 457 1,508 55 (11 crit, 19 high) 336 min 698K HTML
NIST Data Leakage 4 ~8 GB 88 723 33 (15 high) 102 min 330K HTML

The NIST Data Leakage case has a detailed accuracy report validated against published NIST ground truth: 60% full match, 90% detection rate, 5% false positive rate. The single false positive involved incorrect causal attribution (blaming CCleaner for artifact destruction when the answer key confirms it was launched and closed without action).

How It Works

Mulder Architecture and Security Boundaries

Each investigation runs through five phases with quality gates between them. Phases 2-4 use a plan-and-execute pipeline with three specialized roles (planner, executor, analyst) that can optionally be assigned to different models for cost optimization.

  1. Catalog - scan evidence directory, classify file types, identify distinct systems
  2. Extraction - run applicable forensic tools per system, index results into FTS5 database
  3. Cross-System Analysis - correlate events across systems, map MITRE ATT&CK techniques, deduplicate findings
  4. Alternative Narrative - challenge the primary narrative with counter-evidence, test alternative hypotheses, audit for tool and evidence coverage gaps
  5. Report - write the investigation narrative, generate Markdown/HTML reports, export IOCs and ATT&CK Navigator layers

Each gate validates structural criteria (minimum sources indexed, findings submitted, MITRE mappings present, audit tools invoked). Failed gates trigger retries with escalating turn budgets and gap-specific remediation instructions. See Architecture for the full pipeline design.

Key Design Decisions

No shell access. All 140+ tool invocations go through typed MCP interfaces with validated parameters. The agent never gets a shell. Every action is auditable and every parameter is constrained to its declared type.

Anti-hallucination at the API boundary. Every finding must cite evidence_refs that are real tool_call_id values from the append-only audit log. The MCP server validates these references at submission time and rejects findings that cite nonexistent tool calls. Timestamps are validated as ISO-8601 and auto-nullified when they appear fabricated. This is enforced architecturally, not by prompting.

Adversarial self-review. Phase 4 explicitly challenges the primary narrative before report generation. It formulates counter-hypotheses, searches for disconfirming evidence, and runs coverage audits to identify which tools were applicable but never invoked and which evidence sources were indexed but never cited.

Token efficiency. The SRL-2018 investigation (11 systems, 120 GB, 1,508 tool calls across 336 minutes) consumed 698K tokens. For cost optimization, the three pipeline roles (planner, executor, analyst) can be assigned to different models - routing mechanical tool-calling to a cheaper model while preserving reasoning quality for analysis.

Quick Start

Install natively (SIFT Workstation, Debian/Ubuntu)

curl -fsSL https://raw.githubusercontent.com/calebevans/mulder/main/install.sh | bash

One command. It prints what it will do, asks once, then installs the OS packages you are missing (via apt, asking for your sudo password), mulder itself (via pipx, no sudo), and the forensic data and helper tools (~2.1 GB, no sudo). On a stock SIFT Workstation the only OS package missing is yara — SIFT ships the python3-yara module but not the binary.

Prefer to run the steps yourself:

sudo apt install git sleuthkit yara p7zip-full binutils
pipx install "mulder-dfir[forensics]"
mulder setup
mulder investigate /path/to/evidence my-case-id

pipx installs mulder into its own isolated virtualenv and puts the mulder command on your PATH; uv tool install "mulder-dfir[forensics]" works identically. The forensics extra pulls in Zircolite's runtime dependencies. If mulder is not found afterwards, open a new terminal — Ubuntu only adds ~/.local/bin to PATH at login, and only if it already existed.

On first run mulder creates a working directory at ~/.mulder/workspace (override with --cwd or MULDER_CWD) and writes a default .mcp.json into it. Case databases and reports go to ~/.mulder/cases (override with --db-dir).

mulder setup downloads everything mulder owns - rule sets, signatures, and helper binaries - in one run (~2.2 GB, no sudo, refuses to run as root). It pins the same versions the container image uses. The rest of the forensic toolchain (Sleuth Kit, plaso, Zeek, dotnet) is your OS's job; SIFT already provides all of it except the yara binary above. See the Usage Guide for the full picture. The container remains available if you would rather not install anything at all.

Run with Docker (everything preinstalled)

docker pull ghcr.io/calebevans/mulder:1.4.0
mkdir -p ~/mulder-cases

docker run -it --privileged \
  -v /path/to/evidence:/evidence:ro \
  -v ~/mulder-cases:/home/mulder/.mulder/cases \
  -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
  ghcr.io/calebevans/mulder:1.4.0
mulder investigate /evidence my-case-id

For Vertex AI, Amazon Bedrock, non-Anthropic models via LiteLLM, and full CLI options, see the Usage Guide.

Use as an MCP server

Add to claude_desktop_config.json / .mcp.json:

{
  "mcpServers": {
    "mulder": {
      "type": "stdio",
      "command": "mulder",
      "args": ["serve"]
    }
  }
}

Without installing first, uvx mulder-dfir serve works too.

Case Briefing (Optional)

Drop a MULDER.md file in your evidence directory to provide case context:

## What We Know
- The network was breached on March 15
- Suspect account: jsmith

## What We're Looking For
- How did the attacker gain initial access?
- Was data exfiltrated?

The briefing is injected into every investigation phase, guiding tool selection, analysis focus, and report framing. See the Usage Guide for details.

Forensic Tools

Mulder integrates 35+ open-source forensic tools exposed as 140+ typed MCP operations:

Category Tools
Memory Volatility 3 (14 plugins)
Disk Sleuthkit, Plaso, foremost, PhotoRec, Scalpel
Windows artifacts EZ Tools (Prefetch, Amcache, ShimCache, MFT, USN Journal, Jump Lists, Shellbags, SRUM), RegRipper, Hayabusa (3,700+ Sigma rules), Chainsaw
Event logs python-evtx, Zircolite
Network tshark, Zeek, Suricata, tcpflow, tcpxtract
Malware YARA, CAPA, FLOSS, ClamAV, radare2, Detect-It-Easy *
Documents oletools, PDF tools, pst-utils
Mobile ALEAPP, iLEAPP, MVT
Other bulk_extractor, binwalk, ExifTool, ssdeep, hashdeep, steghide, Hindsight

* Detect-It-Easy is supported but not bundled: its .deb pulls in ten libqt5* packages for a CLI that draws nothing. run_detect_it_easy uses it if diec is on $PATH, and reports it as missing otherwise. Packing is still flagged without it — triage_binary checks section entropy, RWX permissions, known packer section names and import-table shape.

Full API reference: Tool Manifest

Output

Each investigation produces:

  • Markdown and HTML reports - executive summary, attack timeline, findings with MITRE ATT&CK mappings, IOC tables, and audit trail (example HTML reports)
  • Per-case SQLite database - FTS5 full-text search across all indexed evidence
  • Append-only audit log - JSONL recording every tool invocation with BLAKE2b output hashes
  • Optional exports - STIX 2.1 IOC bundle, CSV IOC list, and MITRE ATT&CK Navigator layer via mulder export-iocs and mulder export-navigator

Documentation

Document Description
Usage Guide Installation, providers, CLI reference, Docker configuration
Architecture System design, pipeline phases, quality gates, data flow
Tool Manifest API reference for all MCP tools
Adding Tools Contributor guide for adding new forensic tools
Glossary Terminology and definitions

License

Apache-2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mulder_dfir-1.4.0.tar.gz (469.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mulder_dfir-1.4.0-py3-none-any.whl (460.0 kB view details)

Uploaded Python 3

File details

Details for the file mulder_dfir-1.4.0.tar.gz.

File metadata

  • Download URL: mulder_dfir-1.4.0.tar.gz
  • Upload date:
  • Size: 469.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mulder_dfir-1.4.0.tar.gz
Algorithm Hash digest
SHA256 fd307e4f1d012df6cbd2c48f329e3859b8157d7dd24bbb67d0159722d5799867
MD5 d7e5a484911706824fba04580cacdf17
BLAKE2b-256 789cb44b0b15864f243766e1e0453d6f5469866e9a5189d142d572d060a29ac1

See more details on using hashes here.

Provenance

The following attestation bundles were made for mulder_dfir-1.4.0.tar.gz:

Publisher: publish.yml on calebevans/mulder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mulder_dfir-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: mulder_dfir-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 460.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mulder_dfir-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c170c631c3bc92be372c245a57032a82e42fc3a34e5e48b37ae8b8d33cdce00
MD5 af2e5ebd2fa241ae8ba4c20b80219d18
BLAKE2b-256 1f4d603f2cd9d01a480a106f05adf99873235c5d8fa049290f09db961b253fa8

See more details on using hashes here.

Provenance

The following attestation bundles were made for mulder_dfir-1.4.0-py3-none-any.whl:

Publisher: publish.yml on calebevans/mulder

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page