Stack Buffer Overflow: Smashing the Return Address
Interactive 3D stack-memory simulator: write an oversized payload into a fixed buffer and watch it overwrite the stack canary, saved frame pointer, and return address — with canary and ASLR defenses toggled live.
A stack buffer overflow happens when a program copies more bytes into a fixed-size local buffer than it can hold, and the excess bleeds into whatever memory sits right after it on the call stack. This simulator renders that stack layout as a real 3D column of memory cells — buffer, canary, saved frame pointer, return address — and lets you drag a payload-length slider past the buffer boundary to watch the overflow physically climb through each region. Toggle a stack canary to see the classic mitigation catch the corruption before the vulnerable function returns, or toggle ASLR to see why a hijacked return address alone is not enough for a reliable exploit once the stack's base address is randomized.
Write an oversized payload into a fixed stack buffer and watch it overwrite the canary, saved frame pointer, and return address in a real 3D memory-layout view — with stack-canary and ASLR defenses toggled live.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install