~/talk

Smashing the Stack: Modern Mitigations Against a Classic Exploit

Talkat Core C++ 2026 · 2026-10-20..10-21· [security, c-and-cpp]
links:none on file
slides:none on file

An interactive CTF demonstrates classic overflow: a 64‑byte local buffer is fed 256 bytes, requiring exactly 72 bytes of padding then an 8‑byte return address to jump to the win function; this works before mitigations. Modern defenses shown include safe stack (separates control data), shadow stack and stack canary, plus ASLR and NX. Participants use a debugger, a microVM terminal, and decompilers (Hex-Rays, Dogbolt) to locate the safe‑stack pointer via fs segment info and finally bypass the mitigation.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:11Stack basics and memory layout
  3. 5:17Stack overflow fundamentals
  4. 7:57First CTF challenge walkthrough
  5. 16:13Safe stack mitigation explained
  6. 19:27Second CTF challenge with safe stack
  7. 23:45Bypassing safe stack without debug info
  8. 27:01Other stack hardening techniques
  9. 29:33C++ stack unwinding challenges
  10. 37:34Key takeaways and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.