Autonomous Reverse Engineering Engine & Model Context Protocol (MCP) Server in Systems Rust
⚡ Autonomous reverse engineering engine & Model Context Protocol (MCP) server for binaries and applications in Systems Rust
星數
10
工具
—
可用率
—
Reverse engineer anything with agents, from app behavior down to native binaries.
A lightweight, zero-dependency, memory-safe native CLI and Model Context Protocol server that gives AI coding agents (Claude Code, Hermes Agent, Cursor, Codex) deep analytical capabilities over closed binaries, desktop packages, and live memory.
📌 Overview
Traditional reverse-engineering integrations rely on slow, multi-gigabyte runtime environments (Node.js wrappers, JVM-based Ghidra installations, or Python scripts). rev-core changes this paradigm by delivering an ultra-fast, zero-overhead systems engine in pure Rust:
Sub-Millisecond Agent Latency (< 2ms): Responds immediately over standard I/O via the Model Context Protocol (MCP) without spawning heavy runtime processes.
Anti-Hallucination Evidence Ledger: Replaces speculative LLM guesses with deterministic SHA-256 cryptographic provenance records and explicit Residual Unknowns.
Multi-Format Polyglot Coverage: Native zero-copy parsing for Linux ELF, Windows PE, Apple Mach-O / Universal FAT, WebAssembly (WASM), and Electron Chromium ASAR archives.
Live Memory Forensics: Scans /proc/[pid]/maps to reconstruct process memory layouts and flag dangerous writable-and-executable (rwx) pages.
Linux ELF: Headers, class (32/64-bit), endianness, machine architecture, segment/section tables, and DT_NEEDED library dependencies.
Windows PE: Machine architecture, entrypoint, section count, Windows subsystem, and imported DLL dependencies.
Apple Mach-O: 64-bit Mach-O and Universal FAT archives supporting x86_64 and Apple Silicon (arm64), segment load commands, and LC_CODE_SIGNATURE verification.
Security Mitigation Scanner:
NX / DEP: Verified via PT_GNU_STACK executable flag bitmask.
PIE: Position-independent executable verification (ET_DYN vs ET_EXEC).
RELRO: Differentiates Full RELRO (PT_GNU_RELRO + DT_BIND_NOW), Partial RELRO, and No RELRO.
Stack Canaries: Probes dynamic and static symbol tables for __stack_chk_fail.
macOS Protections: Hardened Runtime, restricted segment attributes, and library validation.
Windows Protections: ASLR (DYNAMIC_BASE), DEP (NX_COMPAT), Control Flow Guard (CFG), and SEH.
# Unpack ASAR archive
rev-core asar unpack app.asar -o ./unpacked_app
# Scan Electron IPC attack surface & webPreferences
rev-core electron ./unpacked_app
Inspect WebAssembly Modules
rev-core wasm module.wasm
Live Process Memory Forensics
rev-core proc $(pgrep -n bash)
🔌 Model Context Protocol (MCP) Integration
rev-core runs as a native stdio Model Context Protocol server. Add it to your agent settings (claude_desktop_config.json, Hermes profile, or Cursor config):