Skip to main content
Glama
JrScriptKiddie

Volatility MCP

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 3

vol_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 + generic run_plugin.

  • format="json" — машиночитаемый вывод (JSON-рендерер Volatility).

  • extract_vad — дамп региона памяти (шеллкод) на диск + SHA256 + hex-превью.

  • Lazy validation — сервер стартует без образа (для CI/универсального деплоя).

Tools

Tool

Windows

Linux

macOS

Что даёт

get_info

windows.info.Info

banners.Banners

banners.Banners

идентификация образа (OS build, DTB, SystemTime)

get_processes

windows.pslist.PsList

linux.pslist.PsList

mac.pslist.PsList

список процессов

get_pstree

windows.pstree.PsTree

linux.pstree.PsTree

mac.pstree.PsTree

дерево процессов

get_psscan

windows.psscan.PsScan

linux.psscan.PsScan

скрытые/завершённые процессы (DKOM)

get_malfind

windows.malware.malfind.Malfind

linux.malware.malfind.Malfind

mac.malfind.Malfind

инжектированный код (RWX VAD)

get_vadinfo(pid)

windows.vadinfo.VadInfo

VAD-узлы (File=N/A ⇒ инъекция)

get_dlllist(pid)

windows.dlllist.DllList

linux.elfs.Elfs

DLL/ELF (шеллкод vs DLL-injection)

get_connections

windows.netscan.NetScan

linux.sockstat.Sockstat

mac.netstat.Netstat

сетевые соединения (C2)

get_cmdline

windows.cmdline.CmdLine

командные строки

get_handles(pid)

windows.handles.Handles

linux.lsof.Lsof

mac.lsof.Lsof

открытые хэндлы/fd

get_envars(pid)

windows.envars.Envars

переменные окружения (LD_PRELOAD и т.п.)

get_filescan

windows.filescan.FileScan

linux.lsof.Lsof

открытые/маппленные файлы

extract_vad(pid, address)

дамп VAD + SHA256 + hex

извлечение шеллкода

run_plugin(plugin, args)

любой плагин

любой

любой

generic-пасстор

Installation

git clone <this-repo> && cd volatility-mcp
./setup.sh          # создаст .venv и поставит зависимости
# или вручную: python3 -m venv .venv && .venv/bin/pip install -r requirements.txt

Usage

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      # принудительно Linux

opencode (или другой 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 2476

Security

  • Дампы памяти содержат чувствительные данные — слушать только на 127.0.0.1, не открывать наружу.

  • run_vol_mcp.sh и FastAPI привязываются к loopback по умолчанию.

Development

pip install -r requirements.txt
# Smoke-тест (то же, что в CI): .github/workflows/ci.yml

License

Apache 2.0 — унаследовано от Gaffx/volatility-mcp.

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

UpdatingMaintainers
UpdatingResponse time
Release cycle
0Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Connects 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
  • F
    license
    Not graded
    quality
    D
    maintenance
    AI-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.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables 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.
    52
    Apache 2.0
  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables automated memory forensics analysis using Volatility 3, supporting Windows, Linux, and macOS memory dumps through a modular plugin interface.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Persistent memory and knowledge management for AI agents with semantic search and 50+ tools.

  • Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.

  • CVE lookups (NVD) and dependency-manifest audits (OSV) for AI agents. No API keys.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JrScriptKiddie/volatility-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server