Logo Volatility MCP Server

Volatility MCP Server

Cộng đồng
bornpresident

A Model Context Protocol (MCP) server that integrates Volatility 3 memory forensics framework with Claude

Nhà phát hànhbornpresident
Kho mãVolatility-MCP-Server
Ngôn ngữPython
Bản fork
7
Sao
40
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Volatility MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    40 sao và 7 bản fork từ kho mã được liên kết.

Volatility MCP Server

A Model Context Protocol (MCP) server that integrates Volatility 3 memory forensics framework with Claude and other MCP-compatible LLMs.

Why This Matters

In India, digital forensic investigators face a massive backlog of cases due to the country's large population and rising cybercrime rates. This tool helps address this challenge by:

  • Allowing investigators to analyze memory dumps using simple natural language instead of complex commands
  • Reducing the technical expertise needed to perform memory forensics
  • Accelerating the analysis process through automation
  • Helping clear case backlogs and deliver faster results to the judicial system

By making memory forensics more accessible, this tool can significantly reduce the burden on forensic experts and improve cybersecurity response across India.

Overview

This project bridges the powerful memory forensics capabilities of the Volatility 3 Framework with Large Language Models (LLMs) through the Model Context Protocol (MCP). It allows you to perform memory forensics analysis using natural language by exposing Volatility plugins as MCP tools that can be invoked directly by Claude or other MCP-compatible LLMs.

Features

  • Natural Language Memory Forensics: Ask Claude to analyze memory dumps using natural language
  • Process Analysis: Examine running processes, parent-child relationships, and hidden processes
  • Network Forensics: Identify network connections in memory dumps
  • Malware Detection: Find potential code injection and other malicious artifacts
  • DLL Analysis: Examine loaded DLLs and modules
  • File Objects: Scan for file objects in memory
  • Custom Plugins: Run any Volatility plugin with custom arguments
  • Memory Dump Discovery: Automatically find memory dumps in a directory

Requirements

  • Python 3.10 or higher
  • Volatility 3 Framework
  • Claude Desktop or other MCP-compatible client
  • MCP Python SDK (mcp package)

Installation

  1. Clone this repository:

    bash
    git clone https://github.com/yourusername/volatility-mcp-server.git
  2. Install the required Python packages:

    bash
    pip install mcp httpx
  3. Configure the Volatility path in the script:

    • Open volatility_mcp_server.py and update the VOLATILITY_DIR variable to point to your Volatility 3 installation path.
  4. Configure Claude Desktop:

    • Open your Claude Desktop configuration file located at:
      • Windows: %APPDATA%\Claude\claude_desktop_config.json
      • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Add the server configuration:
    json
    {
      "mcpServers": {
        "volatility": {
          "command": "python",
          "args": [
            "/path/to/volatility_mcp_server.py"
          ],
          "env": {
            "PYTHONPATH": "/path/to/volatility3"
          }
        }
      }
    }
    • Replace /path/to/ with the actual path to your files.
  5. Restart Claude Desktop to apply the changes.

Usage

After setup, you can simply ask Claude natural language questions about your memory dumps:

  • "List all processes in the memory dump at C:\path\to\dump.vmem"
  • "Show me the network connections in C:\path\to\dump.vmem"
  • "Run malfind to check for code injection in the memory dump"
  • "What DLLs are loaded in process ID 4328?"
  • "Check for hidden processes in C:\path\to\dump.vmem"

Available Tools

The server exposes the following Volatility plugins as MCP tools:

  1. list_available_plugins - Shows all Volatility plugins you can use
  2. get_image_info - Provides information about a memory dump file
  3. run_pstree - Shows the process hierarchy
  4. run_pslist - Lists processes from the process list
  5. run_psscan - Scans for processes including ones that might be hidden
  6. run_netscan - Shows network connections in the memory dump
  7. run_malfind - Detects potential code injection
  8. run_cmdline - Shows command line arguments for processes
  9. run_dlllist - Lists loaded DLLs for processes
  10. run_handles - Shows file handles and other system handles
  11. run_filescan - Scans for file objects in memory
  12. run_memmap - Shows the memory map for a specific process
  13. run_custom_plugin - Run any Volatility plugin with custom arguments
  14. list_memory_dumps - Find memory dumps in a directory

Memory Forensics Workflow

This MCP server enables a streamlined memory forensics workflow:

  1. Initial Triage:

    • "Show me the process tree in memory.vmem"
    • "List all network connections in memory.vmem"
  2. Suspicious Process Investigation:

    • "What command line was used to start process 1234?"
    • "Show me all the DLLs loaded by process 1234"
    • "What file handles are open in process 1234?"
  3. Malware Hunting:

    • "Run malfind on memory.vmem to check for code injection"
    • "Show me processes with unusual parent-child relationships"
    • "Find hidden processes in memory.vmem"

Troubleshooting

If you encounter issues:

  1. Path Problems:

    • Make sure all paths are absolute and use double backslashes in Windows paths
    • Check that the memory dump file exists and is readable
  2. Permission Issues:

    • Run Claude Desktop as Administrator
    • Check that Python and the Volatility directory have proper permissions
  3. Volatility Errors:

    • Make sure Volatility 3 works correctly on its own
    • Try running the same command directly in your command line
  4. MCP Errors:

    • Check Claude Desktop logs for MCP errors
    • Make sure the MCP Python package is installed correctly

Extending

This server can be extended by:

  1. Adding more Volatility plugins
  2. Creating custom analysis workflows
  3. Integrating with other forensic tools
  4. Adding report generation capabilities

License

MIT License

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

{
  "mcpServers": {
    "yourusername-volatility-mcp-server": {
      "command": "",
      "args": []
    }
  }
}

Dùng MCP Volatility MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Volatility MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Volatility MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Volatility MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "yourusername-volatility-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "Volatility-MCP-Server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Volatility MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Volatility MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Volatility MCP Server giúp tôi làm việc này không?
Volatility MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Volatility MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Volatility MCP Server dùng để làm gì?

Volatility MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Volatility MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Volatility MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Volatility MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Volatility MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Volatility MCP Server với TypingMind?

Volatility MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Volatility MCP Server cung cấp những công cụ nào trong TypingMind?

Volatility MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Volatility MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Volatility MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