Scanning with ClamAV and maldet
LMD’s maldet daemon constantly monitors the directories that you specify in the /usr/local/maldetect/monitor_paths
file. When it finds a suspicious file, it will perform the action that you specified in the conf.maldet
file.
You can test your setup by downloading a simulated virus file from the European Institute for Computer Antivirus Research (EICAR) site.
There are four different simulated virus files that you can download from https://www.eicar.org/download-anti-malware-testfile/. Note that if you’re running a Windows host machine, these files could get flagged by the Windows antivirus. So, your best bet is to download the files directly to your Linux virtual machines.
Just download one or all of the EICAR test files and transfer them to your home directory on the virtual machines. Your best bet is to download the files directly to your virtual machines, with these four commands:
wget https://secure.eicar...