Skip to content
yaklang avatar

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
View on GitHub

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 -y

Installs 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

Advanced Reference

Details

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

More from yaklang/hack-skills

All 102

Similar to Stack Overflow And Rop

More Security