Protecting against and identifying rootkits, backdoors and exploitations
The Rkhunter software is used to scan and ensure you're clean of harmful tools such as rootkits, backdoors and local exploitations.
To install and use rkhunter, the following steps need to be performed from the SSH shell prompt:
1.Log on to your server via SSH, then change to the Root user: su - root
2.Change directory to the source install location: cd /usr/local/src'
3. Download rkhunter source code: wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.3.6/rkhunter-1.3.6.tar.gz
4.Extract the rkhunter source from the compressed tar file:tar -zxvf rkhunter-1.3.6.tar.gz
5. Change to the newly created rkhunter directory: cd rkhunter-1.3.6
6. Run the installer:./installer.sh --install
7. Run rkhunter: rkhunter -c
Rkhunter should now be running and checking your filesystem for suspected files.