Rootkit Hunter — universally known by its command name, rkhunter — is a long-standing intrusion-detection scanner for Unix and Unix-like systems. It is the tool that answers the question “has someone already been here?”: rather than watching traffic in real time, rkhunter walks a machine and checks it against the fingerprints of known rootkits, backdoors, sniffers and local exploits, alongside the tell-tale file-permission, hidden-file and kernel-module anomalies that a compromised host tends to leave behind. The project began in 2003 as the work of Michael Boelen, passed in 2006 to the Rootkit Hunter Development Team led by John Horne and unSpawn, and since December 2023 has been sponsored by Dogsbody Technology; it remains community-led and open source. It is written as a shell/Perl script with no compiled daemon, so it runs anywhere a POSIX shell and Perl are present. The current release is 1.4.6 (February 2018); Debian trixie packages it as rkhunter 1.4.6-13.
rkhunter --propupd after legitimate upgrades, so a changed /usr/bin binary is surfaced as suspicious rather than silently accepted. It also flags executables with anomalous file permissions (setuid/setgid oddities) and hidden files in system directories.backdoorports.dat (ports opened by known backdoors), programs_bad.dat and suspscan.dat. Each entry is tested and reported as [ Not found ], [ None found ] or [ OK ] in the scan output, covering dozens of historical and modern threats (Suckit, Adore, Jynx, Phalanx, Diamorphine, Ebury, Mokes, Proton and many more).ALLOWIPCPID / ALLOWIPCUSER / IPC_SEG_SIZE tunables), backdoor ports and promiscuous network interfaces.skdet tool or the C versions of unhide / unhide-tcp are present, rkhunter uses them to hunt hidden processes and hidden ports; a per-test --enable / --disable switch lets you tune exactly what runs.--update and --versioncheck pull refreshed signature and translation data from a mirror (configurable, including a local mirror), and the scan itself can optionally look inside files rather than only at metadata.--cronjob, with a warning-only mode (--report-warnings-only) and an --sk flag to suppress keypresses, so the result can be mailed to an administrator each night.rkhunter.conf, with a rkhunter.conf.local overlay for machine-specific overrides; output and messages are available in multiple languages (the shipped i18n set includes English, German, Japanese and Chinese).rkhunter’s value is that it is small, dependency-light and honest. It needs nothing more than a shell, Perl and the usual core utilities, it installs as a handful of scripts and data files rather than a service, and it makes no attempt to be a real-time IDS — it is a scheduled, repeatable integrity check you can read the output of. Because it combines file hashing, rootkit signatures and ordinary system misconfiguration checks in one pass, a single cron entry gives a broad weekly or nightly view of a server’s health. Its age is a feature as much as a limitation: the signature set is a long-maintained catalogue of real-world rootkits, and the tool’s behaviour is well understood and well documented. Its own documentation is candid that it does not guarantee a system is clean, and recommends pairing it with other scanners — which is exactly the right way to deploy it.
rkhunter --cronjob --report-warnings-only job that emails only when something changes, giving early warning of tampering without daily noise.--propupd after patch windows turns rkhunter into a lightweight host-based integrity monitor for critical directories.Linux and other POSIX systems (the Debian package targets Linux; upstream supports the common Unix clones) · requires a POSIX shell, Perl and standard utilities such as cat, sed, head and tail, plus a download tool (wget, curl, links, lynx or GET) for --update · installed via the distribution package (Debian/Ubuntu apt install rkhunter, Fedora/RHEL RPM spec included) or the upstream installer.sh tarball.
GPL-2.0 (GNU General Public License, version 2) — free and open source, with no feature restrictions or account requirement. The project is community-led and sponsored by Dogsbody Technology.
rkhunter.dev · the original SourceForge project home · source on GitHub · also see the Security & Privacy category and the full directory for more tools that keep systems honest.