anti-reversing-techniques — Claude Code skill: install
This skill examines anti-reversing, obfuscation, and anti-debugging checks. Use it for authorized binary analysis, CTF work, malware research, and security tooling.
/plugin marketplace add wshobson/agents
/plugin install reverse-engineering@claude-code-workflowsWhat anti-reversing-techniques does
The skill takes a binary path or sample, the target platform, and an analysis goal. It can identify a protection technique and its location, then outline a bypass for dynamic analysis. Its output may include a structured report, patch addresses, hook points, tool commands, and code artifacts.
Reference material covers detailed patterns and worked examples in references/details.md and references/advanced-techniques.md. Platform differences matter: RDTSC and CPUID apply to x86, while ARM uses other checks and APIs. Use the skill only when you have authorization to examine the program or sample.
Install it for legitimate reverse engineering, malware analysis, CTF challenges, or security research. It is the wrong choice for bypassing protection in software you are not authorized to inspect.
What it helps with
- identify an anti-debugging check in a binary
- locate protection mechanisms in an executable
- plan a bypass for dynamic analysis
- map each protection layer in a report
- produce Python, IDAPython, or GDB artifacts
Example prompts for the agent
- “Analyze `sample.exe` for anti-debugging checks and locate each one.”
- “Explain why this detection works on x86 but not ARM, then suggest the platform-specific approach.”
- “Create a protection report and prepare GDB commands for authorized analysis.”
How to install anti-reversing-techniques
1Plugin marketplace
/plugin marketplace add wshobson/agents/plugin install reverse-engineering@claude-code-workflowsThis installs the whole reverse-engineering plugin with all its skills
2Skills CLI (Vercel)
npx skills add wshobson/agents --skill anti-reversing-techniques -a claude-code3Manually: put the files in place
~/.claude/skills/anti-reversing-techniques/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/anti-reversing-techniques/
1Skills CLI (Vercel)
npx skills add wshobson/agents --skill anti-reversing-techniques -a codex2Manually: put the files in place
.agents/skills/anti-reversing-techniques/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add wshobson/agents --skill anti-reversing-techniques -a cursor2Manually: put the files in place
.cursor/skills/anti-reversing-techniques/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install wshobson/agents anti-reversing-techniques2Manually: put the files in place
.github/skills/anti-reversing-techniques/SKILL.mdPlatform CLI
gemini skills install https://github.com/wshobson/agents --path plugins/reverse-engineering/skills/anti-reversing-techniquesManually: put the files in place
.devin/skills/anti-reversing-techniques/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set213
The whole set →Similar
Questions about anti-reversing-techniques
How do I install anti-reversing-techniques in Claude Code?
Run npx skills add wshobson/agents --skill anti-reversing-techniques -a claude-code in Claude Code. The skill file is placed at ~/.claude/skills/anti-reversing-techniques/SKILL.md.
What does anti-reversing-techniques do?
It helps identify obfuscation, anti-debugging checks, and other protection methods during software analysis. It can produce findings for authorized reverse engineering, including hook points, patches, and tool commands.
Does the skill support ARM?
Yes. It describes ARM-specific alternatives to the x86-only RDTSC and CPUID checks. It also covers platform-specific debugger checks for Linux and macOS.
Source text
SKILL.md · MIT
--- name: anti-reversing-techniques description: 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. --- > **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](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
© Dávid Balatoni · MIT · wshobson/agents