Skip to content
KitploitKITPLOIT
OutilsExploitsBlog
Log in
Soumettre
OutilsExploitsBlog
Soumettre

Outils de Hacking, PenTest et Cybersécurité pour votre Arsenal de Sécurité !

Kitploit est un répertoire d'outils de hacking, de cybersécurité et de pentesting. Découvrez les dernières mises à jour des projets pour trouver des vulnérabilités, analyser des systèmes, automatiser les tests et renforcer votre sécurité.

FluxContactConfidentialité© 2026 Kitploit

Répertoire d'outils

Catégories

Voir toutes les catégories
Loading categories
Outils/GitHubGitHub/kowntaewook/mcptrace
Memory ForensicsForensicsInformation GatheringMalware AnalysisDigital ForensicsIncident ResponseAI SecurityLog Analysis
GitHubkowntaewook/mcptrace

MCPTrace

Volatility 3 plugin that carves MCP/JSON-RPC message candidates from Windows and Linux memory dumps, preserving raw bytes, addresses, and SHA-256 for verification.

Voir le dépôt
1965il y a 7 joursPas encore vérifié
Partager
Contenu non disponible dans la langue demandée. Affichage de la version anglaise.

MCPTrace

Latest release: v0.3.0 · Release notes

Current source: post-v0.3.0 development; the changes below have not been tagged as a new release.

MCPTrace is a Volatility 3 plugin for extracting MCP/JSON-RPC message candidates from Windows and Linux memory dumps. It examines process memory for requests, responses, notifications, tool names, and call arguments, then records the recovered content together with its location in memory.

The project focuses on evidence that an analyst can inspect and verify. Each artifact retains its original bytes, process ID, virtual address, encoding, length, and SHA-256 hash. Results can be exported as JSONL for further analysis or comparison with other logs. MCPTrace operates on an acquired memory image and does not require an LLM or an external AI API.

Features

  • Extract UTF-8 and UTF-16LE JSON-RPC artifacts from readable process memory.
  • Identify MCP-related methods and response shapes, including tools/call names and arguments.
  • Show the observed MCP/LSP classification signals and flag conflicting initialize evidence.
  • Preserve original bytes and addresses for later verification against the image.
  • Suggest request/response relationships using the same PID and typed request ID.
  • Apply optional, analyst-defined rules to tool arguments, such as path or URL checks.
  • Export artifacts and per-process summaries, including unreadable bytes, errors, and search limits.
  • Summarize exported JSONL as a case report that checks raw-byte hashes and shows scan limitations.

The current analysis targets are Windows x64 and Linux x86-64. The plugin name refers to the operating system in the memory image, independently of the OS used to run Volatility.

How it works

MCPTrace uses Volatility's process enumeration and address translation. On Windows, it walks process Virtual Address Descriptors (VADs); on Linux, it walks Virtual Memory Areas (VMAs). These mappings define which process address ranges are examined. The two adapters share the same message-carving, correlation, policy, and export code.

Within readable ranges, the scanner searches for literal JSON-RPC version markers and locates candidate JSON objects around them. It handles nested objects, escaped characters, braces inside strings, and messages spanning contiguous read chunks. JSON with duplicate keys or unsupported identifiers is rejected rather than silently reinterpreted. MCP relevance is determined from known method names, response shapes, and associated request IDs; it is not full MCP schema validation.

The ProtocolHint and ClassificationReasons columns explain why an artifact was labeled mcp-candidate, lsp-candidate, ambiguous, or generic-json-rpc. JSONL exports carry the same information as protocol_hint and classification_reasons. A matching Content-Length header is reported as context, not treated as proof of LSP: HTTP and other transports can leave the same header in memory. Ambiguous objects are shown by default so their conflicting signals remain reviewable; use --include-rpc to inspect LSP and generic JSON-RPC artifacts as well. None of these hints proves transmission or execution.

Missing memory is kept missing. The reader does not fill gaps with zeroes or join bytes across separate VADs/VMAs. With --include-partial, unparsed fragments can be shown separately, without inventing missing IDs or arguments. Large unmapped ranges can be skipped using page-table information, and unreadable address ranges remain visible in the scan statistics.

Correlation is deliberately conservative. A numeric ID such as 1 is distinct from the string ID "1", and messages in different processes are not automatically linked. Multiple distinct representations associated with an ID are marked as ambiguous. Candidate relationships do not reconstruct a session, message direction, or execution timeline on their own.

