deep-roots learning program · module 02
Module 02 — Memory security & exploitation
7 chapters · ~25k words · the dark mirror of module 01
Every chapter: first principles, What insiders know, a See it yourself lab, connections, and a quiz with worked answers.
01
Trust boundaries, privilege, and the bug → primitive → exploit → impact chain.
→
02
Smashing the stack, canaries and their bypasses, off-by-one lore.
→
03
DEP ends code injection; ROP, ret2libc, SROP, JOP answer it.
→
04
glibc metadata as an attack surface: tcache, fastbins, House-of-* lore.
→
05
The modern #1 bug class: reclaim, confuse, control.
→
06
NX, ASLR, RELRO, CFI, PAC, MTE — the arms-race ledger with costs.
→
07
Cache timing, Spectre-class, Rowhammer — attacks that corrupt nothing.
→
the exam
fin
Every chapter, worked answers behind the fold.
→