Hostwinds Tutorials
Search results for:
Table of Contents
Tags: Ubuntu
Maldet is a Linux malware detection scanner. Maldet is a useful tool for those that run a hosted environment like WHM/cPanel installations. The Maldet creators use threat data from network edge IDS that are actively used in attacks to generate an effective signature detection of PHP backdoors and darkmailers. The following steps will walk you through the process of installing maldet on your Linux machine.
cd /opt/
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar xfz maldetect-current.tar.gz
ls
The output should be similar to the image below.
cd may detect-*
./install.sh
/usr/local/maldetect/conf.maldet
Recommended configurable options:
```plaintext
Enable email alerts
email_alert=1
Enter the destination address for email alerts
email_addr="user@yourdomain.tld"
Quarantine any detected malware and send an alert
quarantine_hits=1
Clean the detected malware injections
quarantine_clean=1
The default suspend action for infected users. Change to 1 if you wish to suspend the user
quarantinesuspenduser=0
```
maldet -a /home/username
maldet --scan-all /home
maldet --report list
maldet --report SCAN-ID
Written by Hostwinds Team / May 29, 2018