0

I have a running winservice which downloads an exe to disk and runs the logic from that binary.

Everytime I download , I have the AVG antivirus prompting the user to verify if it can run it or move it to vault.

I would be running it on servers where there wont be any user intervention. How can I get around this ?

Firefox/Windows autoupdater for instance,seems to autoupgrade seemlessly even with the antivirus installed. How does it work ?

Does getting whitelisted the only way around this ?

Shog9
  • 156,901
  • 35
  • 231
  • 235
user1621026
  • 55
  • 2
  • 11

1 Answers1

0

If AVG anti-virus is claiming that a file is a virus, and you are certain that it is not, you can submit a false positive report to them.

They will examine the file (included in your report) and generally will update virus definitions within 1-2 weeks to exclude that file.

If you cannot wait that long, you can install a different anti-virus solution.

If you are downloading the file from an untrusted source (from Windows perspective, e.g. not from your intranet) the file may be marked as such. AVG could be responding to that. Check the file by right-clicking on it with Windows Explorer and selecting Properties. If there is an Unblock button, that is the issue. Add the location the file is being downloaded from to the list of trusted locations.

Alternatively, you can use PowerShell to unblock the file

Unblock a file with PowerShell?

Community
  • 1
  • 1
Eric J.
  • 147,927
  • 63
  • 340
  • 553
  • I don't think that AVG says it's a virus, it's probably just flagging that an executable that was downloaded from the internet is about to be executed and want to know if to sandbox it or not. – Karl-Johan Sjögren Aug 23 '12 at 21:12
  • 1
    @Karl-JohanSjögren: Yeah, added that possibility too. – Eric J. Aug 23 '12 at 21:12
  • Thanks for the replies.. I will try checking the trusted location bit.. AVG doesnt really say its a virus. I tried downloading a .DAT file instead of an .EXE to test and AVG again prompted me with a "Do you want to move it to Vault/Not " prompt.. I cant really uninstall AVG since its a client machine. – user1621026 Aug 23 '12 at 21:26
  • @user1621026: Try the second suggestion, which is to see if the Untrusted attribute is set. – Eric J. Aug 23 '12 at 22:57
  • Thanks,strangely that doesnt seem to be case,its trusted. I actually created a dll instead of an exe and it actually seems to do just fine with no antivirus issues but then that doesnt solve my problem. – user1621026 Aug 24 '12 at 22:47