Build Muramasa from source
Install the toolchain, compile the app, and attach it to a process you own.
What you will learn
By the end you will have Muramasa running on your machine, and you will know why it needs a few sibling repositories to build. Building from source is also the fastest way to see that the tool is truly free software.
What you need
- A Linux, Windows or macOS machine you control.
- A Rust toolchain. If you do not have one:
1curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- GTK4 development headers. On Debian/Ubuntu:
1sudo apt install libgtk-4-dev
On Arch-based systems, install gtk4. On Windows with MSYS2 UCRT:
1pacman -S mingw-w64-ucrt-x86_64-gtk4 mingw-w64-ucrt-x86_64-toolchain mingw-w64-ucrt-x86_64-pkg-config
1. Get the sources
Muramasa deliberately keeps the logic out of the GUI. Its memory and debugging work lives in black_box, with kutility and gtk4_themes supplying shared helpers. Clone them as sibling directories:
1mkdir ghd && cd ghd
2git clone https://github.com/GameHackingDojo/black_box.git
3git clone https://github.com/GameHackingDojo/kutility.git
4git clone https://github.com/GameHackingDojo/gtk4_themes.git
5git clone https://github.com/GameHackingDojo/muramasa.git
2. Build
1cd muramasa
2cargo build --release
The first build takes a while: Rust is compiling the toolkit, the GTK bindings and the application together. A successful build ends with Finished release [optimized].
3. Run and attach
1./target/release/muramasa
Open a harmless program you own — a text editor is fine — then use the process list to attach to it. You can inspect modules and regions without changing anything. Read-only exploration is the right place to start.
Only inspect processes you own or have explicit permission to analyse. Keep learning on software you control.
What just happened
The GTK window did not read memory itself. It asked black_box to enumerate processes, read regions and decode values, then rendered the answers. That separation is why the same toolkit can power other frontends.
Next
- Your first memory scan — find a value and narrow it down.
- Breakpoints and watchpoints — see what changes a value.
- Prefer a ready-made binary? See downloads.