How to Install Linux Malware Detect?

Linux Malware Detect (LMD) is an excellent tool for detecting malware on linux operating system.  Follow the steps below to install Linux Malware Detect -

  • Log into server as root and run the following command
    • cd /usr/local/src/

  • Next download the installation file
  • Extract using the following command -
    • tar -xzf maldetect-current.tar.gz

  • Change the folder:
    • cd maldetect-*

  • Run the installer:
    • sh ./install.sh

  • To configure the script, run the following command:
    • nano /usr/local/maldetect/conf.maldet 

Here are some tips on using the script 

  • To scan a specific user:
    • maldet -a /home/username/

  • To scan all public_html folders
    • maldet –scan-all /home?/?/public_html


  • 41 Users Found This Useful
Was this answer helpful?

Related Articles

How to disable SSH login for the root user?

To disable root login, open the main ssh configuration file /etc/ssh/sshd_config with your...

Connecting to your Linux VPS

Now you received your details you’ll connect to it via SSH if you have a Linux VPS: If your...

How to determine disk space usage?

To check what is taking up space on your server, you can run multiple commands - You can use...