Skip to content

Instantly share code, notes, and snippets.

@he-and-her
Last active May 13, 2017 16:02
Show Gist options
  • Save he-and-her/1cff2796484b7ba5b635646c926b9a67 to your computer and use it in GitHub Desktop.
Save he-and-her/1cff2796484b7ba5b635646c926b9a67 to your computer and use it in GitHub Desktop.
Linux Malware Detector
# Install the LMD
wget https://tinyurl.com/qdcfm2v
tar xfz maldetect-current.tar.gz
cd maldetect-*
sudo ./install.sh
# Edit with your fav editor the config file
vim /usr/local/maldetect/conf.maldet
# The following settings are recommended to change
# email_alert=1 – Enable email alerts
#
# email_addr=”[email protected]” – Enter the
# destination address for email alerts
#
# quar_hits=1 – Move the detected malware to
# quarantine and send an alert
# quar_clean=1 – Try to clean sthe detected
# malware injections
#
# save the file
# Analyze a dir, in this case, /var
maldet -a /var
# Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment