yaklang avatar

Anti Debugging Techniques

Comprehensive playbook for detecting and bypassing anti-debug protections in native binaries. Covers the full spectrum: Linux ptrace tricks, /proc parsing, signal hijacking, Windows PEB flags, NtQueryInformationProcess calls, TLS callbacks, hardware breakpoint detection, and timing checks via rdtsc. Each technique includes a quick reference table showing first-choice and backup bypass methods, from LD_PRELOAD shims to ScyllaHide automation. The cross-reference matrix rates reliability and tool compatibility across GDB, x64dbg, WinDbg, and Frida. Indispensable when you're staring at a protected binary that kills itself the moment you attach a debugger. Routes cleanly to obfuscation and VM reversing skills when protections are layered.

skills.sh installs
3.9K
GitHub stars
2.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add yaklang/hack-skills --skill anti-debugging-techniques --agent claude-code

Installs into .claude/skills of the current project.

Files

SKILL: Anti-Debugging Techniques — Detection & Bypass Playbook

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.

0. RELATED ROUTING

Advanced Reference

Also load ANTI_DEBUG_MATRIX.md when you need:

  • Complete cross-reference matrix of technique × OS × detection method × bypass method
  • Per-technique reliability ratings and false-positive notes
  • Tool compatibility chart (GDB, x64dbg, WinDbg, Frida, ScyllaHide)

Sponsors

Details

Repository
github.com/yaklang/hack-skills
Category
Debugging
First seen
Jun 3, 2026

More from yaklang/hack-skills

All 102

Recommended

More Debugging
1giuseppe-trisciuoglio avatarunit-test-exception-handlergiuseppe-trisciuoglio/developer-kitProvides patterns for unit testing `@ExceptionHandler` and `@ControllerAdvice` in Spring Boot applications. Validates error response formatting, mocks exception3.9Kskills.sh installs
2dotnet avatarapple-crash-symbolicationdotnet/skillsSymbolicate .NET runtime frames in Apple platform .ips crash logs (iOS, tvOS, Mac Catalyst, macOS). Extracts UUIDs and addresses from the native backtrace, loca3.8Kskills.sh installs
3chromedevtools avatartroubleshootingchromedevtools/chrome-devtools-mcpUses Chrome DevTools MCP and documentation to troubleshoot connection and target issues. Trigger this skill when list_pages, new_page, or navigate_page fail, or3.5Kskills.sh installs
4getsentry avatarsentry-fix-issuesgetsentry/sentry-agent-skillsFind and fix issues from Sentry using MCP. Use when asked to fix Sentry errors, debug production issues, investigate exceptions, or resolve bugs reported in Sen2.6Kskills.sh installs
5calm-north avatardiagnose-seocalm-north/seojuice-skillsStructured diagnostic for technical SEO problems. Use when the user asks about crawl issues, indexation problems, why pages aren't being indexed, robots.txt que2.2Kskills.sh installs
6nvidia avatardynamo-troubleshootnvidia/skillsDiagnose failed or unhealthy Dynamo deployments. Use when pods, model-cache jobs, PVCs, workers, frontend/router health, endpoints, or benchmark jobs fail; use 1.9Kskills.sh installs