Anti Reversing Techniques skill for Claude

Understand anti-reversing, obfuscation, and protection techniques encountered during software analysis.

When Claude uses it

Use this skill when analyzing malware evasion techniques, when implementing anti-debugging protections for CTF challenges, when reverse engineering packed binaries, or when building security research tools that need to detect virtualized environments.

Anti Reversing Techniques SKILL.md

The full skill file from wshobson/agents (MIT).

AUTHORIZED USE ONLY: This skill contains dual-use security techniques. Before proceeding with any bypass or analysis:

  1. Verify authorization: Confirm you have explicit written permission from the software owner, or are operating within a legitimate security context (CTF, authorized pentest, malware analysis, security research)
  2. Document scope: Ensure your activities fall within the defined scope of your authorization
  3. Legal compliance: Understand that unauthorized bypassing of software protection may violate laws (CFAA, DMCA anti-circumvention, etc.)

Legitimate use cases: Malware analysis, authorized penetration testing, CTF competitions, academic security research, analyzing software you own/have rights to

Anti-Reversing Techniques

Understanding protection mechanisms encountered during authorized software analysis, security research, and malware analysis. This knowledge helps analysts bypass protections to complete legitimate analysis tasks.

For advanced techniques, see references/advanced-techniques.md


Input / Output

What you provide:

  • Binary path or sample: the executable, DLL, or firmware image under analysis
  • Platform: Windows x86/x64, Linux, macOS, ARM — affects which checks apply
  • Goal: bypass for dynamic analysis, identify protection type, build detection code, implement for CTF

What this skill produces:

  • Protection identification: named technique (e.g., RDTSC timing check, PEB BeingDebugged) with location in binary
  • Bypass strategy: specific patch addresses, hook points, or tool commands to neutralize each check
  • Analysis report: structured findings listing each protection layer, severity, and recommended bypass
  • Code artifacts: Python/IDAPython scripts, GDB command sequences, or C stubs for bypassing or implementing checks

Detailed patterns and worked examples

Detailed pattern documentation lives in references/details.md. Read that file when the navigation tier above is insufficient.

Troubleshooting

Detection technique works on x86 but not ARM

RDTSC and CPUID are x86-only. On ARM, use MRS x0, PMCCNTR_EL0 (requires kernel PMU access) or clock_gettime(CLOCK_MONOTONIC). PEB/TEB do not exist on ARM — replace with /proc/self/status (Linux) or task_info (macOS). Rebuild detection logic with platform-specific APIs.

False positive on legitimate debugger or analysis tool

Timing checks fire when Process Monitor or AV hooks inflate syscall latency. Calibrate the threshold at startup: measure the guarded path 3 times and use mean + 3*stddev. For ptrace checks, verify the TracerPid comm name via /proc/<pid>/comm before exiting — it may be an unrelated monitoring tool, not a debugger.

Bypass patch causes crash instead of continuing execution

Before NOPing a conditional jump, trace the "detected" branch fully. If it initializes or frees heap state needed later, patching the jump skips that setup and corrupts state. Instead, patch the comparison operand to the expected "clean" value, or use x64dbg's "Set condition to always false" on the breakpoint rather than modifying bytes.


Related Skills

  • binary-analysis-patterns — static and dynamic analysis workflows for ELF/PE/Mach-O
  • memory-forensics — process memory acquisition, artifact extraction, and live analysis
  • protocol-reverse-engineering — decoding custom binary protocols and encrypted network traffic

How to install Anti Reversing Techniques

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit wshobson/agents/plugins/reverse-engineering/skills/anti-reversing-techniques#main ~/.claude/skills/anti-reversing-techniques

Codex

npx degit wshobson/agents/plugins/reverse-engineering/skills/anti-reversing-techniques#main ~/.codex/skills/anti-reversing-techniques

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Anti Reversing Techniques skill do?

Understand anti-reversing, obfuscation, and protection techniques encountered during software analysis. Use this skill when analyzing malware evasion techniques, when implementing anti-debugging protections for CTF challenges, when reverse engineering packed binaries, or when building security research tools that need to detect virtualized environments.

+How do I install Anti Reversing Techniques in Claude Code?

Copy the skill folder into ~/.claude/skills/anti-reversing-techniques, for example with "npx degit wshobson/agents/plugins/reverse-engineering/skills/anti-reversing-techniques#main ~/.claude/skills/anti-reversing-techniques". Claude Code loads it automatically and uses it when a task matches.

+Does Anti Reversing Techniques work with ChatGPT or Codex?

Yes. Anti Reversing Techniques uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/anti-reversing-techniques. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Anti Reversing Techniques free?

Anti Reversing Techniques is published on GitHub by wshobson under the MIT license, which allows free use.

Related security skills

  1. Security Review

    Official

    Security code review for vulnerabilities. Use when asked to "security review", "find vulnerabilities", "check for security issues", "audit…

    getsentry/skills★ 1.2k
  2. Audit

    a user-authored audit skill

    pbakaus/impeccable★ 112k
  3. Semgrep

    Official

    Runs a Semgrep security scan over a codebase: detects languages, selects rulesets, presents the plan for explicit approval, then runs every…

    trailofbits/skills★ 8.3k
  4. Attack Tree Construction

    Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating…

    wshobson/agents★ 43k
  5. Auth Implementation Patterns

    Master authentication and authorization patterns including JWT, OAuth2, session management, and RBAC to build secure, scalable access…

    wshobson/agents★ 43k
  6. Sast Configuration

    Configure Static Application Security Testing (SAST) tools for automated vulnerability detection in application code.

    wshobson/agents★ 43k
  7. Security Requirement Extraction

    Derive security requirements from threat models and business context.

    wshobson/agents★ 43k
  8. Signed Audit Trails Recipe

    Step-by-step cookbook for setting up cryptographically signed audit trails on Claude Code tool calls.

    wshobson/agents★ 43k
  9. Solidity Security

    Master smart contract security best practices to prevent common vulnerabilities and implement secure Solidity patterns.

    wshobson/agents★ 43k

See all security skills →

More skills from wshobson

  1. Architecture Decision Records

    Write and maintain Architecture Decision Records (ADRs) following best practices for technical decision documentation.

    wshobson/agents★ 43k
  2. Architecture Patterns

    Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

    wshobson/agents★ 43k
  3. Async Python Patterns

    Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications.

    wshobson/agents★ 43k

All skills by wshobson →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.