This post will help you install Linux Malware Detect (LMD) or Maldet in RHEL server.
root@server [~]# cd /usr/local/src
Download latest package using wget command
root@server [~]# wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
Now extract the downloaded file
root@server [~]# tar xvfz maldetect-current.tar.gz
Navigate to extracted folder
root@server [~]# cd maldetect-*
Run the installation script.
root@server [~]# ./install.sh
Maldet is now installed and ready to be used, to scan a folder use the following command.
root@server [~]# maldet -a /path
To scan all users public_html give the command below:
maldet -a /home?/?/public_html
You may also want to consider activating the many features of maldet, for example:
email_alert=1
email_addr="root"
quar_hits=1
scanthreads=5
maxfilesize="1024k"
--
No comments:
Post a Comment