Install Linux Rkhunter (Rootkit Hunter)

Step 1: Downloading Rkhunter

Pertama download Rkhunter versi terbaru, gunakan perintah berikut:

# cd /tmp
# wget

Step 2: Installing Rkhunter

# tar -xvf rkhunter-1.4.0.tar.gz
# cd rkhunter-1.4.0
# ./ --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/

ubah yang telah ditandai

/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)'

Set permission filenya

# chmod 755 /etc/cron.daily/

Step 5: Manual Scan and Usage

# rkhunter --check

Leave a Reply

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

%d bloggers like this: