Cara Install RKHunter di Server

RKHunter also known as RootKit Hunter is a scanning tool to ensure you for about 99.9% that you don’t have any rootkits, backdoors, and local exploits but running tests and e-mailing you results.

1. Login ke Server via SSH dan lakukan instalasi seperti berikut:

cd /usr/local/src/
tar -xzvf rkhunter-1.3.8.tar.gz
cd rkhunter-1.3.8
./ –help
./ –layout /usr/local –install

2. Update Version:

rkhunter –update

3. Run a Test Scan (help to prevent false positives):

/usr/local/bin/rkhunter -c

4. Lets setup RKHunter to e-mail you you daily scan reports.

pico -w /etc/cron.daily/

Tambahkan baris perintah seperti contoh dibawah ini lalu save:

(/usr/local/bin/rkhunter -c –cronjob 2>&1 mail -s “Daily Rkhunter Scan Report”

5. Jalankan permision cronjob:

chmod +x /etc/cron.daily/

Leave a Reply

Your email address will not be published. Required fields are marked *