Author Topic: Newbie problem: trojan discovered when building console application  (Read 7987 times)

datetenru

  • Guest
COMPLETE noob with a question and a concern

Just installed the lateset Code::Blocks with MinGW
Tried the 'hello world' test.  When I click build -> build, my AV tells me that it has found 'trojan horse agent2.CBEV' in the directory I had created for this project( ...HelloWorld/bin/debug/HelloWorld.exe). Very puzzled.  Searches both on google and in this forum reveal nothing about trojan horse agent2.cbev.  Does anybody know what might be causing this?  Could this be something malicious that's been hiding on my PC?  Could it be a false positive? How worried should I be? I've reinstalled Code::Blocks from both berios and source forge with the same results. My AV takes care of the file, and doesn't otherwise notice any problems when I scan my machine.

btw using windows 7, with AVG free

Any help would be greatly appreciated


Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Newbie problem: trojan discovered when building console application
« Reply #1 on: January 23, 2011, 11:55:41 am »
Any help would be greatly appreciated
The official installers are virus-free. Either you are really infected or it's a false alarm - the latter is more likely. Send a sample to the AVG guys or try the file at http://www.virustotal.com and see what other AV software tells.

In addition try the following: Modify the code so that is does "some more". Does the error still occur?

I am personally having such issues from time to time with a library I am developing that does live compilation. This is often recognised as trojan, hence it is not, obviously. But if you are a developer you will often have to live with false alarms.
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 reckless

  • Regular
  • ***
  • Posts: 345
Re: Newbie problem: trojan discovered when building console application
« Reply #2 on: January 26, 2011, 02:06:22 pm »
can confirm what morten said i also run into these from time to time but to be sure do as he told :) one can newer know.