~/talk

Hooking the Linux Kernel without getting caught

Talkat BSides Manchester 2016 · on Thursday, 2016-08-18· [linux-and-operating-systems, security]
links:none on file
slides:none on file

Shows concrete kernel-hiding techniques and a working PoC that hooks file opens to swap images, using loadable kernel modules, module unlink + kobject removal to erase /proc and sysfs traces, and both legacy IDT inline hooks and x86_64 MSR/LSTAR syscall/IDT/MSR hooks to intercept execution. Uses dev/km/dev/mem and system.map plus 32-byte signature scans over ~124 bytes to locate error handling and table addresses. Demo replaces .jpg reads (initial live hiccup fixed) and discusses netfilter ICMP backdoor, DMA, page‑flip stealth and module signing as mitigations.

AI-written summary · about

  1. 0:00Introduction to rootkits
  2. 2:38Kernel module techniques
  3. 6:39Kernel symbols and memory
  4. 8:56Hooking mechanisms
  5. 14:34Interrupt handling
  6. 26:27Modern syscall hooking
  7. 29:27Live demo and validation
  8. 36:11Detection and mitigation
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.