Skills for Real Engineers. Straight from my .agents directory.
anti-debugging-techniques
Agent skill fromyaklang/hack-skills
Anti-debugging detection and bypass playbook. Use when reversing protected binaries that detect debuggers via ptrace, PEB flags, timing checks, or signal/exception handlers on Linux and Windows.
How to install anti-debugging-techniques
npx skills add yaklang/hack-skills# or add only this skill to Claude Code: copy the folder
skills/anti-debugging-techniques/
# into
~/.claude/skills/anti-debugging-techniques/ (all projects)
.claude/skills/anti-debugging-techniques/ (one project)
1# SKILL: Anti-Debugging Techniques — Detection & Bypass Playbook23> **AI LOAD INSTRUCTION**: Expert anti-debug techniques across Linux and Windows. Covers ptrace, PEB flags, NtQueryInformationProcess, timing attacks, signal-based detection, TLS callbacks, VEH tricks, and all corresponding bypass methods. Base models often miss the distinction between user-mode and kernel-mode detection and the correct patching strategy for each.45## 0. RELATED ROUTING67- [code-obfuscation-deobfuscation](../code-obfuscation-deobfuscation/SKILL.md) when the binary also uses control flow flattening, VM protection, or string encryption8- [vm-and-bytecode-reverse](../vm-and-bytecode-reverse/SKILL.md) when the anti-debug sits inside a custom VM dispatcher9- [symbolic-execution-tools](../symbolic-execution-tools/SKILL.md) when you want to symbolically skip anti-debug checks entirely1011### Advanced Reference1213Also load [ANTI_DEBUG_MATRIX.md](./ANTI_DEBUG_MATRIX.md) when you need:14- Complete cross-reference matrix of technique × OS × detection method × bypass method15- Per-technique reliability ratings and false-positive notes16- Tool compatibility chart (GDB, x64dbg, WinDbg, Frida, ScyllaHide)1718### Quick bypass picks1920| Detection Class | First Bypass | Backup |21|---|---|---|22| ptrace-based (Linux) | `LD_PRELOAD` hook `ptrace()` → return 0 | Kernel module to hide tracer |23| PEB.BeingDebugged (Windows) | Patch PEB byte at `fs:[0x30]+0x2` | ScyllaHide auto-patch |24…
Excerpt shown under the repository's MIT license.
More skills in hack-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
