WARNING: This tutorial is for educational purposes only, and by NO MEANS should you actually be malicious when (or after) making a rootkit. I thought I’d share how to do this for any security minded people who would like to learn more on how to prevent or look for rootkits. This will be done in C on Linux, probably using libraries and functions you’ve never seen. It is also advisable to do this in a VM to get the hang of compiling and loading modules. Messing with the kernel can cause things to go crazy, if not break- you have been warned.
Jump to:
- Creating a Syscall: pname
- Peter “Pname” Pan gets captured by Captain “Rootkit” Hook
- Hiding From the System Admins “ps” Command
Basics of Making a Rootkit: From syscall to hook!
