mirror of
https://github.com/Kowntaewook/MCPTrace.git
synced 2026-11-02 04:45:09 +01:00
b4524239bd2c1be12b4c83803fd76908e5a3f833
MCPTrace
A Volatility 3 plugin for extracting MCP/JSON-RPC message candidates from Windows x64 and Linux x86-64 memory dumps. Preserves message content, process IDs, virtual addresses, and SHA-256 hashes, with optional JSONL export.
Installation
Requires Python 3.10+. Run in an activated virtual environment:
git clone https://github.com/Kowntaewook/MCPTrace.git
cd MCPTrace
python -m pip install .
Usage
Run from the repository root. Choose the plugin matching the dump's OS and replace the example paths and PIDs.
Windows
vol -f windows.raw windows.pslist.PsList
mkdir output-windows
vol -p plugins -f windows.raw -o output-windows windows.mcptrace.MCPTrace --pid 4242 --dump
Linux
Place ISF symbols matching the dump's kernel build in symbols/linux/ first.
vol -s symbols -f linux.lime linux.pslist.PsList
mkdir output-linux
vol -p plugins -s symbols -f linux.lime -o output-linux linux.mcptrace.MCPTrace --pid 4242 --dump
- Omit
--pidto scan all processes, or pass multiple PIDs:--pid 4242 5252. --dumpexports per-process JSONL files to the directory specified by-o.- Use
vol -p plugins windows.mcptrace.MCPTrace -h(or the Linux equivalent) for all options.
Description
Languages
Python
100%