Download the current version of maldet at https://www.rfxn.com/downloads/maldetect-current.tar.gz
wget https://www.rfxn.com/downloads/maldetect-current.tar.gz
Extract the downloaded file
tar -xvf maldetect-current.tar.gz
Go to the extracted directory
cd maldetect-1.6.5
Now install it
./install.sh
You done!
Maldet update command
maldet -u maldet -d
Maldet Configuration Files
- exec file: /usr/local/maldetect/maldet
- exec link: /usr/local/sbin/maldet
- exec link: /usr/local/sbin/lmd
- cron.daily: /etc/cron.daily/maldet
How to USE maldet ?
Scan
maldet -a /path/to/scan
OR
maldet --scan-all /path/to/scan
View the scan report
maldet -e SCANID maldet --report SCANID
How to setup Email Alert on Maldet?
vi /usr/local/maldetect/conf.maldet