Author Topic: Kaspersky 2013 x Virus when Build  (Read 15411 times)

Offline Andre Lopes

  • Single posting newcomer
  • *
  • Posts: 3
Kaspersky 2013 x Virus when Build
« on: January 06, 2013, 04:35:02 pm »
Hi Guys, im starting to learn C++.
Im an Actual java Programmer, and now im following some video tutorials.
Anyway, as i use to have netbeans installed, i did install some GCC plugins on it, using ming and some others stuff.

Well, when i installed codeblock, with mingw together, i choosed to compile with GCC etc, and it gave me a warning that i had other compilers or something like that.

Anyway again, when i build my new default project, just to test it, kaspersky blocked it :
Trojan.win32.agent.vjxr

Im worried , i know it isnt codeblock is fault, but perhaps by builder have a virus?

What do i do ?

==

FirstProject.exe   Detectado(s): Trojan.Win32.Agent.vjxr   06/01/2013 13:27:36   d:\arquivos e programas\MeusProjetosC++\FirstProject\bin\Debug\   


Heres the code:

Code
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello world!" << endl;
    return 0;
}


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Kaspersky 2013 x Virus when Build
« Reply #1 on: January 06, 2013, 04:41:07 pm »
Im worried , i know it isnt codeblock is fault, but perhaps by builder have a virus?
Definitely not if you got it from a trusted (or) source. And if you would have searched the forum before posting you would know already.

What do i do ?
Kaspersky is know for false-positive alarms with GNU tools and for developers. Either choose a more intelligent AV solution, or exclude the folder where you are developing in.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Andre Lopes

  • Single posting newcomer
  • *
  • Posts: 3
Re: Kaspersky 2013 x Virus when Build
« Reply #2 on: January 06, 2013, 04:44:00 pm »
Im worried , i know it isnt codeblock is fault, but perhaps by builder have a virus?
Definitely not if you got it from a trusted (or) source. And if you would have searched the forum before posting you would know already.

What do i do ?
Kaspersky is know for false-positive alarms with GNU tools and for developers. Either choose a more intelligent AV solution, or exclude the folder where you are developing in.

Im sorry, i was just worried with it.
So i shouldnt worry?

I will try to take the file out of quarantine and send to virusTotal.
Lets see what happens. I will post in a while


Thanks m8

Offline Andre Lopes

  • Single posting newcomer
  • *
  • Posts: 3
Re: Kaspersky 2013 x Virus when Build
« Reply #3 on: January 06, 2013, 04:58:29 pm »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Kaspersky 2013 x Virus when Build
« Reply #4 on: January 06, 2013, 05:18:10 pm »
Should i do something about it or just add in exception ?
If I were then based n the results you show I would add an exception now and report to Kaspersky as "false-positive and then hope that with one of the next signatures this bogus is gone.

Note that after all this is not a C::B issue and actually does not belong here. Next time, please report to the compiler dev-group.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline itsols

  • Single posting newcomer
  • *
  • Posts: 4
Re: Kaspersky 2013 x Virus when Build
« Reply #5 on: May 20, 2013, 04:58:05 am »
I have to say the same thing... Here's more info on the 'POSITIVE' detection of the virus...

http://forums.codeblocks.org/index.php/topic,17479.msg122646.html#msg122646

Offline demone

  • Multiple posting newcomer
  • *
  • Posts: 36
Re: Kaspersky 2013 x Virus when Build
« Reply #6 on: May 20, 2013, 12:38:53 pm »
anyway I have kas 2013 too and no virus is reported even after a total scan :/ Maybe you were really infected?
processor: Intel Core 2 Quad.
ram: 4 GB
os: Vista
gfx card: Ati Radeon HD 5570

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Kaspersky 2013 x Virus when Build
« Reply #7 on: May 20, 2013, 02:42:30 pm »
Again:

You should never-ever trust a single AV solution when it comes to viruses these days. Use services like virustotal to double-check if your AV solution is causing an alert.

AV solutions these days are over-sensitive as there are way too many viruses and applications around to avoid false positive alerts. Nowadays AV solutions also include "smart heuristics", usually enabled that in addition will cause false positive alarms, too if setup too sensitive. Google for "anti virus false positive" and you'll find the headaches this causes.

The rule of thumb is: For C::B downloads use official sources, they are guaranteed to be virus-free. (Unless of course, the hoster like SourceForge.net will be globally infected. But this is very, very unlikely.)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Kaspersky 2013 x Virus when Build
« Reply #8 on: May 20, 2013, 07:16:09 pm »
I am more and more convinced that you can trust as few or as many AV programs as you want, it makes no difference. In fact, if you don't have any AV software, you probably don't fare any worse. AV software is the real malware, it is what prevents you from working and it is what takes over your computer, making it unusable.

On the other hand, my AV software (different vendors, including the one in this topic) never found a real virus in roughly 29 years of computing and roughly 17 years of being-always-online, which may mean two things: Either I never had one, or the AV software is just useless and doesn't find it.

Now, as to the second possibility, refer to Mr. Porada's well-known live exploit demo on the E-Personalausweis (Nov. 2010) where he claimed none of the scanners at Virustotal raised as much as a warning for his 1-hour trojan, and the AV vendor he working for as consultant at that time was not able to identify it a week after receiving the executable. Of course that trojan was nothing serious, all it did was steal your identity and (more or less undeniably) sign binding contracts in your name, so nothing high priority, really...
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."