Home Rkhunter - A Linux Rootkit Scanner
Post
Cancel

Rkhunter - A Linux Rootkit Scanner

RKH (RootKit Hunter) is a free, open source, powerful, simple to use and well known tool for scanning backdoors, rootkits and local exploits on POSIX compliant systems such as Linux. As the name implies, it is a rootkit hunter, security monitoring and analyzing tool that is thoroughly inspects a system to detect hidden security holes.

The rkhunter tool can be installed using following command on Ubuntu and CentOS based systems.

Debian base

1
sudo apt install rkhunter  

Rhel base

1
2
yum install epel-release  
yum install rkhunter

To check your server with rkhunter run the following command.

1
rkhunter -c

To make run rkhunter automatically at every night, add the following cron entry, which will run at 3am night and send reports to your email address.

1
0 3 * * * /usr/sbin/rkhunter -c 2>&1 | mail -s "rkhunter Reports of My Server" you@yourdomain.com

For more information and options run the following command.

1
rkhunter --help

https://en.wikipedia.org/wiki/Rkhunter
https://sourceforge.net/projects/rkhunter/ https://wiki.archlinux.org/title/Rkhunter

This post is licensed under CC BY 4.0 by the author.