I Built a Tool That Simulates and Detects Linux Rootkits
📰 Medium · Cybersecurity
Learn how to simulate and detect Linux rootkits using RootWatch, a framework that implements real-world rootkit techniques and detects them by reading the OS directly
Action Steps
- Build a RootWatch framework to simulate Linux rootkits
- Run the detection engine to catch rootkits by reading the OS directly
- Configure RootWatch to implement eight techniques used by real-world rootkits
- Test RootWatch against various rootkit scenarios
- Apply RootWatch to production environments to enhance security
Who Needs to Know This
Security engineers and Linux administrators can use RootWatch to improve their system's security and detect potential rootkit threats
Key Insight
💡 RootWatch simulates and detects Linux rootkits by implementing real-world techniques and detecting them by reading the OS directly
Share This
🚨 Detect Linux rootkits with RootWatch! 🚨
Key Takeaways
Learn how to simulate and detect Linux rootkits using RootWatch, a framework that implements real-world rootkit techniques and detects them by reading the OS directly
Full Article
Title: I Built a Tool That Simulates and Detects Linux Rootkits
URL Source: https://medium.com/@hevendtafese/i-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd?source=rss------cybersecurity-5
Published Time: 2026-04-19T22:04:07Z
Markdown Content:
# I Built a Tool That Simulates and Detects Linux Rootkits | by Angle Gray | Apr, 2026 | Medium
[Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
Get app
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/@hevendtafese?source=post_page---byline--a7f4d53795fd---------------------------------------)
[Angle Gray](https://medium.com/@hevendtafese?source=post_page---byline--a7f4d53795fd---------------------------------------)
Follow
3 min read
·
Just now
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Fa7f4d53795fd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&user=Angle+Gray&userId=51ad057069e2&source=---header_actions--a7f4d53795fd---------------------clap_footer------------------)
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fa7f4d53795fd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=---header_actions--a7f4d53795fd---------------------bookmark_footer------------------)
[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Da7f4d53795fd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=---header_actions--a7f4d53795fd---------------------post_audio_button------------------)
Share
**I Built a Tool That Simulates and Detects Linux Rootkits**
There is something about the way rootkits work that I find genuinely fascinating. They do not break into a system; they hide inside it. They manipulate the operating system’s own interfaces to make themselves invisible. A process running on your machine that ps cannot see. A network connection that netstat will never show you. Files that ls refuses to acknowledge exist.
I became obsessed with understanding how that works at a technical level. Not just reading about it, but actually building it.
So I built RootWatch.
**What it does**
RootWatch is a Linux rootkit simulation and detection framework. It implements eight techniques used by real-world rootkits and then runs a detection engine that catches them by reading the OS directly bypassing the hooks a rootkit would install.
The simulation
URL Source: https://medium.com/@hevendtafese/i-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd?source=rss------cybersecurity-5
Published Time: 2026-04-19T22:04:07Z
Markdown Content:
# I Built a Tool That Simulates and Detects Linux Rootkits | by Angle Gray | Apr, 2026 | Medium
[Sitemap](https://medium.com/sitemap/sitemap.xml)
[Open in app](https://play.google.com/store/apps/details?id=com.medium.reader&referrer=utm_source%3DmobileNavBar&source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)
[](https://medium.com/?source=post_page---top_nav_layout_nav-----------------------------------------)
Get app
[Write](https://medium.com/m/signin?operation=register&redirect=https%3A%2F%2Fmedium.com%2Fnew-story&source=---top_nav_layout_nav-----------------------new_post_topnav------------------)
[Search](https://medium.com/search?source=post_page---top_nav_layout_nav-----------------------------------------)
Sign up
[Sign in](https://medium.com/m/signin?operation=login&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=post_page---top_nav_layout_nav-----------------------global_nav------------------)

[](https://medium.com/@hevendtafese?source=post_page---byline--a7f4d53795fd---------------------------------------)
[Angle Gray](https://medium.com/@hevendtafese?source=post_page---byline--a7f4d53795fd---------------------------------------)
Follow
3 min read
·
Just now
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fvote%2Fp%2Fa7f4d53795fd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&user=Angle+Gray&userId=51ad057069e2&source=---header_actions--a7f4d53795fd---------------------clap_footer------------------)
[](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2F_%2Fbookmark%2Fp%2Fa7f4d53795fd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=---header_actions--a7f4d53795fd---------------------bookmark_footer------------------)
[Listen](https://medium.com/m/signin?actionUrl=https%3A%2F%2Fmedium.com%2Fplans%3Fdimension%3Dpost_audio_button%26postId%3Da7f4d53795fd&operation=register&redirect=https%3A%2F%2Fmedium.com%2F%40hevendtafese%2Fi-built-a-tool-that-simulates-and-detects-linux-rootkits-a7f4d53795fd&source=---header_actions--a7f4d53795fd---------------------post_audio_button------------------)
Share
**I Built a Tool That Simulates and Detects Linux Rootkits**
There is something about the way rootkits work that I find genuinely fascinating. They do not break into a system; they hide inside it. They manipulate the operating system’s own interfaces to make themselves invisible. A process running on your machine that ps cannot see. A network connection that netstat will never show you. Files that ls refuses to acknowledge exist.
I became obsessed with understanding how that works at a technical level. Not just reading about it, but actually building it.
So I built RootWatch.
**What it does**
RootWatch is a Linux rootkit simulation and detection framework. It implements eight techniques used by real-world rootkits and then runs a detection engine that catches them by reading the OS directly bypassing the hooks a rootkit would install.
The simulation
DeepCamp AI