Paths › Binary Exploitation

Stack Overflow Basics

Learn how stack input can corrupt a native program and redirect its return path.

beginner · 13 lessons · 87 minutes · free

Frames and Bounds

  1. Memory and the Stack (4 min)
  2. When Input Crosses a Bound (4 min)
  3. When Integers Wrap (3 min)
  4. Map the Stack (8 min)

Taking Control

  1. Measure the Offset (3 min)
  2. Redirect a Return (3 min)
  3. Running Your Own Shellcode (3 min)
  4. Find the Return Offset (10 min)

Protections

  1. What Protects the Stack (3 min)
  2. Work Around the Defense (3 min)
  3. Match the Defense (8 min)

Final Lab

  1. Final Lab: First Control (15 min)

Extra

  1. Trace the Crash (20 min)