Reptile
August 17, 2026 · View on GitHub
⚠️ Security Research and Dual-Use Warning
Caution
Reptile is a Linux kernel rootkit with capabilities including privilege escalation, persistence, concealment, and remote command execution. These capabilities can compromise a system's security, privacy, integrity, and availability. Installing or running this software may cause system instability, data loss, or unauthorized access.
This source code is provided solely for legitimate security research, education, defensive testing, and analysis in controlled environments. Use it only on systems that you own or for which you have prior, explicit written authorization. Do not use Reptile to gain unauthorized access, maintain unauthorized persistence, conceal malicious activity, harm systems or users, or support any unlawful attack or malware campaign.
Run this software only in an isolated lab or disposable virtual machine, never on production systems. You are responsible for complying with all applicable laws, regulations, and agreements. The maintainers do not endorse malicious or unlawful use and accept no liability for damage or misuse. See the full Disclaimer and Acceptable Use Notice before using this project.
Tested on
Debian 9: 4.9.0-8-amd64
Debian 10: 4.19.0-8-amd64
Ubuntu 18.04.1 LTS: 4.15.0-38-generic
Kali Linux: 4.18.0-kali2-amd64
Centos 6.10: 2.6.32-754.6.3.el6.x86_64
Centos 7: 3.10.0-862.3.2.el7.x86_64
Centos 8: 4.18.0-147.5.1.el8_1.x86_64
Features
- Give root to unprivileged users
- Hide files and directories
- Hide processes
- Hide himself
- Hide TCP/UDP connections
- Hidden boot persistence
- File content tampering
- Some obfuscation techniques
- ICMP/UDP/TCP port-knocking backdoor
- Full TTY/PTY shell with file transfer
- Client to handle Reptile Shell
- Shell connect back each X times (not default)
Install
apt install build-essential libncurses-dev linux-headers-$(uname -r)
git clone https://github.com/f0rb1dd3n/Reptile.git
cd Reptile
make menuconfig # or 'make config' or even 'make defconfig'
make
make install
More details about the installation see Wiki
Uninstall
When you got a sucessfully installation, the way to remove that will be shown in the screen
Usage
See Wiki to usage details. So, read the fucking manual before opening an issue!
Warning
Some functions of this module is based on another rootkits. Please see the references!
References
- “LKM HACKING”, The Hackers Choice (THC), 1999;
- https://github.com/mncoppola/suterusu
- https://github.com/David-Reguera-Garcia-Dreg/enyelkm.git
- https://github.com/creaktive/tsh
- https://github.com/brenns10/lsh
Thanks
Special thanks to my friend Ilya V. Matveychikov for the KHOOK framework and kmatryoshka loader.
Disclaimer
Read the Disclaimer and Acceptable Use Notice. If you want more information, send an email to f0rb1dd3n@tuta.io.