ctf-reverse

Analyze and bypass anti-analysis protections in CTF reverse-engineering binaries.

1.6k|234|Updated Dec 7, 2019
One-click install
npx skills add https://github.com/wgpsec/AboutSecurity --skill ctf-reverse-wgpsec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctf-reverse
Source: https://github.com/wgpsec/AboutSecurity/tree/main/skills/ctf/ctf-reverse
Command: npx skills add https://github.com/wgpsec/AboutSecurity --skill ctf-reverse-wgpsec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides a structured methodology and on-demand references to analyze, deobfuscate, and solve CTF reverse-engineering challenges where unknown binaries, custom VMs, or obfuscated apps block straightforward analysis.

Core Features & Use Cases

  • Decision tree guidance for file-type recognition, static-first vs dynamic-first tradeoffs, and when to escalate to symbolic execution or emulation.
  • Anti-analysis bypass recipes covering ptrace/PEB/rdtsc/tls-callbacks, LD_PRELOAD hooks, Frida tricks, and patching strategies for Linux/Windows/macOS.
  • Tool orchestration patterns and references for Ghidra/IDA, GDB/LLDB/pwndbg, Frida, angr, Qiling, Triton, and custom VM reverse workflows; includes language/platform notes (Go, Rust, .NET, APK, WASM).
  • Evals and testcases that exercise ELF static analysis, angr symbolic solving, VM extraction, and anti-debug bypass scenarios.

Quick Start

Use the ctf-reverse skill to identify the binary type, list the likely anti-analysis checks, and choose the next tool and reference to locate the flag.

Frequently Asked Questions about ctf-reverse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bypass anti-debug checks in stripped ELF or PE binaries for CTF reverse engineering?

To bypass anti-debug checks in CTF reverse engineering, apply patching strategies for ptrace, PEB, rdtsc, and TLS callbacks across Linux, Windows, and macOS. Use Frida tricks and LD_PRELOAD hooks to intercept and neutralize runtime protections.

What is the best way to reverse engineer a custom VM challenge in a CTF?

The best way to reverse a custom VM challenge is to follow a structured decision tree for VM reconstruction using Ghidra or IDA for static analysis. Escalate to Qiling or angr for emulation and symbolic execution to extract logical checks automatically.

Can I use Frida and angr together for dynamic instrumentation and symbolic execution?

Yes, you can use Frida for dynamic instrumentation and angr for symbolic execution together. The workflow orchestrates both tools to bypass anti-analysis protections dynamically while solving logical constraints statically.

How do I analyze obfuscated APK, WASM, or Go binaries for CTF challenges?

Analyzing obfuscated APK, WASM, and Go binaries requires specific language and platform notes alongside tool orchestration. Use Ghidra or IDA for static deobfuscation and apply tailored workflows to handle each format's unique compilation characteristics.

When should I use symbolic execution instead of static analysis for binary analysis?

You should escalate to symbolic execution when static analysis is blocked by complex obfuscation or anti-analysis protections. Use a stepwise decision tree to evaluate static-first versus dynamic-first tradeoffs before deploying angr or Triton.

Does the ctf-reverse skill support deobfuscation recipes for Rust and .NET binaries?

Yes, the ctf-reverse skill provides deobfuscation recipes and stepwise decision trees that explicitly support Rust and .NET binaries. It orchestrates tools like Ghidra, IDA, and Frida to handle these specific platform challenges.