
Binary Protection Bypass
This is a systematic playbook for identifying and bypassing memory protection mechanisms in compiled binaries. It covers the full stack: ASLR, PIE, NX/DEP, stack canaries, RELRO, and FORTIFY_SOURCE, with each protection mapped to specific bypass techniques and the primitives you need (format string leaks, partial overwrites, ROP chains). The matrix approach is useful because real exploits almost never face a single protection in isolation. You're dealing with combinations, and knowing that Full RELRO blocks GOT overwrites means pivoting to __malloc_hook or vtable hijacking. It's densest on the canonical CTF-style techniques but includes modern stuff like CET and ARM MTE. Best suited for exploit development where you need to quickly map what checksec reports to an actual attack path.
- skills.sh installs
- 3.9K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill binary-protection-bypass --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Binary Protection Bypass — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert binary protection identification and bypass techniques. Covers ASLR, PIE, NX, RELRO, canary, FORTIFY_SOURCE, stack clash, CET shadow stack, and ARM MTE. Each protection is paired with its bypass methods and required primitives. Distilled from ctf-wiki mitigation sections and real-world exploitation. Base models often confuse which protections block which attacks and miss the combinatorial effect of multiple protections.
0. RELATED ROUTING
- stack-overflow-and-rop — ROP chains to bypass NX, ret2libc for ASLR bypass
- format-string-exploitation — primary method for leaking canary, PIE, libc addresses
- heap-exploitation — heap attacks for RELRO bypass (when GOT is read-only)
- arbitrary-write-to-rce — what to overwrite when GOT is protected by RELRO
Advanced Reference
Load PROTECTION_BYPASS_MATRIX.md for comprehensive protection × bypass × primitive matrix.
1. PROTECTION IDENTIFICATION
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Cmdi Command Injection3.9K
- Path Traversal Lfi3.9K
- Ssti Server Side Template Injection3.8K
- Graphql And Hidden Parameters3.8K
- Kernel Exploitation3.8K
- Race Condition3.8K
- Xxe Xml External Entity3.8K
- Deserialization Insecure3.8K
- Request Smuggling3.8K
- File Access Vuln3.8K
- Format String Exploitation3.8K
- Http Parameter Pollution3.8K
- Csp Bypass Advanced3.8K
- Browser Exploitation V83.8K
- Open Redirect3.8K
- Symbolic Execution Tools3.8K
- Crlf Injection3.8K
- Insecure Source Code Management3.8K
- Mobile Ssl Pinning Bypass3.8K
- Http Host Header Attacks3.8K
- Web Cache Deception3.8K
- Subdomain Takeover3.8K
- Dependency Confusion3.8K
- Expression Language Injection3.8K