Installation

Requires Python 3.10+. Installation includes the pinned framework dependency, volatility3==2.28.2. Keep the repository's plugins/ directory available: the Python package is installed with pip, while -p plugins loads the Volatility adapters.

git clone https://github.com/Kowntaewook/MCPTrace.git
cd MCPTrace
python -m venv .venv

Activate the environment for your shell:

  • Windows PowerShell: .\.venv\Scripts\Activate.ps1
  • Linux/macOS shell: source .venv/bin/activate

Then install MCPTrace:

python -m pip install .

Usage

Run the following examples from the repository root with the virtual environment active. Replace the image paths and PIDs with your evidence and target processes. MCP clients and servers may run in separate processes, so inspect both where relevant.

Windows

Check that Volatility can interpret the image and enumerate its processes before running MCPTrace. Windows symbol preparation may require network access.

vol -f windows.raw windows.info.Info
vol -f windows.raw windows.pslist.PsList
mkdir output-windows
vol -p plugins -f windows.raw -o output-windows windows.mcptrace.MCPTrace --pid 4242 5252 --dump

Linux

Place ISF symbols matching the dump's exact kernel build in symbols/linux/. If linux.pslist.PsList cannot resolve its kernel or layer requirements, resolve the image/symbol setup before interpreting MCPTrace output.

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 --pid to scan all processes, or pass multiple PIDs: --pid 4242 5252.
  • --dump exports 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.

For a JSON rendering of the full result table, put the global -r json option before the plugin name. This is separate from the per-process JSONL exports produced by --dump.

vol -p plugins -f windows.raw -r json windows.mcptrace.MCPTrace --pid 4242 > findings.json

To create a content-minimized case summary from JSONL exports:

python -m mcptrace.report output-linux/mcptrace.pid-4242.jsonl --output case-report.json

The report checks exported raw-byte hashes and lengths, lists classification signals and scan limitations, and omits message bodies and arguments. It does not assign timestamps or prove that a recovered message was sent or executed. See the no-Windows validation record for the paired controlled-buffer comparison and its limits.

Common options

OptionPurpose
--pid 4242 5252Select process IDs; omit to examine all processes enumerated by the adapter.
--dumpExport displayed artifacts and scan summaries as JSONL using the global -o directory.
--include-partialInclude raw, unparsed fragments without reconstructing missing fields.
--include-rpcAlso display generic JSON-RPC candidates without confirmed MCP relevance.
--policy PATHApply local rules to tool arguments; see the Windows and Linux examples.
--suspicious-onlyShow policy matches and summaries; requires a nonempty policy.
--max-records NBound candidate records per process before filtering; default: 10000.
--max-object-bytes NBound the size of one complete JSON object; default: 65536 bytes.
--max-bytes NBound attempted address-range bytes per process; 0 means unlimited.
Télécharger l’outil

Populaires

Voir tout →

Découvrez les outils les plus utilisés par notre communauté.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 La boîte à outils OSINT ultime : graphe d'enquête, notation de confiance, familles d'alias, carte, chronologie et rapports. 49 modules, plus de 400 sites, aucune clé API requise.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # Application d'exécution en un clic GhostLock (CVE-2026-43499)

    594
  • 3

    looking-glass

    anonghosty/looking-glass

    Plateforme CSIRT qui ingère les rapports Shadowserver dans MongoDB et les rejoue sous forme de cartes interactives, d'analyses, de constats, d'avis et de tableaux de bord exécutifs.

    387
  • 4

    ARTEX

    baarai/artex

    Plateforme autonome de tests d'intrusion multi-agents basée sur des LLM, avec agents planificateur/ouvrier, graphes d'actifs et d'exploration, enregistrement du trafic MITM et retest des vulnérabilités.

    322
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    Le système d'action pour la cybersécurité native IA—où l'intention devient une exécution gouvernée, les preuves deviennent une mémoire opérationnelle, et chaque opération améliore la suivante.

    308
  • 6

    redforge

    cybersecurity91/redforge

    Boîte à outils red team côté navigateur avec 102 outils hors ligne pour la reconnaissance, la génération de payloads, les attaques par identifiants, la cryptographie, l'encodage et le reporting d'engagement.

    275

Explorer tous les outils

Parcourez notre collection d'outils

Voir tous les outils →