Install Rkhunter (Rootkit Hunter) in Linux : Easy Steps

Install Rkhunter
Rkhunter is a Linux-based tool that scans for rootkits, backdoors, and possible local exploits. This article will help you to install Rkhunter on your server.

This article will help you to install Rkhunter in Linux. Ever heard about RootKit Hunter (Rkhunter )? This tool scans for rootkits, backdoors, and local exploits by running tests like:
– MD5 hash compare
– Look for default files used by rootkits
– Wrong file permissions for binaries
– Look for suspected strings in LKM and KLD modules
– Look for hidden files
– Optional scan within plaintext and binary files

 

Follow the below steps to scan your system using RootKit Hunter.
1) Go to “/opt” and download the latest RootKit Hunter from here >> http://sourceforge.net/projects/rkhunter/

cd /opt
wget http://nchc.dl.sourceforge.net/project/rkhunter/rkhunter/1.4.2/rkhunter-1.4.2.tar.gz
tar -xvf rkhunter-1.4.2.tar.gz
cd rkhunter-1.4.2

 

( Please note that the above URL won’t always work. So you need to find the correct package and download link from here >> http://sourceforge.net/projects/rkhunter/ )

 

2) Install the RootKit Hunter by running the installer.sh script with “–install” switch.

./installer.sh --install

 

3) Run the below command to update RootKit Hunter.

rkhunter --update

 

4) Run the below command to perform the scan. ( Where -c is to check the local system and –sk is to skip keypress )

rkhunter -c -sk

 

That’s it. It will scan the local system and will give you a detailed output.

So that’s how you install rkhunter in Linux.

Share this post

Services to Explore

Stay up to date!

Stay up to date with the Web Hosting, Cloud and Server Management Industry News and Tutorials!

We will send you only the relevant emails, and we respect your privacy. Please review our privacy policy for more info.

Linux Management Services

Focus on your business, and let us take care of your Linux Servers!
From what you are reading, it seems you are interested in Linux and related technologies. If you have a moment to spare, please take a look at our Linux Management Services plan, which might interest you even more!
Linux Management Plan

Value-Added Services

We have services that can help you run a successful business. With us, you don't have to worry about these areas because our experts will take care of it for you.

ServerHealers uses cookies.