Instalar RKHUNTER
INSTALAR
Code:
wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz tar -zxvf rkhunter-1.4.2.tar.gz cd rkhunter-1.4.2 ./installer.sh --layout default --install
rkhunter --propupd
rkhunter --update
rkhunter --update
/usr/local/bin/rkhunter -c
nano /etc/cron.daily/rkhunter.sh
#!/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 Scan Report (TUHOSTNAME)' TUCORREO@aqui.com
(
/usr/local/bin/rkhunter --versioncheck
/usr/local/bin/rkhunter --update
/usr/local/bin/rkhunter --cronjob --report-warnings-only
) | /bin/mail -s 'rkhunter Daily Scan Report (TUHOSTNAME)' TUCORREO@aqui.com
chmod +x /etc/cron.daily/rkhunter.sh
Desinstalar
rm -Rf /usr/local/bin/rkhunter
rm -Rf /usr/local/etc/rkhunter.conf
rm -Rf /usr/local/rkhunter
rm -Rf /usr/local/etc/rkhunter.conf
rm -Rf /usr/local/rkhunter