Dissect-mcp-server
by heejung0
Overview
This server exposes the Dissect digital forensics library as a Model Context Protocol (MCP) server, enabling MCP clients to extract and analyze various artifacts from disk images (E01, RAW, VMDK, etc.).
Installation
/path/to/.venv/bin/python /path/to/dissect_mcp_server.pyEnvironment Variables
- DISSECT_TARGET_QUERY
- DISSECT_RDUMP
- DISSECT_TARGET_FS
- DISSECT_ACQUIRE_BIN
- DISSECT_ACQUIRE_DIR
- DISSECT_EXTRACT_DIR
Security Notes
The server executes external binaries (`target-query`, `rdump`, `target-fs`, `acquire`) via `subprocess.run` with user-controlled arguments like `image_path`, `plugin`, `search`, `fs_path`, `username`, `profile`, and `output_type`. While `subprocess.run` with a list of arguments (`List[str]`) typically prevents direct shell injection, it does not mitigate application-level injection if the `dissect` binaries themselves interpret specially crafted arguments as commands or options. A significant risk is the ability to specify an `output_dir` in `extract_file_or_directory` and `acquire_minimal_artifacts`. Without robust path sanitization (e.g., preventing `../../../` traversal), a malicious client could potentially instruct the server to write or extract files to arbitrary locations on the host system, leading to privilege escalation, data destruction, or denial of service. The security posture is highly dependent on the robustness of the underlying `dissect` tools against malicious input passed as arguments.
Similar Servers
ida_domain_mcp
A headless IDA Pro server for remote, programmatic binary analysis and reverse engineering via the Model Context Protocol (MCP).
air-mcp
A Node.js server implementing Model Context Protocol (MCP) for Binalyze AIR, enabling natural language interaction with AIR's digital forensics and incident response capabilities.
x64dbg-mcp
Provides a JSON-RPC 2.0 HTTP/SSE interface for external applications and AI agents to perform remote debugging and interact programmatically with x64dbg/x32dbg.
mcp-csharp-sdk-client
This repository provides a C# SDK and client example for the Model Context Protocol (MCP), enabling integration of Large Language Models with applications like debuggers (x64Dbg) to create AI agents.