~/talk

Windows 10 Segment Heap Internals

Talkat Black Hat USA 2016 · 2016-08-03..08-04· [security]
slides:none on file

Describes Windows 10 Segment Heap internals: back end, VS, LFH and large-block paths, their data structures, free trees and best‑fit with “most committed” preference, and guard/encoding defenses. Shows a practical exploit chain against CVE-2016-0117 in the WinRT PDF library that uses Chakra ArrayBuffer allocations (including a 0x340‑byte pattern, 15 buffers with 8 kept busy/7 freed, and a 192 MB GC trigger) to plant a target address and produce a reliable arbitrary write in the Edge content process, demonstrated live with WinDbg.

AI-written summary · about

  1. 0:00Intro
  2. 1:13Agenda: Windows 10 Segment Heap
  3. 2:33Architecture
  4. 5:06Configuration
  5. 5:35Edge Content Process Heaps
  6. 9:53Backend Page Range Descriptors Example
  7. 10:31Backend Free Tree
  8. 12:03Variable Size (VS) Allocation
  9. 12:36VS Subsegment
  10. 13:14VS Block Header
  11. 14:54VS Free Tree
  12. 15:47VS Allocation and Freeing
  13. 16:24Low Fragmentation Heap (LFH)
  14. 17:11LFH Buckets
  15. 17:47LFH Affinity Slots
  16. 19:46LFH Block Bitmap
  17. 20:35LFH Allocation and Freeing
  18. 23:39Internals: Summary
  19. 25:49Heap Address Randomization
  20. 26:02Guard Pages
  21. 26:42Function Pointer Encoding
  22. 27:15VS Block Sizes Encoding
  23. 27:54LFH Allocation Randomization
  24. 30:18WinRT PDF: PostScript Operand Stack
  25. 36:04Free Blocks Coalescing
  26. 40:08Case Study: Summary
  27. 41:07Conclusion
~/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.