Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
meltedinhex/reverse-engineering-binaries-with-radare2-rizinReverse engineering and fuzzing

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-rizin

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
3Q8wku26rz…FOuhxICA==The CLI checks the SHA-256 and the signature before it writes a file.
Packagec67543cb…acd63da8
c67543cb595d…5867acd63da84 files · ⁦2.8 KB⁩
ScanMedium2 findings
  • Executable script shipped with the skillscripts/analyst.py
  • Links to outside domains
See the full scan
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/reverse-engineering-binaries-with-radare2-rizin@da7600a

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

bash
python scripts/analyst.py cheatsheet analyze

Prints 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

  • aaa completes and afl lists 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.md for the command cheatsheet tool.
  • The radare2 book and Rizin docs (linked in frontmatter).

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesNoNo
Runs shell commandsYesYes
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumFile · Executable script shipped with the skillscripts/analyst.py
  2. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v1.0.0Nov 13, 2026da7600ac67543cbSigned–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login