Created on 2014-Nov-28
Updated on 2014-Nov-28
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
vi /usr/local/maldetect/conf.maldet #change to the following: email_alert=1 email_addr="[email protected]"
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