Stack Overflow And Rop
Stack overflow and ROP playbook covering return-to-libc, ret2csu, ret2dlresolve, SROP, and stack pivoting on Linux binaries.
- CCM score
- 66 of 100
- skills.sh installs
- 4K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers classic return-address overwrite, ret2libc with libc base leaks, ROP chain construction, and stack pivoting for limited overflows
- Includes gadget patterns, a tool comparison (ROPgadget, ropper, pwntools, xrop), and one_gadget constraint checks
- Notes that ret2csu's r12 must hold a pointer to the target function and that x86-64 calls need 16-byte stack alignment
- Designed for CTF players and security researchers working on Linux userland binaries, with routing to related heap and format-string skills
Install
$ npx -y skills add yaklang/hack-skills --skill stack-overflow-and-rop -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SKILL: Stack Overflow & ROP — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert stack-based exploitation techniques. Covers classic buffer overflow, return-to-libc, ROP chain construction, ret2csu, ret2dlresolve, SROP, stack pivoting, and canary bypass. Distilled from ctf-wiki advanced-rop, real-world CVEs, and CTF competition patterns. Base models often miss the nuance of gadget selection under constrained conditions.
0. RELATED ROUTING
- format-string-exploitation — leak canary/libc/PIE base via format string before triggering overflow
- binary-protection-bypass — systematic bypass of NX, ASLR, PIE, canary, RELRO
- arbitrary-write-to-rce — convert a write primitive (GOT, hooks, vtable) into code execution
- heap-exploitation — when the vulnerability is in heap rather than stack
Advanced Reference
Details
- Repository
- github.com/yaklang/hack-skills
- Category
- Security
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Prototype Pollution Advanced4K
- Smart Contract Vulnerabilities4K
- Lattice Crypto Attacks4K
- Rsa Attack Techniques4K
- Symmetric Cipher Attacks4K
- Windows Lateral Movement4K
- Sandbox Escape Techniques4K
- Macos Security Bypass4K
- Ntlm Relay Coercion4K
- Nosql Injection3.9K
- Macos Process Injection3.9K
- Upload Insecure Files3.9K
- Unauthorized Access Common Services3.9K
- Reverse Shell Techniques3.9K
- Ghost Bits Cast Attack3.8K
- Hack4.9K
- Recon And Methodology4.6K
- Android Pentesting Tricks4.6K
- Sqli Sql Injection4.5K
- Code Obfuscation Deobfuscation4.5K
- Xss Cross Site Scripting4.5K
- Api Sec4.4K
- Business Logic Vulnerabilities4.4K
- Ssrf Server Side Request Forgery4.4K
Similar to Stack Overflow And Rop
More Securitybinary-protection-bypassyaklang/hack-skills4.1K installsCatalog of binary exploitation techniques for defeating ELF mitigations such as ASLR, PIE, NX, RELRO, and canaries.
heap-exploitationyaklang/hack-skills4.2K installsExpert glibc heap exploitation playbook covering ptmalloc2 bins, leak methods, and version-specific attacks.
ctf-pwnljagiello/ctf-skills10.5K installsBinary exploitation toolkit for CTF pwn challenges, covering memory corruption through to privilege escalation.
ctf-reverseljagiello/ctf-skills11.4K installsReverse engineering playbook for CTF targets, covering compiled, packed, and virtualized code before exploitation.
anti-reversing-techniqueswshobson/agents11.8K installsCatalog guide to anti-reversing, obfuscation, and protection techniques for authorized software analysis.
exploit-developmenthypnguyen1209/offensive-claude430 starsTurns a memory-corruption bug into a working, version-pinned PoC across stack, heap, format string, browser, and kernel targets against modern mitigations.