How to install and use Malware Linux Detect (Maldet)

How to install Maldet

cd /usr/local/src/
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -xzf maldetect-current.tar.gz
cd maldetect-*
sh ./install.sh or sudo sh ./install.sh 

Now enable email_alert and add your email address to email_addr /usr/local/maldetect/conf.maldet

<strong>vi </strong>/usr/local/maldetect/conf.maldet&nbsp;
#change to the following:
email_alert=1
email_addr="your@email.com"

How to update maldet

maldet --update-ver
maldet --update

How to manually scan with maldet:

maldet -a /home

Or:

maldet /home?/?/domains/?/public_html

Or in background:

maldet -b /home?/?/domains/?/public_html 

How to do real-time monitoring:

maldet --monitor users
maldet --monitor /root/monitor_paths
maldet --monitor /home/mike,/home/ashton
Tags: maldet Linux malware