C++ Hello World.exe Virus
I was making a hello world program in C++ on Dev C++, it was just a simple hello world program, that i learnt from a video on youtube, so i copied it to see what it was like, mess around with it, edit it etc. This is the code:
1 #include <iostream>
2 using namespace std;
3
4 int main(void)
5 {
6 cout <<"Hello World!";
7
8 }
So i compiled it and ran it, and to my suprise AVG's resident shield gave me a multiple threat detection, 3 infections to be exact, saying this for all three of them:
Infection List: 1 File Name: C:\Users\Matt Sutton\Desktop\Hello World.exe Threat name: Trojan Horse Generic12.PNY Detected on open.
Im not really woried because i know its obviously not a virus, but what's going on with this? lol, Thanks for your help
mastergamer wrote: Probably just your AV going crazy over nothing. Put all your C++ stuff into a folder and add that folder to your AV's exception list (and just make sure that nothing that could be a virus goes in there without being scanned first).
This. AVG gives the most false positives I've ever seen in an AV software. Try and compile it under a different name and see if you still return the same results.
I say that because IIRC, there's a virus/trojan or something malicious that was released under the name 'hello world'.