Install CHKROOTKIT on CentOS 5.x & 6.x

Steps to Install CHKROOTKIT on CentOS:

#cd /usr/local/src
#wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
 or
#wget http://www.spenneberg.org/chkrootkit-mirror/files/chkrootkit.tar.gz
#tar -zxvf chkrootkit.tar.gz
#mkdir /usr/local/chkrootkit
#mv /usr/local/src/chkrootkit*/* /usr/local/chkrootkit
#cd /usr/local/chkrootkit
#make sense

Adding CHKROOTKIT to Daily Cron
#vi /etc/cron.daily/chkrootkit.sh

Add this text to the chkrootkit.sh file
#!/bin/sh
(
/usr/local/chkrootkit/chkrootkit
) | /bin/mail -s 'CHROOTKIT Daily Run (PutServerNameHere)' your@email.here
#chmod 700 /etc/cron.daily/chkrootkit.sh
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How can I create a database from an sql backup file ?

First, create the database.. /path/to/bin/mysqladmin -u $mysqlusername -p$mysqlpassword create...

How can I see all running processes from my server?

Type the following command from shell prompt.It will display the currently running processes. ps...

Connecting to your Windows server

To connect to your Windows VPS or Dedicated server, you use Remote Desktop Connection. Go to:...

Connecting to your Linux server

To connect to your Linux VPS or Dedicated Server, you need a ssh client.  We recommend...

Memory usage seems too high inside a VPS

There are cases when you may notice that the memory usage is too high inside your VPS without a...