Friday, July 26, 2024

How to test your Linux Antivirus (eicar)

Here are the step I follow to test if antivirus is working: 

Download these antivirus test file, do not be afraid they are will not harm to your server. 

$ cd ~ && mkdir virustest
$ wget https://secure.eicar.org/eicarcom2.zip 
$ wget https://secure.eicar.org/eicar_com.zip 
$ wget https://secure.eicar.org/eicar.com.txt 
$ wget https://secure.eicar.org/eicar.com 
$ clamscan ./



Note: these virus pattern testing file also recognized by Windows antivirus, just make a try there.


0 comments: