DEV Community

Bineesh O C
Bineesh O C

Posted on

Install Chkrootkit

Step 1: SSH into your server
The first thing we need to do is SSH or access your VPS or server with root privileges first

Step 2: Download software
wget -c https://src.fedoraproject.org/repo/pkgs/chkrootkit/chkrootkit-0.57.tar.gz/sha512/ff35f01042bc68bdd10c4e26dbde7af7127768442c7a10f114260188dcc7e357e2c48d157c0b83b99e2fd465db3ed3933c84ae12fa411c5c28f64b955e742ff7/chkrootkit-0.57.tar.gz

Step 3: Unzip and install
tar -zxvf chkrootkit-0.57.tar.gz
mkdir /usr/local/chkrootkit
mv chkrootkit-0.57/* /usr/local/chkrootkit
cd /usr/local/chkrootkit

Now you can run chkrootkit to scan the server with the command below:/>
/usr/local/chkrootkit/chkrootkit

Step 4: Install automatic rootkit scanning on the system
0 0 * * * /usr/local/chkrootkit/chkrootkit

for more installation support: https://winhat.in

Top comments (0)