Rkhunter Installation

Rkhunter is a tool used to check trojans, rootkits, and other security problems.
Here are the installation steps:-

root@server1 [~]#wget http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz
root@server1 [~]#tar -zxvf rkhunter-1.2.7.tar.gz
root@server1 [~]#cd rkhunter-1.2.7
root@server1 [~]#./installer.sh

You can scan the server by using the following command:-

root@server1 [~]#/usr/local/bin/rkhunter -c

You can update the rkhunter database by issuing the following command:-

root@server1 [~]#rkhunter –update

Chrootkit Installation

Chrootkit is a tool used for scanning the trojans in the server.

Here are the installation steps:-

1) Download the source package

root@server1 [~]#wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz

2)Check the MD5 SUM of the download for security.

root@server1 [~]#ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.md5
root@server1 [~]#md5sum chkrootkit.tar.gz

3) Extract the source file and install it.

root@server1 [~]#tar xvzf chkrootkit.tar.gz
root@server1 [~]#cd chkrootkit*
root@server1 [~]#make sense

4) Scan the server.

root@server1 [~]#./chkrootkit


Shares
Contact Us On WhatsApp