reverse-engineering-binaries-with-radare2-rizin
Reverse engineers binaries using radare2/rizin interactively, covering analysis
v1.0.02 installs+2 in 7 days24 StarsApache-2.0synced 10 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/reverse-engineering-binaries-with-radare2-rizinWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Packagec67543cb…acd63da8
c67543cb595d…5867acd63da84 files · 2.8 KBScanMedium2 findings
- Executable script shipped with the skillscripts/analyst.py
- Links to outside domains
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/reverse-engineering-binaries-with-radare2-rizin@da7600a
On this page
When to Use
- You want to statically reverse a binary with the radare2/rizin command set: analyze, navigate functions, read disassembly/graphs, and patch.
- You prefer a scriptable, terminal-based RE workflow.
Do not use r2's debug mode (-d) to run untrusted samples on your host — for static RE, open
without debugging. Work in an isolated environment.
Prerequisites
- radare2 or rizin installed and the sample (read inertly).
Safety & Handling
- Static analysis does not execute the sample; keep the working directory isolated.
Workflow
Step 1: Open and analyze
python scripts/analyst.py cheatsheet analyzePrints the core sequence: open read-only (r2 -e bin.cache=true sample), aaa to analyze, afl
to list functions, iI/ie for info/entrypoint.
Step 2: Navigate and disassemble
Use s <addr>/s main to seek, pdf to print a function, VV for the graph view, and axt for
cross-references.
Step 3: Annotate
Rename with afn, add comments with CC, define data with Cd, and flag locations with f.
Step 4: Patch (optional)
In write mode (-w), use wa/wx to assemble/patch and re-verify with pdf.
Validation
aaacompletes andafllists functions before deeper navigation.- Commands used are real r2/rizin commands (verifiable in the book).
- Patches are re-disassembled to confirm the intended change.
Pitfalls
- Forgetting
aaa, leaving functions undefined. - Confusing radare2 and rizin command differences in scripts.
- Opening with
-d(debug/run) when only static analysis is intended.
References
- See
references/api-reference.mdfor the command cheatsheet tool. - The radare2 book and Rizin docs (linked in frontmatter).
Files in this version
references/1866 B
- api-reference.md866 B
scripts/12.8 KB
- analyst.py2.8 KB
- LICENSE340 B
- SKILL.md2.5 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumFile · Executable script shipped with the skillscripts/analyst.py
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v1.0.0 | Nov 13, 2026 | da7600a | c67543cb | Signed | – |
More from meltedinhex
All from this publisher- writing-yara-rules-from-reversed-codemeltedinhex/writing-yara-rules-from-reversed-code4
- validating-detections-with-atomic-testsmeltedinhex/validating-detections-with-atomic-tests4
- writing-suricata-and-snort-rulesmeltedinhex/writing-suricata-and-snort-rules3
- writing-sigma-detection-rulesmeltedinhex/writing-sigma-detection-rules3
More in Reverse engineering and fuzzing
See the categoryAsk anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login