Comprehensive data protection for all workloads
Post Reply
Harald
Enthusiast
Posts: 37
Liked: 20 times
Joined: Sep 11, 2014 9:05 am
Full Name: Harald Husemann
Contact:

Veeam B&R with ClamAV

Post by Harald » 6 people like this post

Hello all,

I'm currently playin' around with some of the new features in v10, and one feature I'd like to test is "Secure Restore". But, I don't have a scanner license for my sandbox systems, so, I've installed the free malware scanner "ClamAV for Windows" (ClamWin) and added it to C:\Program Files\Common Files\Veeam\Backup and Replication\Mount Service\AntivirusInfos.xml as described in the documentation.
Since I haven't found anything on the web, I've added the necessary informations myself which took some time because of some tweaks in ClamAV config. I'm posting it here, maybe someone searching for a free scanner can use it. So, here's what has to be added to the configuration file on the repo servers for a default ClamWin install:

<AntivirusInfo Name='ClamWIN' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles(x86)%\ClamWin\bin\clamscan.exe' CommandLineParameters='--database="c:\ProgramData\.clamwin\db" --recursive %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='' IsParallelScanAvailable='false'>
<ExitCodes>
<ExitCode Type='Success' Description='No threats detected'>0</ExitCode>
<ExitCode Type='Error' Description='Antivirus scan was completed with errors'>2</ExitCode>
<ExitCode Type='Infected' Description='Virus threat was detected'>1</ExitCode>
</ExitCodes>
</AntivirusInfo>

HTH and, last not least, many thanks to Veeam for the good documentation of the XML file which makes it really easy to use other scanners!

Harald
HannesK
Product Manager
Posts: 14314
Liked: 2889 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Veeam B&R with ClamAV

Post by HannesK »

Hello,
thanks for sharing the configuration with the community. đź‘Ť

Best regards,
Hannes
jtupeck
Enthusiast
Posts: 76
Liked: 22 times
Joined: Aug 27, 2013 3:44 pm
Full Name: Jason Tupeck
Contact:

Re: Veeam B&R with ClamAV

Post by jtupeck »

In case this is helpful, here is the latest config for running ClamAV, done with a fresh install and default options this morning.

<AntivirusInfo Name='ClamWIN' IsPortableSoftware='true' ExecutableFilePath='%ProgramFiles%\ClamAV\clamscan.exe' CommandLineParameters='--database="C:\Program Files\ClamAV\database" --recursive %Path%' RegPath='' ServiceName='' ThreatExistsRegEx='' IsParallelScanAvailable='false'>
<ExitCodes>
<ExitCode Type='Success' Description='No threats detected'>0</ExitCode>
<ExitCode Type='Error' Description='Antivirus scan was completed with errors'>2</ExitCode>
<ExitCode Type='Infected' Description='Virus threat was detected'>1</ExitCode>
</ExitCodes>
</AntivirusInfo>
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot], sveloso and 144 guests