/cybersec-toolkit:ctf-revfrom cybersec-toolkit
Provides a structured workflow for CTF reverse engineering challenges: triage, packing detection, decompiler selection, and dynamic analysis for stripped/packed binaries, .NET/Java/Android/WASM/Python/Lua targets.
Ships in cybersec-toolkit. 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.
None: SKILL.md is the whole skill.
Pre-flight. Confirm the event rules allow AI assistance (
authorization-gate). Start withsuggest_for_ctforguided_assessment. Commands below are CLI notation: run them withrun_tool/run_pipelineusing registry names (list_tools), andrun_scriptonly for real logic. If policy blocks a command, tell the operator; do not fall back to the client shell. A tool that is not in the registry is a recommendation to the user (approval-gated install), not a bare command.
run_tool("file", "./bin")
run_pipeline([{"tool": "strings", "args": "./bin"}, {"tool": "head", "args": "-50"}])
run_pipeline([{"tool": "strings", "args": "./bin"}, {"tool": "grep", "args": "-i -e flag -e ctf{ -e password -e key"}])
run_pipeline([{"tool": "xxd", "args": "./bin"}, {"tool": "head", "args": "-20"}]) # magic bytes
run_tool("checksec", "--file=./bin") # protections
# Entropy check (>7.5 = packed/encrypted): binwalk -E, or run_script with collections.Counter
run_tool("binwalk", "-E ./bin")
# UPX / known packers
run_tool("upx-ucl", "-t ./bin") # tests + identifies UPX
# Detect It Easy is registry tool detect-it-easy; use it only if run_tool resolves its CLI
If UPX-packed: run_tool("upx-ucl", "-d ./bin -o unpacked"). For custom packers: dump from memory after unpacking stub runs (gdb / x64dbg).
| Binary type | Best tool |
|---|---|
| ELF / PE / Mach-O | Ghidra (registry), IDA (commercial), Binary Ninja |
| Stripped ELF | Ghidra + recover symbols via FunctionID / Lumen |
| .NET (DLL/EXE) | dnSpyEx, ilspycmd, dotPeek |
| Java JAR | jadx, cfr, procyon |
| Java class | javap -c -p |
| Android APK | jadx-gui, apktool d then jadx on dex |
| iOS / Mach-O | Hopper, Ghidra |
| Go binary | redress, GoReSym, Ghidra + Go plugin |
| Rust | Ghidra + rustfilt for symbols |
| WASM | wabt (wasm-decompile), wasmer for run |
Python .pyc | uncompyle6, decompyle3, pycdc |
| PyInstaller .exe | pyinstxtractor then pycdc on .pyc |
| Compiled Lua | unluac, luadec |
Policy blocks ltrace and strace on a sample through run_tool because they launch the program. Run a sample only inside the sandbox/VM (docs/SANDBOX.md); strace -p <pid> on an already-running process is allowed.
# Inside the sandbox/VM only
ltrace ./bin
strace -f -e trace=read,write,open ./bin
# Debugger
gdb-multiarch ./bin
# Branch flipping at a breakpoint
gdb> set $eax = 1 # change the return value to bypass a check
gdb> set $eflags ^= 0x40 # flip ZF to invert a jz/jnz
# or patch the jump permanently in radare2 / Ghidra
For Android: frida for runtime instrumentation, objection on top.
Common checks:
ptrace(PTRACE_TRACEME) returns -1 if already debugged → patch with nop/proc/self/status TracerPid: 0 check → LD_PRELOAD a fake or patchIsDebuggerPresent() (Windows) → patch the call siteTooling: ScyllaHide (Windows), gdb scripts to auto-bypass, frida to hook.
If you see a big switch dispatcher reading a "bytecode" buffer:
This is common in harder rev challenges. Don't fight the VM — disassemble it.
For challenges where input → boolean check, and check is complex but pure:
angr — Python symbolic execution. Find path to "win" basic block.manticore — alternative.z3 directly — when constraints are explicit (e.g., "input[i] ^ key[i] == ...").The crypto venv (./install.sh --module crypto) includes z3.
main, focus therestrings, objdump, readelf — use the toolsradare2 or Ghidra's patch instructionsUse the writeup-template skill. Include the key reverse-engineered algorithm or VM disassembly.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub 26zl/cybersec-toolkit --plugin cybersec-toolkit880 skills in this plugin
/acquiring-disk-image-with-dd-and-dcflddCreate forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification (MD5/SHA) during acquisition. Use when imaging a suspect drive, USB device, or memory card for investigation, preserving volatile disk evidence during incident response, or producing a verified copy for legal or law-enforcement proceedings before any destructive analysis./add-toolUse when adding a new cybersecurity tool to this installer. Walks through editing the right module file, adding to tools_config.json, running validators, and syncing MCP server data if needed. Triggers on phrases like "add tool", "add <toolname>", "register a new tool", "include X in the installer"./Other plugins' skills for the same job