FreeBSD使用rkhunter偵測rootkit

Step1)安裝rkhunter

#pkg install rkhunter


Step2)檢查是否有rootkit

#rkhunter -c --skip-keypress


Step3)將rkhunter加入crontab每日執行

#0 1 * * * root /usr/local/bin/rkhunter --check --cronjob