[RESOLVED] Why does my antivirus pick up anything VB6 compiles as a trojan?
Ok I purchased Windows Onecare last week and started doing some development with VB6 again but every time I compile ANY program in VB6 my antivirus picks it up a Trojan.
I purchased a legit copy of VB6 a while back and I even tried to uninstall and reinstall VB6 to see if it was just bugged but that didn't help.
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
about 7-8 years ago this happened to me. my antivirus started going crazy on me (mcafee at the time). every time i compiled an exe or ran anything it stopped me. i thought it broke so i disabled it. when it came time to buy a new pc, i backed up all my vb stuff (including the compiled stuff) and then i started copying it over and norton antivirus said that the compiled exe's were still infected. it sounded to me as if the virus was listening and waiting for exe's to be created or used and it would infect them at that time. now that i think about it which really sounds like something relatively easy to be able to recreate.
Im not saying this is your case (because it sounds like its just detecting the new vb exe's to be trojans not everything), but to be sure something like this isnt happening to you, you could zip a simple executable and scan it on another pc, and/or send it via email to yourself on a site that has its own virus protection so it can scan it for you.
anyway, that my 2¢ on this. good luck to you, i hope its just your WinOc.
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
Originally Posted by Billy Conner
about 7-8 years ago this happened to me. my antivirus started going crazy on me (mcafee at the time). every time i compiled an exe or ran anything it stopped me. i thought it broke so i disabled it. when it came time to buy a new pc, i backed up all my vb stuff (including the compiled stuff) and then i started copying it over and norton antivirus said that the compiled exe's were still infected. it sounded to me as if the virus was listening and waiting for exe's to be created or used and it would infect them at that time. now that i think about it which really sounds like something relatively easy to be able to recreate.
Im not saying this is your case (because it sounds like its just detecting the new vb exe's to be trojans not everything), but to be sure something like this isnt happening to you, you could zip a simple executable and scan it on another pc, and/or send it via email to yourself on a site that has its own virus protection so it can scan it for you.
anyway, that my 2¢ on this. good luck to you, i hope its just your WinOc.
I scanned it on another computer but it didn't show anything.
I scanned my whole computer and didn't find any programs that would have infected all my VB6's exe's.
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
David, you may very well have a virus on your machine. Have you considered what Billy Conner recommended, post #4, middle paragraph? If you do test your exe against another anti-virus app and it reports a virus, then I'd have to say that if walks like a duck and talks like a duck, it is probably a duck (or virus in this case).
Edited: Ignore the above, we posted about the same time; you answered the question.
Insomnia is just a byproduct of, "It can't be done"
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
Originally Posted by LaVolpe
David, you may very well have a virus on your machine. Have you considered what Billy Conner recommended, post #4, middle paragraph? If you do test your exe against another anti-virus app and it reports a virus, then I'd have to say that if walks like a duck and talks like a duck, it is probably a duck (or virus in this case).
Edited: Ignore the above, we posted about the same time; you answered the question.
Is it possible for a malicious program to replace the VB6 install executable on the Read-Only CD?
That sure doesn't sound likely. Or possible.
I really am stumped.
I haven't contacted Onecare yet but I don't exactly know what I would say to them or if they would believe me. :-/
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
Some virus' are really nasty. Even though you may be able to clean that one, it could very well popup again from another file. I've had one such virus that even after cleaning, it popped back up in the next reboot, time and time again, it was a sick & frustrating 6 hours I spent on that merry-go-round. Eventually, I caved in, reformatted & reloaded. My son is about to experience the same thing; his pc (not using Avast, using Norton), recently got infected -- Avast is going on his clean install when he finishes. I restricted him from IP access until the reinstall is done
Insomnia is just a byproduct of, "It can't be done"
Why don't you try HijackThis.exe
Google and download it.
Run and post the log file, may be I can help you.
Or you can see what are the abnormal progs are running or any new reg entries.
I can understand your state now, which I suffered few weeks back. Malware authors are very very smart now a days. Running trojans on memory without any trace.
Why don't you try HijackThis.exe
Google and download it.
Run and post the log file, may be I can help you.
Or you can see what are the abnormal progs are running or any new reg entries.
I can understand your state now, which I suffered few weeks back. Malware authors are very very smart now a days. Running trojans on memory without any trace.
Ok I downloaded hijackthis and got this report when I scanned.
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
Have you checked any abnormal reference on your project settings ?
The issue may not with the VB6 build exe.
It can be with any new exe you run getting injected. The important clue is the Project Reference. Can you post your problematic *.vbp file ?
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
Originally Posted by soorya
Have you checked any abnormal reference on your project settings ?
The issue may not with the VB6 build exe.
It can be with any new exe you run getting injected. The important clue is the Project Reference. Can you post your problematic *.vbp file ?
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
Clean project... no doubt at all on your settings.
Try my compilation. Zip Password is "gaamaa"
Check the exe size. After the virus injection the new size will be bigger.
Another good test you need to do is.
While compiling, name it as Project1.exx
Keep that Project1.exx ziped and safe.
Rename another copy of it as Project1.exe and compare the size.
Some virus will target only exe extensions. But I think your virus is hooking the VB6.exe and injecting while building. Keep your affected exe in a password protected zip for any future observations.
Re: Why does my antivirus pick up anything VB6 compiles as a trojan?
wouldnt his exe be a different size if he compiles to p-code and you compile to native? there are other options that will effect the size as well? it would be hard to judge this way i believe.
Originally Posted by soorya
Clean project... no doubt at all on your settings.
Try my compilation. Zip Password is "gaamaa"
Check the exe size. After the virus injection the new size will be bigger.
Another good test you need to do is.
While compiling, name it as Project1.exx
Keep that Project1.exx ziped and safe.
Rename another copy of it as Project1.exe and compare the size.
Some virus will target only exe extensions. But I think your virus is hooking the VB6.exe and injecting while building. Keep your affected exe in a password protected zip for any future observations.