How to install and use Malware Linux Detect (Maldet)

How to install Maldet

cd /usr/local/src/
tar -xzf maldetect-current.tar.gz
cd maldetect-*
sh ./ or sudo sh ./ 

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

vi /usr/local/maldetect/conf.maldet 
#change to the following:
email_addr="[email protected]"

How to update maldet

maldet --update-ver
maldet --update

How to manually scan with maldet:

maldet -a /home


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