Rkhunter is a very useful tool that is used to check for trojans, rootkits, and other security problems. This tutorial will touch on installing and setting up a daily report for rkhunter.
tar -zxvf rkhunter-1.2.7.tar.gz
./installer.sh –layout /usr/local/rkhunter –install
gets the latest database updates from their central server and matches your OS better to prevent false positives
Now you can run a test scan with the following command:
How to setup a daily scan report?
add the following replacing your email address:
/usr/local/bin/rkhunter –cronjob –rwo –nocolors | mail -s “Rkhunter daily run on `uname -n`” firstname.lastname@example.org
chmod +x /etc/cron.daily/rkhunter.sh