What it is
black_box is a cross-platform reverse-engineering toolkit written in Rust. It handles process and module management, memory reads and writes, scanning, debugging, disassembly and scripting. It has no GUI dependency, so it can be embedded in GTK4 apps, terminal tools or headless services.
Muramasa is the flagship frontend. Everything the GUI shows comes from black_box.
The workspace
The facade crate re-exports the sub-crates you enable through feature flags:
common— shared types for processes, permissions and value formats.pm/mm— process, module and memory management.ms— byte-pattern scanning with wildcards and incremental rescans.dbg— attach, breakpoints, hardware watchpoints, registers, disassembly, hex dumps and instruction traces.probe/injector— an in-target payload and manual mapping of ELF/PE images.script— a compact DSL, CE-compatible scripts, Rhai and WASM plugins.
Operation modes
Every memory access goes through one process-wide switch, so a frontend can change how the toolkit talks to a target without rewriting its logic:
- External — direct reads and writes through OS APIs (
process_vmon Linux, the Debug API on Windows). - Internal — an injected probe services bulk I/O from inside the target, which lets scanning continue while it runs and reaches regions the VM reader misses.
- Kernel — reserved for a future kernel-assisted backend.
Build it
1git clone https://github.com/GameHackingDojo/black_box.git
2cd black_box
3cargo build --release
The facade builds with no optional sub-crates by default; enable only what you need through Cargo features. The README lists each feature and what it re-exports.
Licence
GPL-3.0-or-later (GPLv3+). See the repository for the full licence text.