-
- Expert
- Posts: 129
- Liked: 24 times
- Joined: Jul 12, 2016 12:51 pm
- Location: Vermont, U.S.A.
- Contact:
Free Antivirus Scanner for SureBackup & SecureRestore
I have McAfee Endpoint Security, which is McAfee's current flagship enterprise antivirus scanning product. Unfortunately, McAfee decided to remove on-demand scanning from the ENS CLI. Now, you have to run a custom job, and then query the job asynchronously for a disposition.
This obviously won't work with Veeam's Antivirus interface which expects the scanner to run synchronously and provide a simple error/return code...
Therefore, I am trying to find a free antivirus scanner that would work with Veeam. I assume it will need to be "portable" so it can run in conjunction with McAfee ENS already installed on my mount server. Also, I'll need a way to trigger updates via the CLI (maybe in a scheduled task or similar) so AV definitions will be up to date before Veeam runs files through the scanner.
Thank you!
This obviously won't work with Veeam's Antivirus interface which expects the scanner to run synchronously and provide a simple error/return code...
Therefore, I am trying to find a free antivirus scanner that would work with Veeam. I assume it will need to be "portable" so it can run in conjunction with McAfee ENS already installed on my mount server. Also, I'll need a way to trigger updates via the CLI (maybe in a scheduled task or similar) so AV definitions will be up to date before Veeam runs files through the scanner.
Thank you!
-
- Expert
- Posts: 129
- Liked: 24 times
- Joined: Jul 12, 2016 12:51 pm
- Location: Vermont, U.S.A.
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Made some progress with ClamAV portable, however, their on-demand CLI scanner seems to need to load the DB every run, which takes ~30 seconds. If I work this into the Veeam AV config XML, every file scan will take at least 30 seconds...
Still researching :/
Still researching :/
-
- Product Manager
- Posts: 2589
- Liked: 712 times
- Joined: Jun 14, 2013 9:30 am
- Full Name: Egor Yakovlev
- Location: Prague, Czech Republic
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Hi Novox.
I seen they removed it from End-User version, but did they really remove CLI from an Enterprise one?
Latest version of McAfee Endpoint Security documentation states it is possible to run CLI scans on demand.
/Thanks!
I seen they removed it from End-User version, but did they really remove CLI from an Enterprise one?
Latest version of McAfee Endpoint Security documentation states it is possible to run CLI scans on demand.
/Thanks!
-
- Expert
- Posts: 129
- Liked: 24 times
- Joined: Jul 12, 2016 12:51 pm
- Location: Vermont, U.S.A.
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Yes, I was basing the Veeam config on this link as well (https://docs.mcafee.com/bundle/endpoint ... A34AD.html).
McAfee ENS can scan individual files, however:
Possibly making some headway with ClamAV, will report back soon.
McAfee ENS can scan individual files, however:
- You must define a "Custom Scan" in McAfee on the Mount Server
- You can run this "Custom Scan" from the CLI, and override what locations it scans (the individual files), effectively scanning from the CLI, HOWEVER...
- The scan runs asynchronously and you must query the overridden custom-scan task job to get the status
Possibly making some headway with ClamAV, will report back soon.
-
- Expert
- Posts: 129
- Liked: 24 times
- Joined: Jul 12, 2016 12:51 pm
- Location: Vermont, U.S.A.
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
For those interested, I've had some success with ClamAV. (I make no representation about how good ClamAV is, but it's free and portable).
The ClamD Daemon is not required because Veeam does not scan files one by one, but instead mountpoint by mountpoint. Therefore, the extra ~30 seconds database load for the synchronous "clamscan" is negligible when it only happens once per volume.
My Clam AV XML (AntivirusInfos.xml) configuration looks like this and I've confirmed the regex, error codes, etc are all correct:
(Don't forget to change "ExecutableFilePath" to suit your environment).
Command line parameters (I will toy with these to continue troubleshooting, i.e. removing the first two to see where/if the scan is crashing):
Not sure if the scan process crashed OR if I simply didn't give it enough time to complete, I'll be trying again.
Also, don't forget to update your AV definitions with "freshclam" either by script, scheduled task, or other; before running.
The ClamD Daemon is not required because Veeam does not scan files one by one, but instead mountpoint by mountpoint. Therefore, the extra ~30 seconds database load for the synchronous "clamscan" is negligible when it only happens once per volume.
My Clam AV XML (AntivirusInfos.xml) configuration looks like this and I've confirmed the regex, error codes, etc are all correct:
Code: Select all
<AntivirusInfo Name='ClamAV Portable' IsPortableSoftware='true' ExecutableFilePath='C:\Utilities\ClamAV\clamscan.exe' CommandLineParameters='--infected --no-summary -r "%Path%"' RegPath='' ServiceName='' ThreatExistsRegEx='FOUND' IsParallelScanAvailable='false'>
<ExitCodes>
<ExitCode Type='Success' Description='No virus found'>0</ExitCode>
<ExitCode Type='Infected' Description='Virus(es) found'>1</ExitCode>
<ExitCode Type='Error' Description='Some error(s) occured'>2</ExitCode>
</ExitCodes>
</AntivirusInfo>
Command line parameters (I will toy with these to continue troubleshooting, i.e. removing the first two to see where/if the scan is crashing):
- --infected: "Only print infected files"
- --no-summary: "Disable summary at end of scanning"
- -r: "Scan subdirectories recursively"
Not sure if the scan process crashed OR if I simply didn't give it enough time to complete, I'll be trying again.
Also, don't forget to update your AV definitions with "freshclam" either by script, scheduled task, or other; before running.
-
- Influencer
- Posts: 22
- Liked: 4 times
- Joined: Jul 22, 2020 1:25 pm
- Full Name: Stuart Little
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Can you confirm what version of McAfee you are using? We have McAfee Endpoint Security 10.7.
Just about to head down the path of (attempting) to configure our XML file (but found this thread)...
Just about to head down the path of (attempting) to configure our XML file (but found this thread)...
-
- Product Manager
- Posts: 14793
- Liked: 1728 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Hello Stuart,
Can you please confirm that McAfee Endpoint Security 10.7 supports on demand scan via command line utility? I was not able to find any confirmation at McAfee help center (looks like the needed article is no longer active). Cheers!
Can you please confirm that McAfee Endpoint Security 10.7 supports on demand scan via command line utility? I was not able to find any confirmation at McAfee help center (looks like the needed article is no longer active). Cheers!
-
- Influencer
- Posts: 22
- Liked: 4 times
- Joined: Jul 22, 2020 1:25 pm
- Full Name: Stuart Little
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Hi Dima, I will have our support guys contact McAfee and get back to you
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Jul 14, 2021 1:54 pm
- Full Name: Chris H
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
We are also looking at using McAfee with SureBackup. Looks like v10.7 introduced on demand scanning via CLI.
https://kc.mcafee.com/corporate/index?p ... cale=en_US
https://kc.mcafee.com/corporate/index?p ... cale=en_US
-
- Product Manager
- Posts: 14793
- Liked: 1728 times
- Joined: Feb 04, 2013 2:07 pm
- Full Name: Dmitry Popov
- Location: Prague
- Contact:
Re: Free Antivirus Scanner for SureBackup & SecureRestore
Hello Chris,
Interesting - we will review it with RnD folks, thanks for sharing!
Interesting - we will review it with RnD folks, thanks for sharing!
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot], Semrush [Bot] and 37 guests