Reverse engineering binaries

From 0dayInc/pwn · View interactive version

Reverse engineering binaries is an AI agent skill from the GitHub repository 0dayInc/pwn. Triage a binary with checksec, disassembly, and PWN::Plugins::Assembly.

How to use this skill

Skill file

Reverse Engineering Binaries

Use when the ask is to understand a binary, firmware blob, or opcode

stream. Use deep-exploitation after you have a crash or a primitive.

When to use

Methodologies

hardware-and-firmware-testing)

Tooling

BannedFunctionCallsC / UseAfterFree SAST on available source,

PWN::Plugins::Fuzz if you move to crash-finding.

PWN::Plugins::Assembly.opcodes_to_asm(opcodes: '90 90', arch: 'x86_64')
PWN::Plugins::Assembly.asm_to_opcodes(asm: 'nop', arch: 'x86_64')

Procedure

  1. file + hashes. Note arch, linking, stripped or not.
  2. checksec / readelf -l for NX, PIE, RELRO, canary, rpath.
  3. strings + import table (readelf -d / objdump -T) for the

interesting surface (crypto, net, parser, system/strcpy).

  1. Locate the function (symbols, strings xrefs, entry). Disassemble.
  2. If packed, unpack first (UPX or a loader dump) - do not invent

control flow from a packed blob.

  1. Write notes: purpose, inputs, dangerous sinks, unanswered questions.
  2. Hand off to deep-exploitation only when you have a sink + control.

Pitfalls

artefact on disk, read it back.

one strings.

Verification

Notes on disk (or in the final) include arch, mitigations, and at least

one concrete function or sink with evidence from the tools above.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.