RKHunter Automatic Script Installer

rkhunter (Rootkit Hunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. This script will automate the install process for you to install RKHunter. You will not have to manually edit or install or copy files. This is a sit back and let the script do the work for you script.

How does it work?

This script will automate the install process for you to install RKHunter. You will not have to manually edit or install or copy files. This is a sit back and let the script do the work for you script.

How do I run it?

You can follow the below CLI example to install the service. Just copy and paste the command in as root after typing in your email.

wget https://solidshellsecurity.com/_public/scripts/rkhunter_install.sh -v && chmod u+x rkhunter_install.sh && ./rkhunter_install.sh --email EMAILHERE --time h

Advanced Options

./rkhunter_install.sh
-h --help ? : Display help information(this message)
-e --email email : Set e-mail used to send alerts
-t --time h,d,w,m : Scan every Hour, Day, or Month. (hourly by default)
-v --verbose : Turn on verbose mode to display all information (not implemented yet)
-d --debug : Turn on debug mode (not implemented yet)