This how to will help you with your install and configuration of Linux Malware Detect (LMD) on your Ubuntu 15.04 server. For those of you who didn’t know, Linux Malware Detect 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.
This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple. I will show you through the step by step installation Linux Malware Detect on Ubuntu 15.04 server.
Install Linux Malware Detect on Ubuntu 15.04
Step 1. First of all make sure that all packages are up to date.
Step 2. Install Linux Malware Detect.
Download the latest stable version of Linux Malware Detect, At the moment of writing this article it is version 1.4.2:
And run the installation script:
You should get the following output:
Step 3. Configuring Linux Malware Detect on Ubuntu server.
The configuration of LMD is handled through /usr/local/maldetect/conf.maldet and where we can define the working of LMD and what action to take:
And change the following settings:
Step 4. Start scanning manually.
To scan a directory you can use
To update Maldet use the below command:
You can find the details on all options by executing:
Congratulation’s! You have successfully installed Linux Malware Detect (LMD). Thanks for using this tutorial for installing Linux Malware Detect in Ubuntu 15.04 system. For additional help or useful information, we recommend you to check the official Memcached web site.