Skip to content
Back to skills

Rop Chains

ASecurity

ROP/JOP chain construction: gadgets, stack pivots, Windows x64 calling, syscall stubs, retpoline/CFG constraints.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
developmentgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 17, 2026

npx -y skills add NetVar1337/agent-skill-canon --skill rop-chains --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rop Chains?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rop Chains
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/netvar1337-rop-chains/badge)](https://www.skillsdirectory.com/skills/netvar1337-rop-chains)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rop-chains
description: "ROP/JOP chain construction: gadgets, stack pivots, Windows x64 calling, syscall stubs, retpoline/CFG constraints."
version: 1.0.0
license: GPL-3.0-or-later
metadata:
  package: unleash-skills
  author: NetVar1337/unleash
  category: exploit
  triggers:
    - "ROP chain"
    - "JOP"
    - "stack pivot"
    - "gadget"
---

# ROP / JOP chains

## Build order
1. Leak module base (or find non-ASLR)
2. Enumerate gadgets (`rp++`, ROPgadget, Ropper, Zydis-based)
3. Pivot stack if needed into controllable buffer
4. Set registers per ABI; call VirtualProtect/mprotect/system
5. Align stack; handle nopsled of `ret` for alignment

## Windows x64
- Args: RCX, RDX, R8, R9 + stack
- 0x20 shadow space before call
- Gadgets: `pop rcx; ret`, `mov [reg],reg`, `pushad` rare

## Linux x64
- Args: RDI, RSI, RDX, RCX, R8, R9
- `syscall` gadget with rax=execve

## Mitigations
- CFG: only valid call targets
- CET/shadow stack: prefer integrity bypass research or non-return-oriented paths
- retpoline/IBT: gadget quality drops — verify

## Pair with
`stack-buffer-overflow`, `exploit-dev`, `lang-assembly`.

Files in this skill

  • SKILL.md1.1 KB
  • agents/openai.yaml43 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.