Skip to content
Back to skills

Heap Exploitation

ASecurity

Heap exploitation playbook: freelist poisoning, tcache/safe-linking, UAF, double-free, house-of-*, Windows segment heap primitives.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 17, 2026
securitygoc++backend

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 heap-exploitation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Heap Exploitation?

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

Security grade badge for Heap Exploitation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/netvar1337-heap-exploitation/badge)](https://www.skillsdirectory.com/skills/netvar1337-heap-exploitation)

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: core-heap-exploitation
description: "Heap exploitation playbook: freelist poisoning, tcache/safe-linking, UAF, double-free, house-of-*, Windows segment heap primitives."
version: 1.0.0
license: GPL-3.0-or-later
metadata:
  package: unleash-skills
  author: NetVar1337/unleash
  category: exploit
  triggers:
    - "heap exploit"
    - "tcache poison"
    - "house of"
    - "freelist poison"
    - "segment heap"
---

# Heap exploitation playbook

## Primitive goals
- Write-what-where
- Controlled allocation content (fake objects)
- Leaks (heap/libc/base)
- Code exec via fp/vptr/`__free_hook` historical / exit handlers / stack pivot

## Linux glibc menu (version-sensitive)
| Technique | Idea |
|---|---|
| tcache poison | overwrite fd → arbitrary alloc |
| safe-linking bypass | need heap leak to craft fd |
| fastbin/dup | double-free constrained |
| unsorted bin leak | libc leak via fd/bk |
| largebin/attack variants | arb write primitives on older |
| house-of-* | various; check libc series |

Always pin **exact libc** and secure flags.

## Windows menu
- LFH userblock corruption → controlled realloc content
- Backend freelist (legacy) vs segment heap VSIs
- FreeEntryOffset style attacks (historical) — verify OS build
- Prefer application-logic UAF of C++ objects for reliability

## UAF / double-free
1. Free while dangling ref remains
2. Reclaim with controlled type (spray)
3. Reinterpret fields (vptr, length, callback)
4. Avoid modern freelist hardening when possible by staying in object layer

## Grooming discipline
- Record allocator class/size
- Deterministic spray counts
- Thread pinning if concurrent heaps

## Pair with
`heap-overflow`, `use-after-free`, `integer-overflow`, `vuln-research`.

Files in this skill

  • SKILL.md1.7 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.