Skip to main content

Volatility3 MCP Server - Memory forensics analysis through MCP protocol

Project description

Volatility3 MCP Server

Introduction

Volatility3 MCP Server is a powerful tool that connects MCP clients like Claude Desktop with Volatility3, the advanced memory forensics framework. This integration allows LLMs to analyze memory dumps, detect malware, and perform sophisticated memory forensics tasks through a simple, conversational interface. Architecture Diagram

Demo

Demo Video

You can also find a detailed presentation on this tool here.

What This Solves

Memory forensics is a complex field that typically requires specialized knowledge and command-line expertise. This project bridges that gap by:

  • Allowing non-experts to perform memory forensics through natural language
  • Enabling LLMs to directly analyze memory dumps and provide insights
  • Automating common forensic workflows that would normally require multiple manual steps
  • Making memory forensics more accessible and user-friendly

Features

  • Memory Dump Analysis: Analyze Windows and Linux memory dumps using various plugins
  • Process Inspection: List running processes, examine their details, and identify suspicious activity
  • Network Analysis: Examine network connections to detect command and control servers
  • Cross-Platform Support: Works with both Windows and Linux memory dumps (macOS support coming soon)
  • Malware Detection: Scan memory with YARA rules to identify known malware signatures

Configuration

  1. Clone this repository:
  2. Create a virtual environment:
    python -m venv environ
    source environ/bin/activate
    
  3. Install the required dependencies:
    pip install -r requirements.txt
    

You can use this project in two ways:

Option 1: With Claude Desktop

  1. Configure Claude Desktop:
    • Go to Claude -> Settings -> Developer -> Edit Config -> claude_desktop_config.json and add the following
         {
             "mcpServers": {
             "volatility3": {
                 "command": "absolute/path/to/virtual/environment/bin/python3",
                 "args": [
                 "absolute/path/to/bridge_mcp_volatility.py"
                 ]
             }
             }
         }
      
      Tools available in Claude Desktop
  2. Restart Claude Desktop and begin analyzing the memory dumps.

Option 2: With Cursor (SSE Server)

  1. Start the SSE server:
    python3 start_sse_server.py
    
  2. Configure Cursor to use the SSE server:
    • Open Cursor settings
    • Navigate to Features -> MCP Servers
    • Add a new MCP server with the URL http://127.0.0.1:8080/sse Cursor Composer
  3. Use the Cursor Composer in agent mode and begin analyzing memory dumps.

Available Tools

  • initialize_memory_file: Set up a memory dump file for analysis
  • detect_os: Identify the operating system of the memory dump
  • list_plugins: Display all available Volatility3 plugins
  • get_plugin_info: Get detailed information about a specific plugin
  • run_plugin: Execute any Volatility3 plugin with custom arguments
  • get_processes: List all running processes in the memory dump
  • get_network_connections: View all network connections from the system
  • list_process_open_handles: Examine files and resources accessed by a process
  • scan_with_yara: Scan memory for malicious patterns using YARA rules

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

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

Source Distribution

Built Distribution

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

File details

Details for the file iflow_mcp_kirandawadi_volatility3_mcp-0.1.0.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_kirandawadi_volatility3_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5324b354d2178fed909b1413eab52517d2658d4d8cdbfcc8b137166852a716f5
MD5 f423bdfbb74f5803717108f41b50136d
BLAKE2b-256 8328caa9dff456c3fb3153e580cb0b8dcbe66cac64babf91886f0c3aa13f2306

See more details on using hashes here.

File details

Details for the file iflow_mcp_kirandawadi_volatility3_mcp-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_kirandawadi_volatility3_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d72a6f46572feae4a0822eca93ea154b8a95a2b50f041df96ca61bb6ded301df
MD5 fbf5a614ec95b7cbdfbc63134ee51419
BLAKE2b-256 795326e6111196427ad752f04d4e295f448398496611ba12f68d37bf2db53df1

See more details on using hashes here.

Supported by

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