Security Scans for Server and VPS

Here is how to install 2 popular tools for scanning your servers for rootkits, trojans:

 

RKHunter
http://rkhunter.sourceforge.net/

Install

wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.3.8/rkhunter-1.3.8.tar.gz
tar -xvzf rkhunter-1.3.8.tar.gz
cd rkhunter-1.3.8
./installer.sh –install
rkhunter –propupd

Scan

rkhunter –check

Also check resulting log in /var/log/rkhunter.log .

 

 

ChkRootkit
http://www.chkrootkit.org/

Install

wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar xvzf chkrootkit.tar.gz
cd chkrootkit*
make sense

Scan

./chkrootkit

Benchmark your VPS or Dedicated Server

Have multiple servers or VPS and want to compare performance by running a benchmark as root?

This takes some time.

wget http://byte-unixbench.googlecode.com/files/UnixBench5.1.3.tgz
gunzip -dvc UnixBench5.1.3.tgz | tar xvf –
cd UnixBench
make
./Run

Also found an older version on Web Hosting Talk:

wget http://members.dslextreme.com/users/andylee/unixbench-4.1.0-wht.tar.gz
gunzip -dvc unixbench-4.1.0-wht.tar.gz | tar xvf –
cd unixbench-4.1.0-wht-2
make
./Run