Reverse Engineering & Binary Analysis

Reverse Engineering & Binary Analysis is a skill for Claude Code, Codex from Masriyan/Claude-Code-CyberSecurity-Skill. It costs 26 tokens per session (3,385 once invoked), scanned A, original, MIT.

A tool-assisted method for studying compiled programs and recovering how they work. Disassembly shows machine instructions as assembly code, while decompilation attempts to reconstruct higher-level code.

In plain words
What is it for?
Use it to examine ELF, PE, Mach-O, firmware, and raw binary files; interpret processor instructions; analyse protocols; and work with output from tools such as Ghidra, IDA Pro, radare2, or Binary Ninja.
Why use it?
It helps investigate software when the original source code is unavailable, including finding behaviour, vulnerabilities, or undocumented communication rules.

Skill for Claude CodeCodex

Part of the cybersecurity plugin — 19 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/masriyan/claude-code-cybersecurity-skill/04-reverse-engineering
Any agent
npx skills add Masriyan/Claude-Code-CyberSecurity-Skill --skill 04-reverse-engineering
Clone the repo
git clone --depth 1 https://github.com/Masriyan/Claude-Code-CyberSecurity-Skill

Made for: Claude Code, Codex.

Or install cybersecurity, the plugin that ships this one along with the rest of its 19 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Reverse Engineering & Binary Analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/04-reverse-engineering.svg)](https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/04-reverse-engineering)
Your own site
<a href="https://agentmods.dev/skills/masriyan/claude-code-cybersecurity-skill/04-reverse-engineering"><img src="https://agentmods.dev/badge/skills/masriyan/claude-code-cybersecurity-skill/04-reverse-engineering.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,385 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00026 $0.03385
Opus 5 $0.00013 $0.01692
Sonnet 5 $0.00005 $0.00677
Haiku 4.5 $0.00003 $0.00338

Measured 5d ago against content hash a8ba533bfdd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Reverse Engineering & Binary Analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/binary_analyzer.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/04-reverse-engineering/SKILL.md · 363 lines

How it starts

The opening of the file, as written. The whole thing — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reverse Engineering & Binary Analysis

Purpose

Enable Claude to assist with reverse engineering tasks including binary analysis, assembly interpretation, decompilation, firmware reverse engineering, and protocol analysis. Claude directly reads and interprets disassembled code, identifies patterns, reconstructs logic, and helps navigate complex binaries using RE tool output.


Activation Triggers

This skill activates when the user asks about:

  • Analyzing an ELF, PE (exe/dll), Mach-O, or raw binary
  • Interpreting x86, x64, ARM, MIPS, or RISC-V assembly code
  • Reverse engineering firmware from embedded/IoT devices
  • Reverse engineering a network protocol
  • Using Ghidra, IDA Pro, radare2, or Binary Ninja output
  • Identifying what a binary or function does
  • Finding vulnerabilities in disassembly
  • CTF binary challenges (pwn, reversing categories)
  • Anti-debugging or anti-analysis technique identification
  • Unpacking or deobfuscating binaries

Prerequisites

pip install capstone pyelftools pefile lief

Recommended RE tools:

  • Ghidra — NSA open-source RE framework (free)
  • radare2 / Cutter — Open-source RE framework
  • Binary Ninja — Commercial RE platform with scripting
  • IDA Pro / Free — Industry standard disassembler
  • GDB + GEF/PEDA/pwndbg — Dynamic debugging
  • Binwalk — Firmware extraction and analysis
  • strings, file, objdump, readelf — Standard Linux utilities

Core Capabilities

1. Initial Binary Triage

When the user provides a binary or asks what a file is:

Run these commands and share output with Claude for analysis:

# File type identification
file suspicious_binary

# Strings extraction (often reveals C2, keys, paths)
strings -a suspicious_binary | grep -E "(http|/etc|password|key|secret|flag)"

# ELF analysis
readelf -a suspicious_binary
objdump -d suspicious_binary | head -100

# PE analysis
python scripts/binary_analyzer.py --file malware.exe --strings --imports

# Entropy analysis (high entropy = packed/encrypted)
python scripts/binary_analyzer.py --file binary --entropy

Read the full file on GitHub · 363 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 363 lines · 26 tokens per session scan A a8ba533bfdd7

Subscribe to this mod's changes

Reverse Engineering & Binary Analysis is a skill published in the GitHub repository Masriyan/Claude-Code-CyberSecurity-Skill (389 stars, last pushed 26d ago), licensed MIT. It adds 26 tokens to every session and 3,385 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

Youngmaidainon/Agent-Level-Up · 95 tokens

analyzing-golang-malware-with-ghidra

Reverse engineer Go-compiled malware in Ghidra by parsing Go buildinfo and pclntab structures, recovering stripped/obfuscated function names (e.g. via GoResolver), and extracting embedded module/dependency strings and types from Go binaries. Use when analyzing a Go-language malware sample, deobfuscating a…

mukul975/Anthropic-Cybersecurity-Skills · 95 tokens

analyzing-golang-malware-with-ghidra

Use when reverse engineer Go-compiled malware using Ghidra with specialized scripts for function recovery, string extraction, and type reconstruction in stripped Go binaries. Use when reverseing engineer go-compiled malware using ghidra with specialized scripts for.

oyi77/1ai-skills · 60 tokens

re-fw-extract

固件提取与解包:binwalk/unblob、magic 扫描、字节序。 触发词:固件、binwalk、解包固件、firmware、IoT、MCU、8051、AVR、PIC、MSP430、Intel HEX、.hex.

dslsdzc/rev-skills · 70 tokens

re-riscv

RISC-V 架构逆向:RV32/RV64、压缩指令(RVC)、gp 相对寻址、ABI 与 ecall 系统调用约定、工具链指纹。 触发词:RISC-V、riscv、RV32、RV64、RVC、压缩指令、ecall、ESP32-C3、GD32V。.

dslsdzc/rev-skills · 88 tokens

re-uefi

UEFI/BIOS 固件:DXE 驱动、UEFI 模块、bootkit。 触发词:UEFI、BIOS、DXE、bootkit、Secure Boot、EFI 固件.

dslsdzc/rev-skills · 51 tokens