{"id":3550,"date":"2016-02-27T23:07:55","date_gmt":"2016-02-28T04:07:55","guid":{"rendered":"http:\/\/underhost.com\/blog\/?p=3550"},"modified":"2025-03-15T04:34:20","modified_gmt":"2025-03-15T08:34:20","slug":"how-to-install-linux-malware-detect","status":"publish","type":"post","link":"https:\/\/underhost.com\/blog\/how-to-install-linux-malware-detect\/","title":{"rendered":"How to Install Linux Malware Detect (LMD)"},"content":{"rendered":"<p>Linux Malware Detect (LMD) is an open-source malware scanner for Linux systems, specifically designed for shared hosting environments. It leverages real-time threat intelligence from network intrusion detection systems and community submissions to identify and eliminate malware. LMD integrates seamlessly with ClamAV to enhance scanning capabilities using both MD5 hash-based and HEX pattern matching detection techniques.<\/p>\n<p>&#8212;<\/p>\n<h3>Step 1: Download and Install Linux Malware Detect<\/h3>\n<p>To install LMD, follow these steps:<\/p>\n<pre>\r\nwget https:\/\/www.rfxn.com\/downloads\/maldetect-current.tar.gz  \r\ntar -zxvf maldetect-current.tar.gz  \r\ncd maldetect-1.5\/  \r\n.\/install.sh\r\n<\/pre>\n<p>Once the installation is complete, you can start scanning your system for malware.<\/p>\n<p>&#8212;<\/p>\n<h3>Step 2: Scan for Malware<\/h3>\n<p>To perform a full scan on all public files in user directories, run:<\/p>\n<pre>\r\nmaldet -a \/home\/?\/public_html\r\n<\/pre>\n<p>To scan a specific directory, replace `\/home\/yourusername` with the desired path:<\/p>\n<pre>\r\nmaldet -a \/home\/yourusername\r\n<\/pre>\n<p>&#8212;<\/p>\n<h3>Step 3: Configure Email Alerts<\/h3>\n<p>To receive notifications for detected malware, configure LMD with your email address. Open the configuration file:<\/p>\n<pre>\r\nvi \/usr\/local\/maldetect\/conf.maldet\r\n<\/pre>\n<p>Adjust the necessary settings for email alerts and automated responses.<\/p>\n<p>&#8212;<\/p>\n<h3>Enhance Detection with ClamAV<\/h3>\n<p>For better malware detection, integrate LMD with ClamAV. Check out our <a href=\"https:\/\/underhost.com\/blog\/?p=3553&#038;preview=true\">ClamAV tutorials<\/a> for a step-by-step guide.<\/p>\n<p>&#8212;<\/p>\n<p>Need secure hosting? Explore [UnderHost.com](https:\/\/underhost.com\/) for **offshore hosting, dedicated servers, and secure cloud solutions** with built-in malware protection. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux Malware Detect (LMD) is an open-source malware scanner for Linux systems, specifically designed for shared hosting environments. It leverages real-time threat intelligence from network intrusion detection systems and community submissions to identify and eliminate malware. LMD integrates seamlessly with ClamAV to enhance scanning capabilities using both MD5 hash-based and HEX pattern matching detection techniques.<\/p>\n","protected":false},"author":1,"featured_media":5015,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,38,11],"tags":[],"class_list":["post-3550","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-controlpanel","category-cpinstall","category-how-to"],"_links":{"self":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/comments?post=3550"}],"version-history":[{"count":6,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3550\/revisions"}],"predecessor-version":[{"id":5163,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3550\/revisions\/5163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media\/5015"}],"wp:attachment":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media?parent=3550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/categories?post=3550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/tags?post=3550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}