Paths › Binary Exploitation

Heap Memory Bugs

Follow allocated objects through reuse and corruption in glibc based CTF targets.

advanced · 13 lessons · 118 minutes · free

Heap Objects

  1. Why Heap Bugs Matter (3 min)
  2. Allocate and Release Objects (3 min)
  3. Use After Free (5 min)
  4. Follow the Freed Object (10 min)

Heap Corruption

  1. Crossing a Heap Boundary (3 min)
  2. One Byte Past the End (3 min)
  3. Reusing a Freed Chunk (3 min)
  4. Plan a Heap Exploit (3 min)
  5. Measure the Chunk Layout (10 min)

Final Lab

  1. Final Lab: Root-Cause the Crash (15 min)

Extras

  1. Follow the Stale Object (20 min)
  2. Measure the Boundary (20 min)
  3. Reuse the Freed Region (20 min)