Current State of Linux Rootkits
Outlines current State of Linux Rootkits and evaluates key implications for security practitioners.
Summary
Rootkit Fundamentals
Optiv consultant Philip Haas defines Linux rootkits as post-exploitation tools for persistent, privileged, stealthy access after root compromise. He contrasts ring-zero kernel modules or drivers with ring-three user-mode designs that are generally easier to develop and less crash-prone.
Historical Evolution
Early persistence backdoored binaries like ps, top, lsof, and netstat—leaving disk artifacts and missing unknown admin tools. Silvio Cesare’s /dev/mem approach allowed direct kernel memory patching until modern distributions removed it.
LD_PRELOAD Hooking
Haas explains dynamic linking precedence via ldd and /etc/ld.so.preload. Attackers preload shared libraries to override weak libc syscall wrappers before legitimate ones load. He demonstrates hooking write() and extending the idea to hide malicious PIDs and network connections by filtering /proc and netstat-related syscalls during directory iteration.
Related talks
Source Zero Con·42 min
Investigates ransomware: An Epidemic for the Digital Age and evaluates key implications for security practitioners.
Source Zero Con·57 min
Explores what Wildland Firefighting Can Teach practitioners About Responding to Malware Attacks and evaluates key implications for security practitioners.
Source Zero Con·44 min
Reviews source Zero Con: Exposing the Ransomware Ecosystem and evaluates key implications for security practitioners.


