How to install Linux Malware Detect
Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. It uses threat data from network edge intrusion detection systems to extract malware that is actively being used in attacks and generates signatures for detection. In addition, threat data is also derived from user submissions with the LMD checkout feature and from malware community resources. The signatures that LMD uses are MD5 file hashes and HEX pattern matches, they are also easily exported to any number of detection tools such as ClamAV.
The driving force behind LMD is that there is currently limited availability of open source/restriction free tools for Linux systems that focus on malware detection and more important that get it right. Many of the AV products that perform malware detection on Linux have a very poor track record of detecting threats, especially those targeted at shared hosted environments.
Download malware detect
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz tar -zxvf maldetect-current.tar.gz cd maldetect-1.5/ ./install.sh
Once installation completed.
You can try to scan your files.
maldet -a /home/?/public_html
This will scan all your account files… This should preferred with screen.
To scan one particular folder, use this option.
maldet -a /home/yourusername
That’s being said you also need to configure maldetect with your email so go ahead and edit:
While there go ahead a look our ClamAV tutorials so you can use clamav scanner engine.