/ctf-kit:reversefrom ctf-kit
Solves CTF reverse engineering challenges: disassembly, decompilation, key/password finding, algorithm analysis, and anti-debug bypass. Use with binaries like .exe, .elf, .apk, .jar, .pyc.
Ships in ctf-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Analyze and solve reverse engineering challenges.
Use this command for challenges involving:
First check tool availability: bash scripts/check-tools.sh
Start with radare2 analysis (outputs structured JSON):
bash scripts/run-radare2.sh $ARGUMENTS
bash scripts/run-radare2.sh <binary> main # disassemble specific function
JSON output includes:
functions[]: all functions with address, size, nameinteresting_functions[]: functions matching CTF keywords (main, flag, win, check, verify, password, secret, decrypt)strings[]: strings found in binaryinfo: binary metadata (arch, format, etc.)Based on JSON findings, focus analysis:
interesting_functions found → decompile them: r2 -c "aa; pdc @ <function>" <binary>For different binary types:
ELF (Linux): Use radare2 or Ghidra for analysis
PE (Windows): Check for .NET (use dnSpy)
Java/Android: jadx app.jar or jadx app.apk
Python: uncompyle6 file.pyc or pycdc file.pyc
run-radare2.sh binary → identify interesting functions from JSON| Pattern | Meaning |
|---|---|
strcmp, strncmp | String comparison |
memcmp | Memory comparison |
| XOR loop | Simple encryption |
check_, verify_ | Validation functions |
win, flag | Target functions |
For dynamic analysis of Linux ELF binaries on macOS, use the pwn skill's container
wrapper ../pwn/scripts/pwn-docker.sh. ltrace/strace and plain gdb do not work
under emulation; debug via qemu-x86_64 -g 1234 ./binary + pwndbg -ex 'target remote :1234' ./binary
and trace syscalls with qemu-x86_64 -strace ./binary.
When using /ctf-kit:team-solve with a reverse engineering challenge, the lead spawns 3 specialists:
| Role | Teammate Name | Focus | Tools | First Action |
|---|---|---|---|---|
| Static Analyst | static-reverser | Disassembly, decompilation, function listing, string analysis, control flow graphs | radare2, Ghidra, objdump, scripts/run-radare2.sh | List functions, find interesting ones (main, check, verify, flag), decompile them |
| Dynamic Analyst | dynamic-reverser | Runtime behavior, breakpoints, anti-debug bypass, library call tracing, input/output mapping | gdb, ltrace, strace, LD_PRELOAD | Run with ltrace/strace, set breakpoints on strcmp/memcmp, trace validation logic |
| Algorithm Solver | algo-solver | Keygen writing, constraint solving, algorithm reimplementation, z3 SAT solving, symbolic execution | python3, z3, sage | Reimplement the validation algorithm from decompiled code, write solver/keygen |
Reverse engineering has a natural pipeline:
But all 3 can start in parallel — static and dynamic analysis are independent.
/ctf-kit:reverse ./crackme
/ctf-kit:reverse ./challenge.exe
/ctf-kit:reverse app.apk
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
reverse-engineering, ctf, binary-analysis, radare2, ghidra, decompilation
14 skills in this plugin
/analyzeAnalyze CTF challenge files to detect category and suggest next steps. Use when starting a new challenge, receiving unknown files, or needing triage. Triggers: file, strings, xxd, binwalk output, unknown binaries, .bin .dat .raw .enc files, "what is this file", "analyze this", "identify challenge type". Routes to crypto/forensics/stego/web/pwn/ reverse/osint/misc skills based on detection./competeManage a live CTF competition with an agent team. Auto-triages challenges, assigns them to teammates, and tracks progress. Use during live CTF competitions when you have multiple challenges to solve in parallel. Triggers: "competition mode", "live CTF", "start competition", "manage CTF", "assign challenges". Requires agent teams enabled./cryptoSolve CTF cryptography challenges including encryption, hashing, and encoding. Use when you see: Base64 (trailing ==), hex strings (32/40/64 chars for MD5/SHA1/SHA256), RSA parameters (n=, e=, c=, p=, q=), XOR-encrypted data, .pem .key .enc files, classical ciphers (Caesar, Vigenere, substitution), encoding chains, or "crack this hash". Tools: xortool, hashid, hashcat, john, RsaCtfTool, openssl./flagSubmit and validate CTF flags. Saves the flag to flag.txt, marks the challenge as solved, and validates against expected flag formats. Triggers: "submit flag", "found the flag", "flag is", "capture flag", "got the flag", "flag{", "CTF{", "picoCTF{"./forensicsSolve CTF forensics challenges: memory dumps, network captures, disk images, and file carving. Use when you see: .vmem .raw .dmp memory dumps, .pcap .pcapng network captures, .dd .E01 disk images, or embedded/hidden files. Triggers: "memory dump", "packet capture", "disk image", "file carving", "deleted files", "volatility". Tools: volatility3, binwalk, foremost, tshark, sleuthkit. NOT for steganography (use stego) or binary exploitation (use pwn)./hereSet competition context for the current challenge directory. Initializes .ctf/ folder, detects files, guesses category, and saves metadata. Use when starting work on a new challenge, entering a challenge directory, or setting up context for AI analysis. Triggers: "start challenge", "set context", "initialize challenge", "ctf here", "begin working on", "new challenge".npx claudepluginhub mysterionrise/ctf-kit --plugin ctf-kitOther plugins' skills for the same job