Powered By Blogger

Search This Blog

04 February, 2013

How to Install ChkRootKit on linux System / Server / cPanel Server Centos

Install ChkRootKit on linux System / Server / cPanel Server Centos

Install ChkRootKit
Follow these steps to install ChkRootKit
Login to SSH as root
cd /usr/local/src/
– Down load the chkrootkit.
# wget http://www.spenneberg.org/chkrootkit-mirror/files/chkrootkit.tar.gz
# wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
- Unpack the chkrootkit you just downloaded.
# tar -xvzf chkrootkit.tar.gz
- Change to new directory
# cd chkrootkit-*
(select the version )
- Compile chkrootkit
# make sense
- Run chkrootkit
# ./chkrootkit
How to setup a daily scan report?
- Load crontab
# crontab -e
- Add this line to the top:
===============================================================>
0 1 * * * (cd /usr/local/src/chkrootkit*; ./chkrootkit 2>&1 | mail -s “chkrootkit output” email@domain.com)
===============================================================>

1 comment:

  1. awesome post.. its help me alot bro.. if you need hosting solution and managed hosting start from $3 per month you can check it here.unmetered web hosting

    ReplyDelete