~/talk

Exploiting Uses of Uninitialized Stack Variables in Linux Kernels to Leak Kernel Pointers

Talkat WOOT '20 · on Tuesday, 2020-08-11· [security, linux-and-operating-systems]
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Presents an automated pipeline that turns stack-based uninitialized-data leaks into kernel pointer leaks that defeat KASLR by computing a precise leak offset via stack footprinting, finding syscalls (using a modified Linux Test Project) or BPF sequences to place kernel pointers at that offset, and recovering partial pointers with a guess-and-check subtraction on BPF frame pointers. Evaluated against four CVEs and one security patch, handles leaks smaller than 8 bytes, produces working pointer leaks for several cases and fails on one nonexploitable CVE.

AI-written summary · about

  1. 0:00Intro
  2. 0:24Uninitialized variables in the stack
  3. 1:04Unexpected information leaks
  4. 1:14Real-world example (CVE-2016-4486)
  5. 1:43Basic security principle of the OS kernels
  6. 5:17Challenges in Exploitation Computing the offset to uninitialized data from the kernel stack base.
  7. 7:00Our Approach
  8. 7:17Computing the Leak Offset Stack footprinting 1. Fill the kernel stack
  9. 8:41Extensive Syscall Testing with the LTP • Linux Test Project (LTP) provides concrete test cases for system calls.
  10. 9:14Syscall Testing with the LTP 1. Fill the kernel stack
  11. 10:10Stack Spraying via BPF • The extended Berkeley Packet Filter (BPF) allows users to make a program and execute it inside the kernel.
  12. 11:26Handling Small Data Leaks • Need the most important 52 bits (7 bytes) of a kernel stack address
  13. 13:50Finding pointers with the LTP framework
  14. 14:47Summary of exploitation results
  15. 17:01Conclusion
~/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.