Server process stack
growing upward — low → high address
Local buffer Stack canary Return address Unused stack Overwritten (attack)
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

Stack Canaries & ASLR: Server Memory Exploit Mitigation

This simulator renders a server process's stack memory as a 3D column of words and lets you launch simulated buffer-overflow attempts against it. Drag the overflow length past the local buffer to watch the write climb toward the canary and the saved return address, then toggle the stack canary and ASLR independently to see exactly which mitigation stops which stage of the attack — a corrupted canary aborts the process before the return address is ever read, while ASLR's address-space entropy makes a blind guess at the correct return target exponentially unlikely. Live counters track blocked, missed and (rare, by design) successful attempts against the theoretical probabilities, the same defensive layering real server operating systems use by default.