reverse-engineering-binaries-with-radare2-rizin
Reverse engineers binaries using radare2/rizin interactively, covering analysis
v1.0.02 instalações+2 em 7 dias24 EstrelasApache-2.0sincronizado há 10 horas
Instalar
Ainda não tem a CLI da NotHoly? Instale primeiro.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/reverse-engineering-binaries-with-radare2-rizinGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacotec67543cb…acd63da8
c67543cb595d…5867acd63da84 arquivos · 2.8 KBVarreduraMédio2 achados
- Script executável junto com a skillscripts/analyst.py
- Links para domínios externos
Fontegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/reverse-engineering-binaries-with-radare2-rizin@da7600a
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
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).
Arquivos desta versão
references/1866 B
- api-reference.md866 B
scripts/12.8 KB
- analyst.py2.8 KB
- LICENSE340 B
- SKILL.md2.5 KB
Permissões
| Permissão | Declarada | Encontrada na varredura |
|---|---|---|
| Lê arquivos | Não | Não |
| Grava arquivos | Não | Não |
| Roda comandos no shell | Sim | Sim |
| Usa a rede | Sim | Sim |
| Usa conectores | Não | Não |
| Controla um navegador | Não | Não |
Achados da varredura
Revisado em 13 de nov. de 2026
- MédiaArquivo · Script executável junto com a skillscripts/analyst.py
- InfoLink · Links para domínios externos
Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.
| Versão | Publicada em | Commit | SHA-256 | Assinatura | Mudança de permissão |
|---|---|---|---|---|---|
| v1.0.0 | 13 de nov. de 2026 | da7600a | c67543cb | Assinada | – |
Mais de meltedinhex
Tudo deste publicador- 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
Mais em Engenharia reversa e fuzzing
Ver a categoriaPergunte tudo o que o seu escopo permite.
Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.
- 1/3
Crie a conta
Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.
Pessoa físicaEmpresa - 2/3
Adicione créditos
No cartão. Você paga por token, sem assinatura.
$5.00recarga mínima - 3/3
Pergunte
No chat, ou instale o CLI e rode notholy login no terminal.
$ notholy login