Linux Malware Detect (maldet) and rkhunter vs tyrosec
Linux Malware Detect (maldet) and Rootkit Hunter (rkhunter) are among the best-known free checking tools for Linux servers: maldet looks for malicious code in web directories, rkhunter for signs of rootkits. The comparison shows what the two do, where their limits are – and what tyrosec does differently.
Reviewed by Marcus Schmidt · as of November 2026
In brief
- maldet: signatures for web malwareFree scanner from R-fx Networks (GPL v2), designed, according to the project, for the threats faced in shared hosting. Uses MD5 and SHA-256 hashes, HEX patterns and optionally YARA rules to look for known webshells and injections; uses ClamAV as its engine if installed. Can watch directories in real time via inotify and quarantine findings.
- rkhunter: rootkits and modified system programsFree shell script (GPL v2) that, according to its manual, looks for known rootkits and malware and checks whether system programs and startup files have been modified. It relies on a locally stored snapshot of file properties (
rkhunter --propupd). rkhunter only reports; removal is up to the administrator. - tyrosec: continuous monitoring as a serviceAn agent watches files in real time with diffs, logins, web attacks in the logs, processes and packages; plus a daily compromise check covering rootkit indicators, persistence and SUID programs. The central server in Germany shows all servers in one place.
- Costmaldet and rkhunter are free. tyrosec is a service and costs from €10 net per month for the first server.
Comparison at a glance
| maldet | rkhunter | tyrosec | |
|---|---|---|---|
| Approach | signatures (hash, HEX, YARA) for web malware | file properties against a stored snapshot, traits of known rootkits | integrity, behaviour, patterns and YARA rules |
| Webshells and injections in web directories | main focus; new or modified variants only if a signature matches | not the focus | new PHP file in uploads, deviation from the original, YARA and patterns |
| Checking on write | inotify monitor, set up separately | scheduled runs, e.g. via cron | by default, with diff |
| Modified system programs | not provided | against the locally stored snapshot; optionally values from the package manager | against the checksums from the distribution’s package repositories |
| Rootkits, persistence, SUID programs | not the focus | known rootkits, startup files, network interfaces | daily compromise check |
| WordPress core against official checksums | not provided | not provided | plus plugins and themes against the originals |
| Quarantine | file permissions 000, restore possible | report only | webshell quarantine, can be switched on (Pro) |
| Cleanup | cleaning rules for known injections | not provided | from a verified clean version; rewind a directory to a point in time (Pro) |
| Vulnerabilities in packages and apps | not provided | not provided | operating system, WordPress, Composer, npm; prioritised by exploitation |
| Logins and brute force | not provided | not provided | SSH and web logins |
| False alarms after updates | depends on the signatures | possible after package updates according to the FAQ; re-create the snapshot with --propupd | comparison with package repositories instead of a local snapshot; feedback per alert |
| Several servers | per server; notifications via email, Slack, Telegram, Discord | per server; log and report | central server for all servers |
| Maintenance | active, version 2.0.1 from March 2026 | latest version 1.4.6 from February 2018 | service, continuously updated |
| Licence and cost | free (GPL v2) | free (GPL v2) | from €10 net per month for the first server, €7 for each additional one |
✓ available · ◐ partly or a different approach · ✗ not provided. Information about maldet and rkhunter according to the project documentation, see sources below.
Which tool for what?
- maldet fits if …… as a hoster you want to scan many web directories for known web malware at no cost, also together with ClamAV. maldet is designed for shared hosting.
- rkhunter fits if …… you want a free, lightweight extra check for known rootkits and modified system programs via cron and are prepared to assess the warnings yourself.
- tyrosec fits if …… you want to know that and how someone broke in – with diffs, logins, processes and vulnerabilities in one central place, also for malicious code without a signature.
- TogetherThe three are not mutually exclusive. maldet and rkhunter run as scheduled checks; tyrosec monitors continuously and reports a change the moment it happens.
Frequently asked questions
Are maldet and rkhunter enough for a web server?
They find what is known: maldet finds malicious code for which a signature exists, rkhunter finds rootkits and changes compared with the stored snapshot. Neither covers logins, web attacks in the logs, vulnerabilities or the content of a change. That is what continuous monitoring such as tyrosec is for.
Why does rkhunter show warnings after updates?
rkhunter compares files with a locally stored snapshot. If a package update changes a program, rkhunter reports the deviation – according to the project’s FAQ, a common cause of false alarms. You then re-create the snapshot with rkhunter --propupd, but only once the files have been checked. tyrosec, by contrast, compares system programs with the checksums from the distribution’s package repositories.
Can tyrosec replace maldet and rkhunter?
On many servers, yes: the compromise check looks daily for rootkit indicators, persistence and foreign SUID programs, and file monitoring with YARA rules looks for malicious code. If you want to check many customer directories on shared hosting for known signatures at no cost, you can keep using maldet.
Does tyrosec remove malicious code automatically?
If you switch it on. tyrosec Pro quarantines clearly identified webshells and cleans files from a verified clean version; every measure starts switched off and is enabled locally on the server. More under Malware cleanup.
See what’s happening on your server in two minutes.
Install the agent with a one-liner, wait for the initial scan, done. 14 days free, up to 3 servers, no credit card required.
Sources
- R-fx Networks: Linux Malware Detect (project page): https://www.rfxn.com/projects/linux-malware-detect/
- Linux Malware Detect on GitHub (README, licence): https://github.com/rfxn/linux-malware-detect
- Linux Malware Detect: CHANGELOG (version 2.0.1): https://github.com/rfxn/linux-malware-detect/blob/master/CHANGELOG
- Rootkit Hunter: project page and current version: https://rkhunter.sourceforge.net/
- Rootkit Hunter on SourceForge (licence): https://sourceforge.net/projects/rkhunter/
- rkhunter(8): manual page: https://manpages.debian.org/bookworm/rkhunter/rkhunter.8.en.html
- Rootkit Hunter: FAQ (warnings and false alarms): https://sourceforge.net/p/rkhunter/rkh_code/ci/master/tree/files/FAQ
As of November 2026. Information about maldet and rkhunter according to the projects; the projects’ current information is authoritative. Prices exclude VAT. Product names are trademarks of their respective owners.