Hooking the Linux Kernel without getting caught
summary
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
