Windows reverse-engineering workbench with desktop interfaces, live process and kernel inspection, static analysis and decompilation, dynamic instrumentation, network analysis, and a built-in Model Context Protocol (MCP) server for agent control.
Warning
Use reverse-slop only on systems and software you own or are authorized to test. Live memory writes, debugging, network manipulation, and the optional kernel bridge can destabilize processes or Windows. The mapper loads a kernel driver and requires administrator privileges. Start with the user-mode engine when kernel access is unnecessary.
reverse-slop is heavily inspired by AiDA Private, created by sigwl (ruarridh). Most, if not almost all, of reverse-slop's feature set and feature concepts are based on that project.
The main workspace, process list and disassembly side by side under the kernel badge:
The strings view with search, UTF-16 flagging and xref counts:
- Two desktop interfaces, one core: native ImGui/DX11 shell and Tauri v2 + React shell both drive the same C++ engine.
- Headless operation: run the engine without a window for MCP or HTTP clients.
- Live process analysis: processes, modules, threads, regions, handles, module dumping, memory scans, watchlists, snapshots, pointer scans, and AOB searches.
- Static analysis: PE, Mach-O and iOS
.ipaloading, x86/x64 assembly and x86/x64/ARM64 disassembly, function and cross-reference indexes, strings, globals, vtables, RTTI, signatures, binary diffing, packer detection, and security-focused reconnaissance. - Decompiler: Hyperion p-code lifting, SSA, dead-code elimination, type inference, control-flow structuring, and C-like output with source addresses.
- Managed .NET support: ECMA-335 metadata parsing, CIL disassembly, an
IL-to-C# decompiler, and a dnSpy-style assembly explorer surfaced in both
the Tauri UI (
.NETtab) and MCP (dotnettool). Managed methods fold into the shared analysis DB so the disassembly, decompiler, and cross-reference tools see every method, not just the native entry stub. - Debugging: Win32 debugging plus optional kernel-assisted VEH debugging, breakpoints, stepping, registers, call stacks, SEH, watchpoints, tracepoints, and bounded instruction traces.
- Instrumentation: embedded Frida Core 17.17.0 for local and remote devices, spawning, attaching, scripts, messages, RPC, compile, and snapshots.
- Emulation: isolated x86-64 Unicorn execution that starts like a Windows thread (ring 3, TEB/PEB/TLS, shared user data), models the common imports, names CPU exceptions, and adds tracing, byte-level taint propagation, and watched output ranges.
- Network tooling: WFP capture and manipulation through the optional driver, PCAP export, stream reconstruction, connection inspection, and an independent localhost HTTP inspection proxy.
- Unpacking and devirtualization: Magicmida Themida sidecars, VM handler and opcode-map recovery, trace/lift/pseudocode flows, CFG recovery, predicate proofs, invariants, and IAT auditing.
- Agent-native control: 23 MCP-visible domain tools with consolidated
actionparameters, plus an/api-only application-control tool and SSE events.
- Windows 10 or 11, x64
- Visual Studio 2022 with Desktop development with C++ and the
Microsoft.VisualStudio.Component.VC.Tools.x86.x64component - CMake 3.25 or newer
- Ninja
- PowerShell
- Git and internet access during first configure
tools/build.ps1 locates Visual Studio with vswhere, then uses Visual
Studio's bundled CMake and Ninja. CMake downloads pinned dependencies into
_ext/, including ImGui, FreeType, Zydis, Capstone, Unicorn, nlohmann/json,
cpp-httplib, SQLite, Lua, fmt, spdlog, and zlib. It also downloads and verifies
the Frida Core 17.17.0 Windows x86-64 devkit (about 53 MB) on first configure.
| Component | Additional requirements |
|---|---|
| Tauri desktop shell | Node.js/npm, Rust toolchain with Cargo, WebView2 runtime |
| Kernel driver and mapper | Visual Studio C++ tools, Windows Driver Kit 10.0.26100.0, administrator rights |
| Themida unpacking | Separately installed Magicmida x86/x64 sidecars |
| Frida TypeScript project bundling | A usable frida-compile setup for the requested project |
The main CMake build currently expects the WDK 10.0.26100.0 ntdll.lib when
linking slop_mapper. If that exact WDK library is absent, CMake warns and the
mapper target will not link. The app and headless engine still support a
user-mode backend without the driver.
Run commands from a PowerShell prompt at repository root.
powershell -File tools/build.ps1This configures and builds the ninja-msvc-release preset into build/, then
builds the Tauri app (portable folder plus installer). Incremental builds reuse
both directories. Add -NoFrontend for the C++ targets alone.
Useful build-script switches:
# Delete build/ before configuring
powershell -File tools/build.ps1 -FullClean
# Configure only; do not compile
powershell -File tools/build.ps1 -PlanOnly
# Select another preset if one has been added to CMakePresets.json
powershell -File tools/build.ps1 -Preset ninja-msvc-release
# Full installer: bundle the kernel driver, Magicmida, and the WebView2
# runtime so the target machine needs nothing but Windows (no internet,
# no WebView2, no dev tools). Fails instead of skipping a missing component
powershell -File tools/build.ps1 -FullDefault CMake options are all enabled:
| Option | Default | Output |
|---|---|---|
SLOP_BUILD_ENGINE |
ON |
Headless engine host |
SLOP_BUILD_TEST_TARGET |
ON |
SlopTarget.exe fixture |
SLOP_BUILD_TESTS |
ON |
Core test harness |
SLOP_BUILD_MAPPER |
ON |
Kernel-driver loader utility |
For manual configuration, first enter an x64 Visual Studio developer shell:
cmake --preset ninja-msvc-release -S .
cmake --build --preset ninja-msvc-releaseExample user-mode-only configuration when mapper artifacts are not needed:
cmake --preset ninja-msvc-release -S . -DSLOP_BUILD_MAPPER=OFF
cmake --build --preset ninja-msvc-releaseThe Tauri UI is the app that ships; reverse-slop.exe (ImGui) is the legacy
shell kept for parity work. The frontend build needs the C++ engine first
because Tauri bundles reverse-slop-engine.exe and slop_frida.dll as
resources.
powershell -File tools/build.ps1That performs the C++ build, runs npm install if app/node_modules is
missing, builds the React app, and produces two standalone outputs:
dist\reverse-slop\reverse-slop.exe portable folder
app\src-tauri\target\release\bundle\nsis\...-setup.exe per-machine installer
The portable folder carries its own engine\ directory, so it runs from a copy
with no installer and no build tree. It needs the Microsoft Edge WebView2
runtime, which ships with Windows 11 and current Windows 10; the NSIS installer
downloads it when missing.
Run the same command with -Full for a self-contained release installer: the
setup exe embeds the WebView2 runtime (offline install, no download on the
target machine) and hard-requires every optional component, so slopdrvr.sys,
the Magicmida sidecars, and slop_frida.dll are always inside. The build fails
loudly instead of silently shipping a degraded bundle when the WDK, network, or
Magicmida is missing.
Use -NoFrontend for a fast C++-only loop (skips Rust, npm, and the bundle).
Release Tauri builds request administrator elevation so the engine sidecar can use the kernel bridge. Debug Tauri builds run as the invoking user and can use the user-mode backend.
Frontend development:
# Terminal 1: build or refresh the C++ engine
powershell -File tools/build.ps1 -NoFrontend
# Terminal 2
cd app
npm install
npm run tauri -- devVite uses fixed port 1420; the engine's CORS allow-list depends on it.
Additional frontend checks:
cd app
npm run typecheck
npm run build
# Requires a running engine; validates frontend calls against tools/list
npm run check:api -- 8765The CMake build creates slop_mapper.exe, but slopdrvr.sys has a separate WDK
build script:
powershell -File tools/build_slopdrvr.ps1Outputs:
build\mapper\slop_mapper.exe
build\driver\slopdrvr.sys
Clean driver objects before rebuilding:
powershell -File tools/build_slopdrvr.ps1 -CleanUse another installed WDK version only if corresponding headers and libraries exist and the mapper link configuration is updated consistently:
powershell -File tools/build_slopdrvr.ps1 -WdkVersion 10.0.26100.0Both build scripts support vswhere discovery and a PRODUCT VS22 installation
on the repository's drive (with E:\PRODUCT VS22 as a legacy fallback).
On startup, an elevated shell searches for mapper and driver artifacts beside
the executable or in the build-tree layout. It loads slopdrvr, probes
\\.\slopdrvr, selects the kernel backend when available, and falls back to
user mode on failure. Normal shutdown quiesces and unloads the driver and
removes its service key. Avoid force-killing the process while kernel work is
active.
The mapper preserves bundled driver inputs; only its runtime copies are cleaned
up, so a failed load does not remove engine\slopdrvr.sys from the portable app.
A duplicate WFP object (0xC0220009) defers network capture without aborting the
independent kernel bridge. Capture retries on explicit use and reports the WFP
error until the conflicting callout is released. WFP registration objects use a
dynamic session; early registration failures log their exact step to
C:\Users\Public\Desktop\slop_kernel.log even at the default log level.
Magicmida and its ScyllaHide dependency are separate GPLv3 programs, not linked
into reverse-slop. Install the pinned, SHA-256-verified 2026-05-14 release:
powershell -File tools/install_magicmida.ps1Default destination:
%LOCALAPPDATA%\reverse-slop\tools\magicmida\2026-05-14\x86
%LOCALAPPDATA%\reverse-slop\tools\magicmida\2026-05-14\x64
Overrides:
SLOP_MAGICMIDA_ROOT— root containingx86andx64directoriesSLOP_MAGICMIDA_X86— direct path to x86 executableSLOP_MAGICMIDA_X64— direct path to x64 executable
.\dist\reverse-slop\reverse-slop.exeRequests administrator elevation once, spawns engine\reverse-slop-engine.exe
as a sidecar in a kill-on-close job object, and drives it over /api +
/events. Installed builds behave the same from %ProgramFiles%.
.\build\src\app\reverse-slop.exeThe executable requests administrator elevation. It owns a Win32 window with a DX11 composition swapchain, docking, FreeType fonts, keyboard navigation, and DWM styling. Built-in views and shortcuts:
| View | Shortcut |
|---|---|
| Targets | Ctrl+1 |
| Inspector | Ctrl+2 |
| Disassembly | Ctrl+3 |
| Memory | Ctrl+4 |
| Output | Ctrl+5 |
| Scanner/watchlist | Ctrl+6 |
| Strings | Ctrl+7 |
| PE Browser | Ctrl+8 |
| Debugger | Ctrl+9 |
| Pseudocode | Ctrl+0 |
| Unpacker | No default shortcut |
| Frame Metrics | F12 |
Safest development path, with no driver loading or client-config changes:
.\build\src\engine\reverse-slop-engine.exe --no-driver --no-onboardFull engine:
.\build\src\engine\reverse-slop-engine.exeOptions:
| Option | Effect |
|---|---|
--no-driver |
Skip kernel-driver loading; use user-mode backend |
--no-onboard |
Do not register MCP endpoint in supported AI clients |
--quiet |
Suppress mirrored engine output on stderr |
--port <n> |
Override MCP/API port for this process |
--parent-pid <pid> |
Exit through clean teardown when parent exits |
--headless |
Accepted for supervisor compatibility; engine is always headless |
Successful startup writes this machine-readable line to stdout:
SLOP_ENGINE_READY <port> <token>
If another live reverse-slop endpoint is advertised, a new engine reports that
endpoint with SLOP_ENGINE_EXISTING <pid> and exits rather than competing for
the driver and port.
Launch installed reverse-slop, or during development:
cd app
npm run tauri -- devThe Rust supervisor starts the C++ engine, waits up to 180 seconds for its
handshake, places it in a kill-on-close job object, and lets it perform clean
shutdown when the UI exits. The React shell exposes targets, modules, scripts,
Frida, scanner/watchlist, disassembly, a .NET assembly-explorer tab with a
dnSpy-style tree and a C#/IL code pane, strings, memory, debugger, PE browser,
output, inspector, theme/motion settings, and backend selection.
- Enumerate processes with icons and architecture/elevation metadata.
- Attach/detach a shared target session.
- Enumerate modules, threads, virtual-memory regions, heaps, heap blocks, and handles.
- Reconstruct a conventional PE from a mapped module; strict mode rejects unreadable spans, while best-effort mode zero-fills them.
- Read/write memory in hex, UTF-8, integer, and floating-point formats.
- Allocate, free, and change page protection.
- Cheat Engine-style initial and refined numeric scans with exact/range/change, signed/unsigned/floating widths, rounding, region/protection, address, alignment, worker, chunk, and result-cap filters.
- AOB wildcard search, pointer-chain scans, signature generation, and live cryptographic-constant search.
- Snapshot memory, compare snapshots, list/free snapshot state.
- Shared watchlist sampled around 10 Hz, including freeze writes; UI and MCP changes appear in both surfaces.
- PE headers, sections, data directories, imports, exports, and runtime-base rebasing.
- Fast synchronous Zydis function, xref, string, and PE indexes.
- Background Hyperion recursive analysis with CFGs, globals, vtables, RTTI, names, PDB/FLIRT support, and progress/cancellation state.
- x86/x64 disassembly and assembly.
- iOS apps and Mach-O:
disasm.load,slop.image.loadand both Disassembly open dialogs accept an.ipa, a thin Mach-O or a FAT Mach-O, detected by content. For an.ipathe main executable is thePayload/<Name>.app/entry named byInfo.plistCFBundleExecutable(XML or binary plist, falling back to the bundle stem); a FAT binary is reduced to its arm64 slice (else x86_64, arm, x86). The image gets a section map (__TEXT.__text,__TEXT.__cstring, ...), imports from the GOT/lazy pointers grouped by dylib,__stubsand local symbols as names, and function bounds fromLC_FUNCTION_STARTS. ARM64 code decodes with Capstone and decompiles through the Hyperion ARM64 lifter; xrefs come from the Hyperion DB.disasm.loadedreportsformat,arch,bundle(id, version, build, minimum iOS) andencrypted. App Store copies are FairPlay-encrypted (cryptid != 0): load a decrypted dump, or the code is noise. Tools that decode x86 (xrayexceptentropy/apihash,emulate,devirt, code-rewritingpatchactions,disasm.assemble) or parse PE structures (analyze.packer,re.rtti_scan) refuse Mach-O/ARM64 images with an error. - Structured decompilation pipeline: instruction lifting to p-code, SSA, propagation, dead-code elimination, type inference, control-flow structuring, and C-like emission.
- Managed (.NET/CLI) pipeline: full ECMA-335 metadata parsing (types, fields
with const values, properties, events, nested types, interfaces, attributes),
a CIL disassembler with ILDASM-style listings, an IL→C# decompiler, and a
dnSpy-style C# renderer for whole types. Managed methods are folded into the
shared analysis DB so the disassembly view lists every method after Hyperion
analysis completes, not just the native entry stub. Each managed method also
carries an entry VA that cross-links back to
disasm/decomp. - Per-line virtual-address mappings, optional address annotations, reconstructed stack variables, signatures, and persisted user names.
- Binary-to-binary function diff with added/removed/modified functions and similarity scores.
- Packer/protector indicators: signatures, entropy, import anomalies, W+X sections, TLS, overlay, and crypto constants.
- RTTI class/vtable recovery, dangerous-import callsites, library byte signatures, user structs/enums, typed formatting, comments, and bookmarks.
- Per-binary metadata persists by file hash and remaps across different runtime bases.
Read-only Xray passes include:
- CFG and cyclomatic complexity
- Control-flow flattening and general obfuscation scoring
- String reconstruction and indirect-call recovery
- Anti-analysis patterns
- Hook checks and direct-syscall discovery
- Imported API hash resolution
- Entropy windows and executable-page classification
- Crypto constants and ROP gadget search
File-image patching includes:
- Junk-NOP cleanup and opaque-predicate resolution
- Anti-debug patching
- XOR unpacking and string decoding
- Explicit byte writes
- Patch journal and full revert
- Combined full pass
- Function re-decode/index invalidation after edits
Patches affect the loaded analysis image, not live process memory. Use the memory suite for live writes.
- Classic Win32 debug loop in user mode.
- Kernel-assisted stealth VEH mode when
slopdrvris available. - Software and hardware breakpoints, conditional expressions, log messages, auto-continue tracepoints, and one-shot breakpoints.
- Continue, step into, step over, step out, and bounded wait-for-halt.
- Register inspection/mutation, event history, call stacks, and SEH chains.
- Page-guard access watchpoints and bounded instruction traces.
- Suspend/resume all target threads.
- Driver-assisted DR0–DR3 hardware breakpoints and handle-free thread control.
When available, slopdrvr adds:
- DTB-aware process memory access and region enumeration
- Kernel module enumeration, driver dumping, memory read/write/search, and virtual-to-physical translation
- Kernel calls and deferred-call queues
- SSDT, PEB, TEB, loader-module, window, heap, and reference inspection
- Export and symbol lookup through DbgHelp-backed symbol state
- Integrity checks, anti-debug spoofing, sandbox controls, and driver logging
- WFP capture/manipulation and network-buffer sniffing
- Hidden-kernel callback inspection and clean shutdown identity/handshake
Every caller should query backend/driver status rather than assume kernel capabilities. Many core process, memory, debugger, and static-analysis features continue in user mode.
Embedded Frida Core supports:
- Local and remote-device discovery
- Process, application, and frontmost-application enumeration
- Spawn, piped stdio, resume, kill, and input
- Spawn and child gating with pending-spawn/child inspection
- Attach/detach and session resume
- JavaScript creation/load/unload/destroy/post and debugger endpoint
send()/console message draining with binary payload supportrpc.exportscalls with arguments and timeoutfrida-compileproject bundling- Script bytecode compilation and snapshot generation
- QuickJS and V8 runtime selection where supported by Frida
- Isolated x86-64 Unicorn execution from explicit bytes, loaded-file addresses, or attached-target addresses.
- Demand paging from the loaded image (relocated when rebased) or the attached process, so runs follow calls, jumps and global loads past the code slice. The flattening, predicate, invariant and VM-trace passes run the same way.
- A CPU that comes up as Windows hands it to code: ring 3 with the x64
selectors,
rflags0x202, the default x87/SSE control words, CPUID without a hypervisor bit, and a time stamp counter that follows the instruction count, so a run repeats exactly.mode=kernel(the default for a driver image) keeps ring 0. Kernel-half addresses work as code, data and stack. - A TEB/PEB behind
gs(stack bounds, ids, OS version, process heap, the image's TLS template behindgs:[0x58]) andKUSER_SHARED_DATA. - IAT stubs that log every import call with its arguments and result. Imports
with a fixed contract behave like the real thing: the memory and string
routines, the heap families (a private zeroed heap), TLS/FLS, last error,
ids, the clock (
Sleepmoves it), critical sections; the ones that never return stop the run withexitorapi_exception. Everything else returns a chosen value, per import if needed.syscallis logged the same way. - CPU exceptions reported by vector, NTSTATUS and instruction; privileged instructions fault in user mode. Exception handlers are not dispatched.
- No AVX: 256-bit instructions are
invalid_insn, and three-operand VEX.128 instructions stop withunsupported_insnrather than run as their SSE form. - Final-memory dumps and a write log with stored values.
- Custom register, stack, and memory-map initialization.
- Instruction-count, target-address, and timeout stopping conditions.
- Bounded instruction traces (one line per
rep, with its iteration count) and byte-granular taint tracking through general and XMM registers, flags, the stack and the modeled memory routines. - VM identification, handler discovery, opcode maps, execution traces, lifting, and pseudocode.
- CFG recovery, multi-run predicate proofs and invariant discovery, plus IAT audits.
- Supervised Magicmida jobs with architecture validation, cancellation, timeouts, output selection, and optional loading into analysis session.
Driver-backed network features include:
- Capture start/stop, packets, DNS, statistics, filtering, and PCAP export
- Stream listing, payload reads, and reassembly
- Packet injection and byte-pattern replacement rules
- Redirect and DNS-spoof rules
- Connection termination
- Hold/inspect/modify/release interception
- Per-process bandwidth monitoring/control and traffic fingerprinting
- Connection, interface, WFP callout, socket-handle, TCB, and deep-packet inspection
- IP, port, and process blocking by direction
Independent HTTP/1.1 proxy features include start/stop, captured entries, exchange detail, and request replay. CONNECT tunnels record metadata/SNI but do not decrypt tunnel bodies; replay applies to captured plain HTTP.
- Lua 5.4 scripts with bounded execution, covering the whole static-analysis surface the way IDAPython covers IDA (see "Lua scripting" below), plus APIs for logging, targets, memory, live disassembly, and packer analysis.
- SQLite session snapshots and key/value storage.
- Hyperion
.hdbproject export/import for names and comments. - Host filesystem read/write/list/create/delete/name-search/content-search.
- Outbound WinHTTP GET/POST requests without browser-cookie inheritance.
- Host security inspection for hidden modules, minifilters, ETW sessions, and driver-assisted kernel callbacks.
Scripts run through the script MCP tool (action=run, code, timeout_ms)
or the engine API and execute against the same shared binary session as the
UI and every other MCP tool — loads, renames, and comments made from one
surface appear in all of them. Returned values are serialized into the
captured output as return: <value>.
-- Load a binary, wait for the Hyperion analysis, and walk the functions.
assert(slop.image.load([[C:\bin\target.exe]]))
assert(slop.image.wait_ready(30000))
for _, f in ipairs(slop.disasm.functions()) do
slop.log(string.format("%X %s (%d bytes)", f.va, f.name, f.size))
end
-- Cross-references, decompilation, and annotation all interoperate:
local refs = slop.disasm.xrefs_to(0x140001000) -- { {from=..., kind=...}, ... }
local d = slop.decomp.decompile(0x140001000) -- pseudo-C lines + signature
slop.disasm.set_name(d.va, "entry_handler") -- persisted rename
slop.disasm.set_comment(d.va, "called on startup") -- persisted commentThe static-analysis surface:
| Group | Functions |
|---|---|
| Session | slop.image.load(path[, base]), load_from_target, unload, status, wait_ready([ms]) |
| Instructions | slop.disasm.decode(addr[, count]), slop.disasm.bytes(addr[, len]) |
| Functions | slop.disasm.functions([limit]), slop.disasm.function_at(va) |
| Cross-refs | slop.disasm.xrefs_to(va) |
| Data | slop.disasm.strings([min[, limit]]), slop.disasm.pe() |
| Annotation | slop.disasm.name/set_name/comment/set_comment, bookmark_toggle, bookmarks |
| Decompiler | slop.decomp.decompile(va) (pseudo-C + signature), blocks(va) (CFG) |
| Rich DB | slop.decomp.vtables(), globals(), rtti() |
decomp.* requires the Hyperion analysis to be ready — call
slop.image.wait_ready() after loading. Live-process scripting keeps the
legacy surface: slop.target.*, slop.mem.*, slop.disasm.disassemble,
and slop.analyze.packer.
Default listener: 127.0.0.1:8765. It never binds to a non-loopback address.
| Endpoint | Purpose |
|---|---|
GET /health |
Liveness and version |
POST /mcp |
MCP JSON-RPC 2.0 (initialize, ping, tools/list, tools/call) |
GET /mcp |
MCP SSE endpoint/keepalive |
POST /api |
Direct frontend RPC; accepts one request or an array |
GET /events |
Frontend SSE event stream |
Protocol version: 2025-06-18.
initialize returns two agent-facing fields beyond the standard handshake:
instructions (a short server-level usage preamble clients surface to the
model) and state — the live session context: active backend badge, attached
target (pid/name/arch), debugger state, and the loaded-image summary
including Hyperion analysis readiness (image.hype.ready). The same context
is available mid-session through target.status and disasm.loaded.
Configure %LOCALAPPDATA%\reverse-slop\settings.json:
{
"mcp_enabled": true,
"mcp_port": 8765,
"mcp_token": "",
"mcp_onboarded": false
}SLOP_MCP_PORT or engine --port overrides configured port for that process.
When configured port is busy, reverse-slop uses an ephemeral port and skips
onboarding so existing clients remain pointed at owner of well-known port.
Set mcp_token to require Authorization: Bearer <token> on MCP/API routes.
The /events route also accepts a token query parameter because browser
EventSource cannot set custom headers.
Request bodies are capped at 32 MiB. Tool calls share core state and are serialized where required; cancellation notifications propagate to supported long-running operations.
Health check:
Invoke-RestMethod http://127.0.0.1:8765/healthList tools:
$body = @{
jsonrpc = '2.0'
id = 1
method = 'tools/list'
} | ConvertTo-Json -Depth 8
Invoke-RestMethod -Method Post `
-Uri http://127.0.0.1:8765/mcp `
-ContentType 'application/json' `
-Body $bodyList processes through MCP:
$body = @{
jsonrpc = '2.0'
id = 2
method = 'tools/call'
params = @{
name = 'target'
arguments = @{ action = 'list' }
}
} | ConvertTo-Json -Depth 8
Invoke-RestMethod -Method Post `
-Uri http://127.0.0.1:8765/mcp `
-ContentType 'application/json' `
-Body $bodyDirect /api request:
$body = @{
tool = 'disasm'
action = 'loaded'
params = @{}
} | ConvertTo-Json
Invoke-RestMethod -Method Post `
-Uri http://127.0.0.1:8765/api `
-ContentType 'application/json' `
-Body $bodyAll MCP tools accept an action string. Exact parameter schemas and detailed
operational guidance are returned by tools/list.
| Tool | Actions |
|---|---|
target |
list, attach, detach, status, modules, dump_module, threads, regions, handles, icon |
memory |
read, write, scan, rescan, scan_state, scan_reset, aob, pointerscan, snapshot, snapshots, diff, snapshot_free, protect, alloc, free, siggen, live_crypto, watch_list, watch_add, watch_remove, watch_clear, watch_set |
disasm |
assemble, disassemble, loaded, pe, functions, xrefs, strings, symbols, symbol_set, blocks, globals, vtables, load, unload, analyze_stop |
debugger |
attach, detach, status, suspend_all, resume_all, bp_set, bp_clear, continue, step_into, step_over, step_out, wait_halt, regs, events, callstack, seh, set_register, watchpoint_set, watchpoint_clear, watchpoints, trace_run |
driver |
status, backend, kernel_modules, dump_driver, kernel_read, kernel_write, kernel_search, call, v2p, ssdt, peb, resolve_export, windows, find_references, heap_walk, heap_blocks, defer_call, defer_list, defer_execute, defer_results, defer_cancel, symbols_load, symbols_lookup, symbols_nearest, anti_debug_spoof, sandbox_protect, sandbox_unprotect, log_config, read_teb, peb_modules, integrity_checks, sniff_buffers |
xray |
cfg, complexity, cff, obfuscation, strings_recon, indirect_calls, anti_analysis, hooks, syscalls, apihash, entropy, pages, crypto_range, gadgets |
patch |
nop_junk, resolve_opaque, patch_antidebug, unpack_xor, decode_strings, write_bytes, revert_all, journal, full_pass, rebuild |
devirt |
themida_status, themida_start, themida_job, themida_cancel, identify, handlers, opcode_map, trace, lift, pseudocode, recover_cfg, prove_predicates, invariants, iat_audit |
types |
declare, create_struct, get_struct, list_structs, add_member, remove_struct, create_enum, get_enum, list_enums, remove_enum, read_field, format_at |
notes |
set_comment, get_comment, comments, bookmark_toggle, bookmarks |
emulate |
run |
analyze |
packer, signatures, diff |
network |
status, capture_start, capture_stop, packets, dns, rules_add, rules_remove, rules_clear, stats, export_pcap, streams, stream_data, inject, mod_rule_add, mod_rule_remove, mod_rules_list, redirect_add, redirect_remove, redirect_rules_list, dns_spoof_add, dns_spoof_remove, dns_spoof_list, kill_conn, intercept_start, intercept_stop, intercept_list, intercept_release, bw_start, bw_stop, bw_stats, bw_processes, fingerprint_run, fingerprint_results, reassemble_stream, connections, deep_inspect, wfp_callouts, socket_handles, tcpip_dump, interfaces, block_ip, block_port, block_process |
proxy |
start, stop, status, entries, entry, replay |
persist |
save, list, load, delete, kv_set, kv_get, hype_save, hype_load |
re |
rtti_scan, vftable, danger, libsig |
decomp |
function |
dotnet |
status, tree, type, method, source, il |
detect |
hidden_modules, minifilters, etw_sessions, kernel_callbacks |
fs |
read_file, write_file, list_directory, create_directory, delete_path, search_files, grep_in_files |
web |
fetch, post |
script |
run |
frida |
status, devices, remote_add, remote_remove, ps, find_process, applications, frontmost, spawn, spawn_output, resume, kill, input, spawn_gating, pending_spawn, pending_children, attach, detach, session_resume, child_gating, script_create, script_load, script_unload, script_destroy, script_post, script_debugger, messages, rpc, compile, compile_script, snapshot_script |
app is intentionally omitted from MCP tools/list; it is frontend plumbing
available only through /api: status, ping, output, output_clear, log,
diag, and shutdown.
GET /events sends hello with an output revision cursor, then events such as:
outputboot.stagetarget.changedbackend.changedhype.progresswatch.listwatch.valuesapp.quitting
On reconnect, frontend can replay missed output with app.output and the last
revision.
On first successful startup at configured port, reverse-slop adds a
reverse-slop HTTP MCP entry without replacing existing entries in:
- Claude Code:
%USERPROFILE%\.claude.json(user scope; the entry needs"type": "http", server definitions do not live insettings.json) - Cursor:
%USERPROFILE%\.cursor\mcp.json - Windsurf:
%USERPROFILE%\.codeium\windsurf\mcp_config.json - VS Code:
%APPDATA%\Code\User\settings.json(undermcp.servers) - OpenCode:
%USERPROFILE%\.config\opencode\config.json
Claude Desktop is not auto-registered: claude_desktop_config.json supports
stdio servers only, so a remote HTTP entry cannot work there — add it through
Claude Desktop's Connectors UI instead. Unparseable client config files are
left untouched rather than overwritten.
Use --no-onboard for a headless run that must not edit client configuration.
Set mcp_onboarded to false to request another onboarding pass after removing
or changing entries.
+----------------------+
| ImGui / DX11 shell |
| src/app + src/ui |
+----------+-----------+
|
| in-process calls
|
+---------------------+ HTTP v +--------------------------+
| Tauri / React shell |<-------------->| shared C++ core |
| app/ | /api,/events | src/core |
+----------+----------+ +------------+-------------+
| |
| supervises +-- process/memory/debugger
v +-- disasm/analysis/decomp
+--------------------------+ +-- driver/network/frida
| headless engine | +-- MCP/API/event bus
| src/engine |
+--------------------------+
Both native and headless hosts drive the shared lifecycle in
src/core/infra/lifecycle.cpp:
- Initialize application paths and worker/job queues.
- Start process and target services.
- Load/probe optional kernel bridge on a background thread.
- Load settings and persistence state.
- Bind MCP/API server and optionally onboard clients.
- Publish capabilities and enter periodic target/watch/event servicing.
- On shutdown, stop server/jobs/watches/targets, save settings, then quiesce and unload driver if this instance owns it.
Key directories:
src/
├── app/ Win32 entry point and DX11 loop
├── engine/ Headless lifecycle host and parent-process contract
├── ui/ ImGui chrome, docking, theme, fonts, and views
├── hyperion/ Vendored analysis/decompiler engine (`hype` namespace)
├── core/
│ ├── infra/ Lifecycle, jobs, settings, paths, events, onboarding
│ ├── process/ Targets, processes, modules, threads, heaps, handles, dumps
│ ├── memory/ Scanner, AOB, pointers, snapshots, watch service
│ ├── disasm/ PE/Zydis indexes and Hyperion session bridge
│ ├── debugger/ Debug loops, stepping, breakpoints, call stacks
│ ├── runtime/ User/kernel backends, driver loading and communication
│ ├── analysis/ Packer, signatures, xray, patches, devirt, Magicmida
│ ├── emu/ Unicorn execution and taint propagation
│ ├── network/ WFP capture, traffic store, proxy, WinHTTP
│ ├── frida/ Isolated Frida Core DLL boundary
│ ├── mcp/ MCP schemas, tool dispatcher, `/api`, `/events`
│ └── ... Types, RTTI, persistence, scripting, filesystem, detection
├── target/ Deterministic live-analysis fixture
├── tests/ Core test harness
└── live/ Live probes and integration utilities
app/ Tauri v2 supervisor and React/TypeScript frontend
mapper/ Driver loader utility
driver/slopdrvr/ Kernel driver sources
tools/ Build, driver, Magicmida, and live-test scripts
Frida lives in slop_frida.dll rather than slop_core because Frida's bundled
GLib symbols conflict with Unicorn's compatibility layer. Tauri supervises a
separate C++ engine instead of linking it into Rust, avoiding static/dynamic CRT
mixing and providing crash isolation.
Application state lives under %LOCALAPPDATA%\reverse-slop:
| Path | Purpose |
|---|---|
settings.json |
MCP and runtime settings |
engine.json |
Live engine PID/port/token advertisement; removed on clean exit |
dock.ini |
ImGui layout |
sessions.db |
SQLite snapshots and key/value state |
symbols\<hash>.json |
Per-binary names, comments, and bookmarks |
sessions\ |
Session artifacts |
crashes\ |
Crash artifacts |
tools\magicmida\... |
Optional Magicmida installation |
DriverRuntime\ |
Temporary kernel-loader runtime files |
Do not publish engine.json if bearer token is configured.
Build includes deterministic SlopTarget.exe and slop_tests.exe by default.
Run full suite:
.\build\tests\slop_tests.exeOr through CTest:
ctest --test-dir build --output-on-failureFilter tests by case-name substring:
$env:SLOP_TEST_FILTER = 'decomp'
.\build\tests\slop_tests.exe
Remove-Item Env:SLOP_TEST_FILTERTest coverage includes infrastructure, memory, disassembly, debugger, MCP, analysis, emulation, network, persistence, RTTI/types, Lua, kernel abstractions, module dumping, Hyperion/decompilation, detection/filesystem, driver autoload, Xray/patching, Magicmida supervision, and Frida.
tools/mcp_live_test.py is a destructive-capable integration battery intended
for a controlled local fixture with a running engine and loaded SlopTarget.
Review paths and actions before running it; it exercises writes, patches,
filesystem operations, and kernel/network calls.
First configure requires HTTPS access to pinned upstream archives/repositories
and the Frida devkit. Retry with network/proxy access available. Once populated,
CMake uses _ext/ with disconnected updates.
Install Desktop development with C++, verify vswhere.exe exists under Visual
Studio Installer, and ensure x64 C++ tools are selected.
Install WDK 10.0.26100.0 or disable mapper for a user-mode build:
cmake --preset ninja-msvc-release -S . -DSLOP_BUILD_MAPPER=OFF
cmake --build --preset ninja-msvc-releaseCheck these files exist:
build\mapper\slop_mapper.exe
build\driver\slopdrvr.sys
Run elevated, inspect build\mapper\slop_mapper_last.log, and query
driver.status. User-mode fallback is expected when mapper, driver, privilege,
or compatible kernel support is unavailable.
Engine falls back to an ephemeral port and records it in engine.json. Use
--port <n>, change mcp_port, or stop the process owning 8765. Automatic
onboarding is skipped on fallback ports.
Build C++ target first:
powershell -File tools/build.ps1Expected development path:
build\src\engine\reverse-slop-engine.exe
Call disasm.loaded and wait until image.hype.ready is true. Use
image.hype.progress and image.hype.error for state. Reload image to restart
analysis after disasm.analyze_stop.
Run installer or set path overrides, then call devirt.themida_status before
starting a job.
- HTTP services bind only to
127.0.0.1. - Empty MCP token means no authentication; any local process can then invoke mutation-capable tools. Configure a bearer token on shared or untrusted workstations.
/apibrowser origins are restricted to Tauri and fixed Vite development origins. Non-browser local clients are still governed by loopback and bearer authentication.- Filesystem, web, script, debugger, patch, Frida, network, driver, and memory tools can change host or target state. Expose MCP only to trusted clients.
- Driver loading modifies kernel state and can trigger endpoint-security or
Windows protections. Prefer
--no-driverunless kernel features are needed. - Keep analysis isolated from production and personal systems; use disposable virtual machines and snapshots for untrusted samples.
reverse-slop is version 0.1.1 and Windows-only. APIs and analysis output may
change. No root project license file is currently present; do not assume a
license for reverse-slop itself. Third-party components retain their own
licenses, and separately downloaded Magicmida/ScyllaHide components are GPLv3.

