~/talk

GLibC Malloc for Exploiters: Leak It, Write It, Become a Wizard

links:none on file
slides:none on file

Walkthrough of GLibC malloc internals leads to concrete exploit primitives: demonstrations of pointer leaks that bypass ASLR (use-after-free and overlapping-chunk techniques), reliable arbitrary writes via tcache poison and large-bin frontlink/unlink manipulations, and code execution by overwriting malloc_hook or using dlopen/IO hooks; notes that tcache (added in 2.26) lacks integrity checks and that many 2001-era tricks still work; shows working CTF exploits, GDB debugging with symbol loading, and using LD_PRELOAD to test different libc versions.

AI-written summary · about

  1. 0:00Introduction to heap exploits
  2. 1:32Glibc malloc internals
  3. 2:21Chunks and memory structure
  4. 4:43Chunk flags and metadata
  5. 7:06Understanding bins
  6. 8:56Tcache and arenas
  7. 10:45Malloc and free algorithms
  8. 11:52Leaking memory pointers
  9. 15:59Advanced leak techniques
  10. 17:36Bypassing ASLR
  11. 18:51Structural heap attacks
  12. 21:41Large bin exploitation
  13. 24:11Unlink attacks
  14. 26:01Functionality attacks
  15. 28:20Restricted attacks
  16. 30:44Hijacking flow via hooks
  17. 32:48DL open and file hooks
  18. 34:25IO structure exploitation
  19. 36:04CTF setup and debugging
  20. 37:19Debugging with symbols
  21. 39:01Q&A and conclusion
~/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.