~/talk

Demonstrating binary exploitation

Talkat NDC TechTown 2021 · 2021-08-30..09-02· [security, linux-and-operating-systems]
links:none on file
links:none on file
slides:none on file

Demonstrates a real heap overflow in sudoedit (based on Qualys’ report) by overflowing user_args with backslashes to force null bytes, then uses heap feng shui via environment variables and crafts a libnss-style name so dlopen loads a malicious .so whose constructor calls setuid(0) and spawns a root shell. Uses glibc malloc behavior, works reproducibly on Ubuntu 20.04 in a Docker demo, and recommends ASan and fuzzing for prevention.

AI-written summary · about

  1. 0:00Intro
  2. 0:30About us
  3. 2:27Agenda
  4. 3:28What is binary exploitation
  5. 4:52Memory safety
  6. 7:39Statistics
  7. 9:13Questions
  8. 9:31Stack
  9. 17:49Dynamic Memory Allocation
  10. 19:02Heap Allocation
  11. 19:57Chunks
  12. 20:49Happy Pass
  13. 23:58What is this bug
  14. 25:49The code
  15. 29:12How it works
  16. 30:10Summary
  17. 30:44Stack Overflows
  18. 33:27What to target
  19. 39:32Library
  20. 40:21Demo
  21. 47:32Safety analogy
  22. 55:43Question
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 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
?
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.