Volatility MCP
Integrates Volatility 3 memory analysis with FastAPI and MCP, exposing memory forensics plugins via REST APIs.
Your AI Assistant in Memory Forensics
Overview
Volatility MCP seamlessly integrates Volatility 3's powerful memory analysis with FastAPI and the Model Context Protocol (MCP). Experience memory forensics without barriers as plugins like pslist and netscan become accessible through clean REST APIs, connecting memory artifacts directly to AI assistants and web applications
Features
- Volatility 3 Integration: Leverages the Volatility 3 framework for memory image analysis.
- FastAPI Backend: Provides RESTful APIs to interact with Volatility plugins.
- Web Front End Support (future feature): Designed to connect with a web-based front end for interactive analysis.
- Model Context Protocol (MCP): Enables standardized communication with MCP clients like Claude Desktop.
- Plugin Support: Supports various Volatility plugins, including
pslistfor process listing andnetscanfor network connection analysis.
Architecture
The project architecture consists of the following components:
- MCP Client: MCP client like Claude Desktop that interacts with the FastAPI backend.
- FastAPI Server: A Python-based server that exposes Volatility plugins as API endpoints.
- Volatility 3: The memory forensics framework performing the analysis.
This architecture allows users to analyze memory images through MCP clients like Claude Desktop. Users can use natural language prompts to perform memory forensics analysis such as show me the list of the processes in memory image x, or show me all the external connections made
Getting Started
Prerequisites
- Python 3.7+ installed on your system
- Volatility 3 binary installed (see Volatility 3 Installation Guide) and added to your env path called VOLATILITY_BIN
Installation
-
Clone the repository:
git clone <repository_url> cd <repository_directory> -
Install the required Python dependencies:
pip install -r requirements.txt -
Start the FastAPI server to expose Volatility 3 APIs:
uvicorn volatility_fastapi_server:app -
Install Claude Desktop (see Claude Desktop
-
To configure Claude Desktop as a volatility MCP client, navigate to Claude → Settings → Developer → Edit Config, locate the claude_desktop_config.json file, and insert the following configuration details
-
Please note that the
-ioption in the config.json file specifies the directory path of your memory image file.{ "mcpServers": { "vol": { "command": "python", "args": [ "/ABSOLUTE_PATH_TO_MCP-SERVER/vol_mcp_server.py", "-i", "/ABSOLUTE_PATH_TO_MEMORY_IMAGE/<memory_image>" ] } } }
Alternatively, update this file directly:
/Users/YOUR_USER/Library/Application Support/Claude/claude_desktop_config.json
Usage
- Start the FastAPI server as described above.
- Connect an MCP client (e.g., Claude Desktop) to the FastAPI server.
- Start the prompt by asking questions regarding the memory image in scope, such as showing me the running processes, creating a tree relationship graph for process x, or showing me all external RFC1918 connections.
Future Features and Enhancements
- Native Volatility Python Integration: Incorporate Volatility Python SDK directly in the code base as opposed to subprocess volatility binary
- Yara Integration: Implement functionality to dump a process from memory and scan it with Yara rules for malware analysis.
- Multi-Image Analysis: Enable the analysis of multiple memory images simultaneously to correlate events and identify patterns across different systems.
- Adding more Volatility Plugins: add more volatility plugins to expand the scope of memory analysis
- GUI Enhancements: Develop a user-friendly web interface for interactive memory analysis and visualization.
- Automated Report Generation: Automate the generation of detailed reports summarizing the findings of memory analysis.
- Advanced Threat Detection: Incorporate advanced techniques for detecting sophisticated threats and anomalies in memory.
Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork this repository.
- Create a new branch (
git checkout -b feature/my-feature). - Commit your changes (
git commit -m 'Add some feature'). - Push to your branch (
git push origin feature/my-feature). - Open a pull request.
相关服务器
Alpha Vantage MCP Server
赞助Access financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Utils
A Python package with utilities and helpers for building MCP-compliant servers, often using Flask and Redis.
Cloudflare MCP Server
An example MCP server designed for easy deployment on Cloudflare Workers, operating without authentication.
Formo
Formo makes analytics and attribution easy for crypto apps, so you can focus on growth. Measure what matters and drive growth onchain with the data platform for onchain apps. Get the best of web, product, and onchain analytics on one versatile platform.
Unified MCP Client Library
An open-source library to connect any LLM to any MCP server, enabling the creation of custom agents with tool access.
Flowbite MCP
This MCP server is the official tool that allows you to work with the Flowbite UI framework and generate websites, layouts, and themes using AI
FastMCP
A TypeScript framework for building MCP servers with client session handling.
Unified MCP Client Library
A TypeScript library for integrating MCP with tools like LangChain and Zod, providing helpers for schema conversion and event streaming.
MCP Quickstart
A basic MCP server from the Quickstart Guide, adapted for OpenAI's Chat Completions API.
DevHub
Manage and utilize website content within the DevHub CMS platform
Ollama MCP Bridge
A bridge API service connecting Ollama with Model Context Protocol (MCP) servers.
