Tooluck logoTooluck
SKILL.md

code-obfuscation-deobfuscation

Agent skill fromyaklang/hack-skills

Code obfuscation analysis and deobfuscation playbook. Use when reversing binaries protected by junk code, opaque predicates, self-modifying code, control flow flattening, VM protection, or string encryption.

How to install code-obfuscation-deobfuscation

install code-obfuscation-deobfuscation
# install the hack-skills pack with the skills CLI
npx skills add yaklang/hack-skills

# or add only this skill to Claude Code: copy the folder

skills/code-obfuscation-deobfuscation/

# into

~/.claude/skills/code-obfuscation-deobfuscation/ (all projects)

.claude/skills/code-obfuscation-deobfuscation/ (one project)

skills/code-obfuscation-deobfuscation/SKILL.md

MITFull file
1# SKILL: Code Obfuscation & Deobfuscation — Expert Analysis Playbook
2
3> **AI LOAD INSTRUCTION**: Expert techniques for identifying, classifying, and defeating code obfuscation in native binaries. Covers junk code, opaque predicates, SMC, control flow flattening, movfuscator, VM protectors (VMProtect/Themida/Code Virtualizer), string encryption, import hiding, and anti-disassembly tricks. Base models often conflate packing with obfuscation and miss the distinction between static and dynamic deobfuscation strategies.
4
5## 0. RELATED ROUTING
6
7- [anti-debugging-techniques](../anti-debugging-techniques/SKILL.md) when the obfuscated binary also has anti-debug layers
8- [symbolic-execution-tools](../symbolic-execution-tools/SKILL.md) when using angr/Z3 for automated deobfuscation
9- [vm-and-bytecode-reverse](../vm-and-bytecode-reverse/SKILL.md) for deep VM protector bytecode analysis
10
11### Quick identification picks
12
13| Symptom in IDA/Ghidra | Likely Obfuscation | Start With |
14|---|---|---|
15| Flat CFG, single giant switch | Control flow flattening | Symbolic execution to recover CFG |
16| Only `mov` instructions | movfuscator | demovfuscation / trace-based lifting |
17| pushad/pushfd → VM entry | VM protector | Handler table extraction |
18| XOR loop before code execution | SMC / string encryption | Dynamic analysis, breakpoint after decode |
19| Impossible conditions (opaque predicates) | Junk code insertion | Pattern-based removal |
20…

Excerpt shown under the repository's MIT license.

More skills in hack-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates