Loading...
Loading...
Provides reverse engineering techniques. Use when the main job is to understand how a compiled, obfuscated, packed, or virtualized target works before exploiting or solving it, including binaries, APKs, WASM, firmware, custom VMs, bytecode, malware-like loaders, and anti-debug or anti-analysis logic. Do not use it when the vulnerability is already understood and the remaining task is exploitation; use pwn instead. Do not use it for pure web workflows, log or disk forensics, or standalone crypto problems unless reversing the implementation is the real blocker.
npx skill4agent add zhaoxuya520/reverse-skill reverse-engineering阶段门闩:(triage→static→dynamic→synthesis)。社区 RE skill 对照:references/re-agent-workflow.md。../references/community-security-skills.md
NOW../field-journal/precedent-reverse.mdNOWNEXT../tool-index.mdNEXTACTpip install frida-tools angr qiling uncompyle6 capstone lief z3-solver
# For Python 3.9+ bytecode: build pycdc from source
git clone https://github.com/zrax/pycdc && cd pycdc && cmake . && makeapt install gdb radare2 binutils strace ltrace apktool upxbrew install gdb radare2 binutils apktool upx ghidrar2pm -ci r2ghidra # Native Ghidra decompiler for radare2brew install pwndbg/tap/pwndbg-gdb/ctf-pwn/ctf-forensics/ctf-web/ctf-ai-ml/ctf-crypto/ctf-malware/ctf-misc# Plaintext flag extraction
strings binary | grep -E "flag\{|CTF\{|pico"
strings binary | grep -iE "flag|secret|password"
rabin2 -z binary | grep -i "flag"
# Dynamic analysis - often captures flag directly
ltrace ./binary
strace -f -s 500 ./binary
# Hex dump search
xxd binary | grep -i flag
# Run with test inputs
./binary AAAA
echo "test" | ./binaryfile binary # Type, architecture
checksec --file=binary # Security features (for pwn)
chmod +x binary # Make executableb *main+OFFSETx/s $rsigdb ./binary
start # Forces PIE base resolution
b *main+0xca # Relative to main
runtransform(flag) == stored_targettransform(stored_target) == flagflag{CTF{^ i^ (i & 0xff)# Radare2
r2 -d ./binary # Debug mode
aaa # Analyze
afl # List functions
pdf @ main # Disassemble main
# Ghidra (headless)
analyzeHeadless project/ tmp -import binary -postScript script.py
# IDA
ida64 binary # Open in IDA64skills/SKILL.mdrouting.mdida-reverse/radare2/apk-reverse/tools-dynamic.mdanti-analysis.mdlanguages*.mdpatterns*.mdapk-reverse/tool-index