Install Linux Malware Detect
Posted by SEO Admin on 29 April 2015 11:35 AM
This guide will walk you through installing LMD (Linux Malware Detect) on your VPS/Dedicated server:
WARNING Version may vary, you can check the current directory listing with the command `ls`.
This will automatically install a cronjob inside /etc/cron.daily/maldet as well, it will make LMD execute daily and scan local cPanel accounts for possible malware.
Usage is fairly simple, to scan user's home directory or any other directory you would simply execute:
maldet -a /home/user
Any path is alright. The LMD runs great with ClamAV, if you'd like to install ClamAV on a cPanel based server, review this article.
Setting Up Email Alerts
LMD has an option to alert you each time it detects malware, please review these configuration variables inside '/usr/local/maldetect/conf.maldet.
Other configuration variables that you should look into:
You can read the readme file online, which describes the application, http://www.rfxn.com/appdocs/README.maldetect