Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

How to check if your antivirus scanner is compatible

  1. Download eicar.txt from https://www.eicar.org/download-anti-malware-testfile/

    Info
    titleFrom: https://en.wikipedia.org/wiki/EICAR_test_file

    The EICAR Anti-Virus Test File or EICAR test file is a computer file that was developed by the European Institute for Computer Antivirus Research (EICAR) and Computer Antivirus Research Organization (CARO), to test the response of computer antivirus (AV) programs. Instead of using real malware, which could cause real damage, this test file allows people to test anti-virus software without having to use a real computer virus.


  2. Execute the command line scanner to scan the file. 

    Code Block
    C:\Program Files (x86)\MpCmdRun.exe -Scan -ScanType -File eicar.txt


    Note

    This command is for Windows Defender. Please update the command and options for the virus scanner you are using


  3. Check the errorLevel returned by the previous command  

    Code Block
    titleFor Microsoft Windows
    echo "returning errorLevel = " %ERRORLEVEL%


    Code Block
    titleFor Linux
    echo "returning errorLevel = " $?


  4. If the error level is not 0, then it is compatible (tick)

...