~/talk

Kernel Hardening: Protecting the Protection Mechanisms

Talkat Linux Security Summit Europe 2018 · on Thursday, 2018-10-25· at 14:30· Moorfoot· [security, linux-and-operating-systems]
links:none on file
slides:none on file

Implements page-granular memory protections for kernel data: read-only dynamically allocated memory, write-rare statically allocated memory, and a hypervisor-backed remapping path that remaps a protected page to a random writable mapping, updates it, then tears it down. Integrates into list/hlist and protects the IMA measurements list; works end-to-end with a hypervisor, needs work for no-hypervisor ARM64 and no-MMU fallbacks, has multi-remap write cost (four remaps per list insertion) and missing atomic/test coverage.

AI-written summary · about

  1. 0:00Introduction
  2. 2:54Merging upstream: The quest for an example
  3. 8:05Read Only vs Write Rare
  4. 8:57Write Protection mechanism: the MMU The MMU works at page level
  5. 11:00Hypervisor-enforced memory protection
  6. 16:44Side effects of the protection
  7. 24:12Example of conversion of a function
  8. 24:53Missing functionality
  9. 27:09Performance limitation Example: lists
  10. 30:35Does it work?
~/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.