~/talk

KFLAT - Selective Kernel Memory Serialization for Security and...

links:none on file
slides:none on file

KFLAT is a loadable kernel module that selectively serializes kernel variables into a flattened image by following typed pointers, replacing them with offsets, and restoring them quickly in a userspace C process. It hooks via kprobe hook at function entry, validates pointers by translating virtual to physical and checking RAM pages, freezes tasks when needed, and converts function pointers to names for mapping on restore. A 600k-interval tree becomes about 32 MB for 600k intervals and flattens in milliseconds; recipe generation uses FTDB JSON to cover ~15k types and ~23k pointer members while focusing on used fields (~10% used). KFLAT backs Auto Off-Target (AoT) state initialization and enables userspace fuzzing of kernel entry points.

AI-written summary · about

  1. 0:00Start
  2. 0:32Motivation
  3. 1:34Introduction
  4. 3:36How KFLAT works
  5. 7:15KFLAT internals
  6. 13:01Other approaches?
  7. 16:24On-Target vs Off-Target
  8. 17:37Overview of the process
  9. 21:50KFLAT recipes for Linux
  10. 24:08Linux recipe generation
~/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.