reverse-engineering-binaries-with-radare2-rizin
Reverse engineers binaries using radare2/rizin interactively, covering analysis
v1.0.02 установки+2 за 7 дней24 ЗвездыApache-2.0синхронизировано 10 часов назад
Установка
Ещё нет NotHoly CLI? Сначала установите её.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/reverse-engineering-binaries-with-radare2-rizinПишет в ~/.notholy/skills после проверки подписи и SHA-256.
ПодписьПодписано, ed25519
Пакетc67543cb…acd63da8
c67543cb595d…5867acd63da84 файла · 2.8 KBПроверкаСредний2 замечания
- Исполняемый скрипт в составе навыкаscripts/analyst.py
- Ссылки на внешние домены
Источникgithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/reverse-engineering-binaries-with-radare2-rizin@da7600a
Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.
На странице
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).
Файлы этой версии
references/1866 B
- api-reference.md866 B
scripts/12.8 KB
- analyst.py2.8 KB
- LICENSE340 B
- SKILL.md2.5 KB
Права
| Право | Заявлено | Найдено проверкой |
|---|---|---|
| Читает файлы | Нет | Нет |
| Пишет файлы | Нет | Нет |
| Выполняет команды shell | Да | Да |
| Ходит в сеть | Да | Да |
| Использует коннекторы | Нет | Нет |
| Управляет браузером | Нет | Нет |
Замечания проверки
Проверено 13 нояб. 2026 г.
- СредняяФайл · Исполняемый скрипт в составе навыкаscripts/analyst.py
- ИнфоСсылка · Ссылки на внешние домены
Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.
| Версия | Опубликована | Коммит | SHA-256 | Подпись | Изменение прав |
|---|---|---|---|---|---|
| v1.0.0 | 13 нояб. 2026 г. | da7600a | c67543cb | Подписана | – |
Ещё от meltedinhex
Всё от этого издателя- 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
Еще в категории «Реверс-инжиниринг и фаззинг»
Вся категорияСпрашивайте обо всём, что позволяет ваш скоуп.
Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.
- 1/3
Создайте аккаунт
Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.
ЛичныйКомпания - 2/3
Пополните баланс
Картой. Оплата за токены, без подписки.
$5.00минимальное пополнение - 3/3
Спрашивайте
В чате, или установите CLI и выполните notholy login в терминале.
$ notholy login