# Pentest Ctf Binary

> Binary exploitation (Pwn) and reverse engineering tools for CTF challenges and software analysis.

- Skill: `jd-opensource/pentest-ctf-binary` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add jd-opensource/pentest-ctf-binary`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jd-opensource/pentest-ctf-binary/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jd-opensource (https://skillmd.com/u/jd-opensource)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jd-opensource/pentest-ctf-binary

---


# Pentest CTF Binary

## Purpose
Analyze binary files to understand their behavior, identify memory corruption vulnerabilities, and develop exploits (ROP, Heap, Format String).

## Core Workflow
1. **Static Analysis**: Inspect binary properties, protections (NX, PIE), and code structure using `checksec` and `ghidra`.
2. **Dynamic Analysis**: Run the binary under a debugger (`gdb`) to observe behavior and register states.
3. **Vulnerability Identification**: Locate crashes, buffer overflows, or format string bugs.
4. **Exploit Development**: Construct payloads (shellcode, ROP chains) using `pwntools`.
5. **Remote Exploitation**: Launch the exploit against the target server to retrieve the flag.

## References
- `references/tools.md`
- `references/workflows.md`

