Compatible Antivirus Command Line Scanners
Introduction
This page stores the antivirus scanners that people have used together with the Attachment Checker.
This is not a comprehensive list of antivirus products. If you have managed to use another product, do let us know so that we can update this list
The requirements for the Command Line Scanner for the Attachment Checker are
The scanner should allow scanning of a single file
The file to be scanned should be the last parameter
The scanner should return the exit code value 0 if there is no threat found. Other values if there is a possible infection
List of Command Line Scanners
Product | Name of Command Line Scanner | Compatible | Remarks |
|---|---|---|---|
Avast! Internet Security |
|
| |
AVG Scan | avgscanx.exe |
| |
ClamAV | clamscan |
| |
Eset | ecls.exe |
| |
F-Prot | fpscan.exe |
| |
Kaspersky Endpoint Security for Linux | kesl-control |
| |
McAfee VirusScan (Linux) | uvscan |
| |
McAfee VirusScan (Windows) | scan.exe |
| |
Sophos Antivirus | savscan |
| |
Symantec Endpoint Protection | DoScan.exe |
| |
Trellix E | amcfg.exe |
| |
Trend Micro OfficeScan | wofielauncher.exe |
| |
Windows Defender | MpCmdRun.exe |
|
For additional information, please refer to Additional steps for anti-virus scanning
How to check if your antivirus scanner is compatible
Download eicar.txt from https://www.eicar.org/download-anti-malware-testfile/
Execute the command line scanner to scan the file.
C:\Program Files (x86)\MpCmdRun.exe -Scan -ScanType -File eicar.txtCheck the errorLevel returned by the previous command
For Microsoft Windows
echo "returning errorLevel = " %ERRORLEVEL%For Linux
echo "returning errorLevel = " $?If the error level is not 0, then it is compatible
