heihachi88
6/10/2015 - 2:09 PM

Install Maldet

Install Maldet

# Navigate to /opt directory
cd /opt

# Downloading LMD archive file #
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz

# Extracting LMD archive file
tar xvfz maldetect-current.tar.gz

# Navigate to extracted directory 
cd maldetect-1.4.2

# install LMD
sh install.sh

# config /usr/local/maldetect/conf.maldet
# To move malware to quarantine & alert #
quar_hits=1

# scan manually
maldet --scan-all /var/www/support.2daygeek.com

# To quarantine the infected files #
maldet -q SCANID

# To clean infected files #
maldet -n SCANID

# LMD Version uptodate #
maldet -d

# LMD virus signatures uptodate #
maldet -u