You Are Here: Home » Hacking » Antivirus » Install Linux Rkhunter (Rootkit Hunter)

Install Linux Rkhunter (Rootkit Hunter)

Step 1: Downloading Rkhunter

Pertama download Rkhunter versi terbaru, gunakan perintah berikut:

# cd /tmp
# wget http://ncu.dl.sourceforge.net/project/rkhunter/rkhunter/1.4.0/rkhunter-1.4.0.tar.gz

Step 2: Installing Rkhunter

# tar -xvf rkhunter-1.4.0.tar.gz
# cd rkhunter-1.4.0
# ./installer.sh --layout default --install

Step 3: Updating Rkhunter

# /usr/local/bin/rkhunter --update
# /usr/local/bin/rkhunter --propupd

Step 4: Setting Cronjob and Email Alerts

# nano /etc/cron.daily/rkhunter.sh

ubah yang telah ditandai

#!/bin/sh
(
/usr/local/bin/rkhunter --versioncheck
/usr/local/bin/rkhunter --update
/usr/local/bin/rkhunter --cronjob --report-warnings-only
) | /bin/mail -s 'rkhunter Daily Run (PutYourServerNameHere)' [email protected]

Set permission filenya

# chmod 755 /etc/cron.daily/rkhunter.sh

Step 5: Manual Scan and Usage

# rkhunter --check

About The Author

harrychanputra.web.id

Number of Entries : 295

Leave a Comment

© 2011 Powered By Wordpress, Goodnews Theme By Geeks Docuementation

Scroll to top