Enterprise-grade AI-powered reverse engineering tool that seamlessly integrates with x64dbg debugger to provide intelligent analysis of binary executables, memory dumps, and debugging sessions.
- Windows 10/11 (x64)
- Visual Studio 2022 with C++17 support
- x64dbg debugger
- API Keys for supported AI providers (Claude, OpenAI, Gemini)
-
Download Latest Release
# Download from releases page or build from source git clone https://github.com/m4rba4s/mcp_debugger.git cd mcp_debugger
-
Quick Build
.\build.ps1 -Config Release -RunTests
-
Configure AI Providers
# Edit config/config.json { "llm_providers": { "claude": { "api_key": "your-claude-api-key", "model": "claude-3-sonnet-20240229" } } }
-
Install x64dbg Plugin
# Copy plugin to x64dbg directory copy build\Release\mcp_debugger.dp64 "C:\x64dbg\release\x64\plugins\"
- Multi-Provider Support: Claude 3.5, GPT-4, Gemini Pro
- Intelligent Code Analysis: Pattern recognition, vulnerability detection
- Natural Language Queries: Ask questions about your binary in plain English
- Context-Aware Responses: AI understands debugging context
- Seamless Plugin: Native x64dbg plugin with
mcp_analyzecommand - Real-time Analysis: Analyze memory, registers, and call stacks instantly
- Automated Annotations: AI-generated comments and insights
- Custom Commands: Extend functionality through S-expressions
- AES-256-GCM Encryption: All credentials encrypted at rest
- Zero Credential Leaks: Comprehensive input sanitization
- Memory Safety: Modern C++ with RAII throughout
- DoS Protection: Input validation and resource limits
- Memory Dump Analysis: Pattern detection, string extraction
- Binary Pattern Recognition: Packed executables, obfuscation detection
- Assembly Intelligence: x86/x64 instruction analysis with AI insights
- Vulnerability Assessment: Security-focused analysis patterns
┌─────────────────────────────────────────────────────────────┐
│ MCP Debugger Core │
├─────────────────┬─────────────────┬─────────────────────────┤
│ LLM Engine │ Security Mgr │ Config Manager │
│ │ │ │
│ ┌─────────────┐ │ ┌─────────────┐ │ ┌─────────────────────┐ │
│ │ Claude │ │ │ Credential │ │ │ JSON Config │ │
│ │ OpenAI │ │ │ Encryption │ │ │ Validation │ │
│ │ Gemini │ │ │ Key Mgmt │ │ │ Hot Reload │ │
│ └─────────────┘ │ └─────────────┘ │ └─────────────────────┘ │
├─────────────────┼─────────────────┼─────────────────────────┤
│ X64DBG Bridge │ Parser/Eval │ Analyzer │
│ │ │ │
│ ┌─────────────┐ │ ┌─────────────┐ │ ┌─────────────────────┐ │
│ │ Memory │ │ │ S-Expr │ │ │ Pattern Detection │ │
│ │ Events │ │ │ Commands │ │ │ Memory Analysis │ │
│ │ Debug │ │ │ Variables │ │ │ Binary Insights │ │
│ └─────────────┘ │ └─────────────┘ │ └─────────────────────┘ │
└─────────────────┴─────────────────┴─────────────────────────┘
; Analyze memory region for patterns
(analyze-memory 0x401000 1024 "Look for string patterns and API calls")
; Get AI insights on assembly code
(disasm-ai 0x401000 32 "Explain what this function does")
; Search for vulnerabilities
(find-vulns 0x400000 0x500000 "Check for buffer overflows"); Ask natural language questions
(ask "What does this function at 0x401234 do?")
(ask "Are there any security issues in this code?")
(ask "Explain the calling convention used here")
; Pattern-based analysis
(find-patterns "encryption" 0x400000 0x500000)
(identify-packer "UPX|Themida|VMProtect"); Memory dump analysis
(dump-analyze "memory.dmp" "Look for credentials and keys")
; Control flow analysis
(trace-calls 0x401000 "Map the execution flow")
; String analysis
(extract-strings 0x402000 1024 "Find interesting strings")| Category | Grade | Status |
|---|---|---|
| Security | A+ | ✅ No vulnerabilities found |
| Performance | A | ✅ Optimized algorithms |
| Maintainability | A | ✅ Clean, documented code |
| Architecture | A+ | ✅ Excellent design patterns |
| Thread Safety | A+ | ✅ Comprehensive synchronization |
| Resource Management | A+ | ✅ Perfect RAII compliance |
- ✅ 36/36 Quality Checks Passed
- ✅ 0 Critical Issues Found
- ✅ 0 Security Vulnerabilities
- ✅ 0 Memory Leaks
- ✅ 0 Race Conditions
Full analysis report: Code Quality Report
- AES-256-GCM encryption for all stored credentials
- Secure memory wiping on application exit
- Key rotation with configurable intervals
- Zero hardcoded secrets in codebase
- Comprehensive size limits (DoS protection)
- Format validation with regex patterns
- Memory bounds checking for all operations
- Command injection prevention
- TLS 1.3 for all API communications
- Certificate validation enforced
- Request/response sanitization
- Timeout and retry limits
# Run complete test suite
.\build.ps1 -RunTests
# Integration tests
python scripts\run_integration_tests.py
# Security scanning
python scripts\security_scan.py# Static analysis
.\static-analysis.ps1 -All
# Performance benchmarks
.\scripts\benchmark.ps1- 📖 Quick Start Guide - Get up and running in 5 minutes
- 🏗️ Architecture Guide - Deep dive into system design
- 🔐 Security Guide - Security best practices
- 🔧 API Reference - Complete S-expression command reference
- 🐛 Troubleshooting - Common issues and solutions
We welcome contributions! Please see our Contributing Guide for details.
# 1. Clone repository
git clone https://github.com/m4rba4s/mcp_debugger.git
# 2. Setup dependencies
.\vcpkg\bootstrap-vcpkg.bat
.\vcpkg\vcpkg.exe install
# 3. Build and test
.\build.ps1 -Config Debug -RunTests- C++17 standard compliance
- RAII for all resource management
- Interface-based architecture
- Comprehensive unit testing
- Security-first development
- ✨ Enterprise-grade code quality achieved (A- rating)
- 🔒 Comprehensive security analysis - zero vulnerabilities
- 🧵 Thread safety verification - no race conditions
- 📊 Complete static analysis integration
- 🔧 Enhanced build system with automated testing
- 📚 Improved documentation and guides
- 🎉 Core functionality implemented
- 🤖 Multi-AI provider support
- 🔧 x64dbg plugin integration
- 🛡️ Security framework established
- 🌐 GitHub Repository
- 📋 Issue Tracker
- 🚀 Releases
- 📖 Wiki
This project is licensed under the MIT License - see the LICENSE file for details.
- x64dbg Team - For the excellent debugging platform
- Anthropic, OpenAI, Google - For AI model access
- vcpkg Team - For dependency management
- C++ Community - For modern C++ standards and practices