- First, log on as “root” and enter your password.
- Then type:
wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
- Wait for it to stop and then, to unpack it, type:
tar xvzf chkrootkit.tar.gz
- Once it’s finished unpacking, navigate to the correct folder by entering:
cd chkrootkit-/
- Once you’re in the rootkit folder, enter the following command:
make sense
This will install it and it’s done.
To run a check for rootkits, open putty, log in as “root” and enter your password. Then type in:
./chkrootkit
This will start the scanner. As it runs, look at screen for anything that say “INFECTED”