False positive on . exe from visual basic software

Asked

Viewed 169 times

1

I’m new to the forum, so I’m sorry if I’m repeating a topic (I researched it actually and I couldn’t find anything that looked like the problem I’m having). Anyway, I’ll explain what’s going on:

I did a development in Visual Basic 2013 along with the SQL Server database, which I created within the program. The software is up and running perfectly. The point is that when I create the executable, be it through Inno Setup, Install Creator Pro or any other, and install on a computer that has a Psafe or Avast antivirus, they have viruses in the software! But when they go to scan the file . exe, they do not find anything. While in the antivirus of Microsoft itself does not accuse any viruses.

I researched about it and found that creating a registry key in the properties of the program (within Visual Basic) would end this problem. Well, I created the key but it didn’t work.

I need someone to please guide me on this, since the software will be available on a download site and the fear is that users think it has viruses, which is actually a false positive. I do not know the problem is in some line of code or if I need to go to the properties of the program and modify something there, so that when the user installs the . exe on his computer, if you have these types of antivirus, do not report as a threat. Thank you so much for your attention and any help is welcome! Thank you!

  • 2

    In such cases, digitally signing the software helps. Another thing is that detection may be based on software activity (for example, fiddling with privileged places of the registry, trying to do things that need administrative privilege, creating executables at runtime, or even opening network services at privileged doors). It would be the case of [Edit] and better detail what its software does and how it behaves, as well as the exact description that Antivirus is reporting.

  • 1

    Suggested reading for better use of the site: [Tour], [Ask] and [Help].

  • 1

    Can you create a very simple Hello World and see if the anti-viruses complain about it too? If they don’t complain, start adding to this your Hello World, things the program does that could make the anti-virus scream, such as accessing certain places on the network, or manipulating certain files, or accessing the registry, or starting certain service, etc. You don’t need to do anything special with these things, it should be implemented in the most silly way possible just to see if the anti-virus complains or not. Thus, you will be able to isolate what kind of thing makes the anti-virus complain.

  • Victor Stafusa, I just did this, but even with only one Hello World, when I ran it Avast has already beeped stating that the file can be dangerous, but then after quickly analyzing it itself shows that it has no danger.

  • Bacco 2, how would I digitally sign the software? Because what I did was click properties. This shows the properties of the program, and then I went in "Signing", then in "Sign the Assembly". With this I created a digital signature. Would that be?

  • Bacco 2, my software has the function to register, update, search and delete suppliers and materials. For each supplier I can register several materials. After that, the software is capable of performing some calculations and generating a result to the user.Specifically, the user registers cement, gravel, sand and other materials and, from the characteristics of the same, the program searches the materials that were registered and calculates the amount of each material to generate 1m³ of concrete. It is a program aimed at civil engineering.

  • Bacco 2, continuing. For the user to use the registration, update and delete functions, I used SQL Server as BD. The program works perfectly, but when opening its executable, Avast immediately beeps stating that the program may be in danger. However, after a few seconds of analysis, the antivirus itself reports that it found no danger. So I did exactly what Victor Stafusa advised me, I did a little "hello word" program, with just one label and ran, Avast beeped.

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.