rkhunter (Rootkit Hunter) Install Guide Print

  • 1

What is rkhunter
rkhunter (Rootkit Hunter) is a Unix-based tool that scans for rootkits, backdoors and possible local exploits.

Installing rkhunter

  1. SSH into your VPS/Server
  2. Change to the root directory (command below):
    cd /root
  3. Now download the file to your server (command below):
    wget http://ncu.dl.sourceforge.net/project/rkhunter/rkhunter/1.4.0/rkhunter-1.4.0.tar.gz
  4. Unpack the file (command below):
    tar -xvf rkhunter-1.4.0.tar.gz
  5. Change the directory to the unpacked folder (command below):
    cd rkhunter-1.4.0
  6. Run the install script (command below):
    ./installer.sh --layout default --install
  7. Check and run updates on rkhunter (command below):
    /usr/local/bin/rkhunter --update
    /usr/local/bin/rkhunter --propupd
  8. Scan your server (command below):
    rkhunter --check
  9. If you need help with rkhunter please use the help command (command below):
    rkhunter --help
If you would like this installed on your VPS hosting or Dedicated Server please contact our team via a support ticket.

Was this answer helpful?

« Back