About pentest-ctf-binary
A binary-analysis skill for CTF participants who need to understand executable behavior, find memory-corruption bugs, and build exploits. Its workflow spans static and dynamic analysis through remote flag retrieval.
Key features
- 01Inspect binary protections and code structure
- 02Debug execution and register state with gdb
- 03Identify crashes and memory-corruption bugs
- 04Build shellcode and ROP payloads with pwntools
- 05Run exploits against remote targets
Use cases
- 01Analyzing a CTF binary's protections
- 02Debugging a crashing executable
- 03Developing a ROP or format-string exploit
- 04Retrieving a flag from a remote challenge target
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ jd-opensource/ joysafeter --skill pentest-ctf-binaryAfter installing, type/pentest-ctf-binaryin Claude Code to confirm it loaded.
Bundled filesreferences/tools.mdreferences/workflows.md
Details
From the project READMEPentest CTF Binary
Purpose
Analyze binary files to understand their behavior, identify memory corruption vulnerabilities, and develop exploits (ROP, Heap, Format String).
Core Workflow
- Static Analysis: Inspect binary properties, protections (NX, PIE), and code structure using
checksecandghidra. - Dynamic Analysis: Run the binary under a debugger (
gdb) to observe behavior and register states. - Vulnerability Identification: Locate crashes, buffer overflows, or format string bugs.
- Exploit Development: Construct payloads (shellcode, ROP chains) using
pwntools. - Remote Exploitation: Launch the exploit against the target server to retrieve the flag.
References
references/tools.mdreferences/workflows.md
Comments
Markdown supported