Volatility MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP-сервер, который оборачивает Volatility 3 и позволяет LLM-ассистенту (opencode / Claude Desktop и др.) проводить memory forensics на естественном языке: «покажи процессы», «найди инъекцию», «есть ли C2-соединения».
Форк Gaffx/volatility-mcp (Apache 2.0) с доработками под курс SOC: single-process запуск (без FastAPI-слоя), OS-aware плагины (Windows/Linux/macOS с автоопределением), расширенный набор инструментов и извлечение шеллкода из памяти.
Architecture
MCP client (opencode) ──stdio──▶ vol_mcp_server.py ──subprocess──▶ vol -q -f <dump> <plugin>
естественный язык (FastMCP, single-process) Volatility 3vol_mcp_server.py — самодостаточный MCP-сервер: он напрямую вызывает
бинарник vol через subprocess (никакого HTTP/FastAPI-бэкенда не требуется).
Опционально остаётся REST-режим (как в оригинале): volatility_fastapi_server.py
поднимает FastAPI-бэкенд, эндпоинты /plugins, /analyze/{plugin}.
Related MCP server: Memory Forensics MCP Server
Features
Single-process MCP-сервер (без FastAPI-зависимости).
OS-aware:
--os auto|windows|linux|mac, по умолчанию определяется по образу.12 именованных инструментов +
extract_vad+ genericrun_plugin.format="json"— машиночитаемый вывод (JSON-рендерер Volatility).extract_vad — дамп региона памяти (шеллкод) на диск + SHA256 + hex-превью.
Lazy validation — сервер стартует без образа (для CI/универсального деплоя).
Tools
Tool | Windows | Linux | macOS | Что даёт |
|
|
|
| идентификация образа (OS build, DTB, SystemTime) |
|
|
|
| список процессов |
|
|
|
| дерево процессов |
|
|
| — | скрытые/завершённые процессы (DKOM) |
|
|
|
| инжектированный код (RWX VAD) |
|
| — | — | VAD-узлы ( |
|
|
| — | DLL/ELF (шеллкод vs DLL-injection) |
|
|
|
| сетевые соединения (C2) |
|
| — | — | командные строки |
|
|
|
| открытые хэндлы/fd |
|
| — | — | переменные окружения (LD_PRELOAD и т.п.) |
|
|
| — | открытые/маппленные файлы |
| дамп VAD + SHA256 + hex | — | — | извлечение шеллкода |
| любой плагин | любой | любой | generic-пасстор |
Installation
git clone <this-repo> && cd volatility-mcp
./setup.sh # создаст .venv и поставит зависимости
# или вручную: python3 -m venv .venv && .venv/bin/pip install -r requirements.txtUsage
CLI (проверка)
export VOLATILITY_BIN=$PWD/.venv/bin/vol
python vol_mcp_server.py -i /path/to/mem.raw # авто-OS
python vol_mcp_server.py -i /path/to/mem.raw --os linux # принудительно Linuxopencode (или другой MCP-клиент)
~/.config/opencode/opencode.jsonc (или opencode.json проекта):
{
"mcp": {
"vol": {
"type": "local",
"command": ["/path/to/run_vol_mcp.sh", "-i", "/path/to/mem.raw"],
"enabled": true
}
}
}run_vol_mcp.sh — тонкий лаунчер: задаёт VOLATILITY_BIN/символы и запускает
vol_mcp_server.py. После правки конфига перезапустите opencode.
Пример диалога
> покажи процессы в дампе, что подозрительного?
→ get_processes: spoolsv.exe PID 2476 + win32calc.exe PID 2768
> найди инжектированный код
→ get_malfind: spoolsv.exe 0x234f27a0000 PAGE_EXECUTE_READWRITE VadS N/A
> извлеки шеллкод из этого региона
→ extract_vad(pid=2476, address=0x234f27a0000, size=276)
sha256[276] = cdfc6f54… hex[276] = fc4883e4f0…
> есть ли C2-соединения?
→ get_connections: только RPC spooler (49677), внешних нетOptional — FastAPI/REST backend
export VOLATILITY_BIN=$PWD/.venv/bin/vol
.venv/bin/uvicorn volatility_fastapi_server:app --host 127.0.0.1 --port 8000
# GET /plugins
# GET /analyze/malfind?image_path=/path/mem.raw
# GET /analyze/vadinfo?image_path=/path/mem.raw&args=--pid 2476Security
Дампы памяти содержат чувствительные данные — слушать только на
127.0.0.1, не открывать наружу.run_vol_mcp.shи FastAPI привязываются к loopback по умолчанию.
Development
pip install -r requirements.txt
# Smoke-тест (то же, что в CI): .github/workflows/ci.ymlLicense
Apache 2.0 — унаследовано от Gaffx/volatility-mcp.
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.
Real-time CVE, exploit, and vulnerability intelligence for AI assistants (350K+ CVEs, 115K+ PoCs)
AI Agent Utility Layer for agent safety, web monitoring, crypto research and tool discovery.
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects LLMs like Claude Desktop with Volatility3 forensics framework, enabling users to analyze memory dumps, detect malware, and perform memory forensics tasks through natural language conversation.19-
- FlicenseNot gradedqualityDmaintenanceAI-powered memory dump analysis using Volatility 3 for digital forensics investigations. Enables process analysis, malware detection, network forensics, timeline generation, and anomaly detection with support for Claude, Llama, and other LLMs.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform memory forensics analysis using Volatility 3 through natural language prompts. Supports process listing, network connection analysis, and other memory artifact inspection from memory images.52Apache 2.0
- AlicenseNot gradedqualityFmaintenanceEnables automated memory forensics analysis using Volatility 3, supporting Windows, Linux, and macOS memory dumps through a modular plugin interface.2MIT