What problem does it solve?
This Skill helps you convert ptmalloc2/glibc heap vulnerabilities (UAF, double free, overflow, off-by-one/null) into working exploitation primitives like arbitrary allocation/write and RCE, correctly accounting for tcache/fastbin/unsortedbin behavior and glibc version constraints.
Core Features & Use Cases
- PTMALLOC2 mental model: Quick reference for chunk layout, bin types, and global allocator structures to reason about heap state transitions.
- Leak + primitive toolbox: Practical methods for leaking libc/heap (unsortedbin/smallbin/stdout FILE abuse and tcache fd leakage) and turning that into controllable writes.
- Attack selection by glibc version: Decision guidance for whether hooks are available and which technique families (House of Force/Spirit/Orange/Einherjar/Roman/Pig/Banana/Cat/Apple, FSOP, vtable hijack) are compatible.
- Recommended exploitation paths: Integrates IO_FILE exploitation and heap “house” techniques into end-to-end flows.
- Technique dependencies surfaced: Highlights safe-linking requirements (PROTECT_PTR), tcache key handling (glibc 2.29+), and post-2.34 hook removals.
Quick Start
Use this Skill to plan an exploitation chain for a glibc heap vulnerability by mapping your bug type to the correct bin behavior, choosing an appropriate leak strategy if needed, and selecting a version-compatible technique family (e.g., tcache poisoning, House of Orange, or _IO_FILE FSOP) to reach arbitrary write or code execution.