# heap-exploitation-house-of-techniques

heap-exploitation-house-of-techniques is a Claude Code skill that maps heap write primitives to House of * techniques and glibc mitigations. It activates when triaging allocator corruption.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 73 repo stars
- Author: W4L33Dx
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/red-team/binary-and-exploit-development/heap-exploitation-house-of-techniques/SKILL.md
- Updated: 2026-11-15
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/heap-exploitation-house-of-techniques

## What it does

This skill evaluates heap corruption primitives against how2heap recipes. The workflow starts by examining the writable field, byte count, and contiguity, linking the observed primitive to conditions for House of Force, Spirit, Orange, Lore, Water, or Einherjar. Pinning down the glibc release is mandatory because mitigations such as `av->system_mem` checks and safe-linking break specific techniques across releases.

The routine tracks a baseline allocation sequence and compares it to a single-field test probe. If the double-linked list unlink integrity check cannot be fulfilled with controllable memory, the branch is stopped immediately. The final step defines application-level bounds checks and allocator hardening flags.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation-house-of-techniques -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/heap-exploitation-house-of-techniques/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/heap-exploitation-house-of-techniques/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation-house-of-techniques -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/heap-exploitation-house-of-techniques/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation-house-of-techniques -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/heap-exploitation-house-of-techniques/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install W4L33Dx/Cyber-Monster red-team/binary-and-exploit-development/heap-exploitation-house-of-techniques
```

2. **Manually: put the files in place**
- File: `.github/skills/heap-exploitation-house-of-techniques/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add W4L33Dx/Cyber-Monster --skill heap-exploitation-house-of-techniques -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path red-team/binary-and-exploit-development/heap-exploitation-house-of-techniques
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/heap-exploitation-house-of-techniques/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/W4L33Dx/Cyber-Monster/tree/HEAD/red-team/binary-and-exploit-development/heap-exploitation-house-of-techniques/SKILL.md

## When to use it
- map heap write primitives to House of * conditions
- verify allocator mitigations across glibc versions
- evaluate unlink integrity checks for double-linked lists
- determine application-level bounds and lifetime fixes

## Example prompts
- Check if House of Force conditions hold for glibc 2.27 with a controllable top chunk size.
- Match tcache metadata corruption against House of Water preconditions.

## Similar
- [heap-exploitation](https://affpapa.org/en/nevibecode/skills/heap-exploitation.md) — skill · 4100 installs
- [analyzing-heap-spray-exploitation](https://affpapa.org/en/nevibecode/skills/analyzing-heap-spray-exploitation.md) — skill · 379 installs
- [arbitrary-write-to-rce](https://affpapa.org/en/nevibecode/skills/arbitrary-write-to-rce.md) — skill · 3900 installs
- [memory-safety-patterns](https://affpapa.org/en/nevibecode/skills/memory-safety-patterns.md) — skill · 11746 installs
- [address-sanitizer](https://affpapa.org/en/nevibecode/skills/address-sanitizer.md) — skill · 5900 installs
- [c-bounds-safety](https://affpapa.org/en/nevibecode/skills/c-bounds-safety.md) — skill · 685 installs

From the same set: [w4l33dx/cyber-monster](https://affpapa.org/en/nevibecode/by/w4l33dx/cyber-monster.md) — 61 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
