Table of Contents
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.
Follow the steps below to install maldet on your server.
A) Install maldet on your server
1) SSH to your server
2) Download the tar file and install it.
cd /usr/local/src/ && wget http://www.rfxn.com/downloads/maldetect-current.tar.gz && tar -xzvf maldetect-current.tar.gz && cd maldetect-* && sh install.sh
This will automatically install a cronjob inside /etc/cron.daily/maldet so a daily scan will be run for local cPanel or Plesk accounts.
B) Update to the latest version and virus signatures:
maldet -d && maldet -u
C) Run the first scan manually
Launch a background scan for all user’s public_html and public_ftp in all home directories, run the following command:
maldet -b –scan-all /home?/?/public_?
D) Verify the scan report
1) List all scan reports time and SCANID:
maldet –report list
2) Show a specific report details :
maldet –report SCANID
3) Show all scan details from log file:
grep “{scan}” /usr/local/maldetect/event_log
E) Clean the malicious files
The quarantine is disabled. You will have to launch it manually.
maldet -q SCANID
Ah, the joys of building a website! Picture this: You're sitting there in your pajamas, coffee in hand, ready to…
Are you feeling like your website is running in slow motion? It can be frustrating when your online presence doesn't…
Are you ready to take your online store to the next level? Whether you're running a PrestaShop or OpenCart platform,…
Picture this: your website is like a fabulous party happening in the darkest corner of the internet, but nobody's showing…
Picture this: Your WordPress site is like that one friend who's always fashionably late to everything. You know, the one…