Jump to content

  • Log In with Google      Sign In   
  • Create Account


Why Do My C++ Files Turn Up As Virusus ?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
27 replies to this topic

#1 Shippou   Members   -  Reputation: 1471

Posted 24 December 2013 - 06:15 PM

Every ####ing time I run an antivirus on my laptop, it targets every single C++ compiled file I have as a virus.

 Do you's know what is causing this ?

 Right now I am using QT, but same thing happens when I use BloodShed.


 Reactions To Technologies:
1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works.
2. Anything that's invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it.
3. Anything invented after you're thirty-five is against the natural order of things.

- Douglas Adams 2002


 


Sponsor:

#2 Servant of the Lord   Crossbones+   -  Reputation: 18279

Posted 24 December 2013 - 06:28 PM

Norton 360 Antivirus? If so, it's probably the Norton Sonar protection component, which you can selectively disable without turning off the entire antivirus.
 
Some antivirus programs use a 'whitelist' strategy. Any file they don't recognize they assume is bad. This is beneficial for your average computer user who downloads "Greeting cards" that random spam emails link them to. This gives amusing results to indie developers:
 
fa08.png
 
(A game I was working on with a few friends online some years back - yea, we did have too few users, Norton - thanks for rubbing it in)
 
By the by, as much as I liked Norton, neither Norton Antivirus or any other major anti-virus program does a perfect job. So when it came time to re-subscribe, I just uninstalled it and migrated to Microsoft Security Essentials, which is freely available and is fairly decent, less intrusive and annoying, and less CPU-heavy. That, combined with Spybot Search and Destroy (also free), coupled with a secure browser (Google Chrome) and the same cautious behavior that I'm sure you (and every computer-savy user) also possess, keeps me and my familys' computers secure (except when someone falls for a trick link - maybe twice a year - which then required manual intervention).
 
Save yourself the cost of a anti-virus subscription - they all do a mediocre job, the problem is still the user, and you might as well use the free ones like the one Microsoft provides coupled with SpyBot.

Edited by Servant of the Lord, 24 December 2013 - 06:37 PM.

It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.

[Fly with me on Twitter] [Google+] [My broken website]

All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.                                                                                                                                                            [Need web hosting? I personally like A Small Orange]
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal


#3 BGB   Crossbones+   -  Reputation: 1554

Posted 24 December 2013 - 09:25 PM

I personally also get similar issues a fair amount with Avast, where it seems to be rather critical of any newly compiled binaries, apparently *especially* ones compiled with GCC.

 

one time, it also went and basically kept moving any VirtualDub related binaries to the virus vault, apparently having randomly decided that VirtualDub was a virus or something...



#4 samoth   Crossbones+   -  Reputation: 4660

Posted 25 December 2013 - 07:35 AM

Avast flags anything using GNU gettext compiled with any version of MinGW I've seen as "Malware" and considers many other executables as "dangerous" because none in their "community" has had the same file scanned before, too. The only workable solution is to uninstall all this shit (whitelisting the compiler and the development partition doesn't work properly). Kaspersky is even worse.

 

I've submitted bug reports considering the gettext thing repeatedly too, only reaction was the usual keep-consumer-busy-with-nonsense dance without much effect.

 

So chances are that whatever-you-use is just as bad. Antivirus live panic just doesn't work well with development. Heuristic scanners are pathetic and signature-based ones are not much better, so they will gratiously flag anything they haven't whitelisted as malware. Also, the perceived threat makes users more likely to spend money on malware and accept the detrimental impact of AV software on their system (which is often worse than the impact caused by the actual malware).

It's much the same as if your governmental thugs kill a few people by crashing an airplane into a building and later arrest some presumed "bombers". The perceived threat makes people much more compliant with other measures (giving up privacy rights, going to war) that they would never accept otherwise.



#5 the incredible smoker   Members   -  Reputation: 295

Posted 25 December 2013 - 08:47 AM

Who has his programming pc online anyways ?


S T O P   C R I M E !

Visual Pro 2005 C++ DX9 Cubase VST 3.70  Working on : LevelContainer class & LevelEditor


#6 tom_mai78101   Members   -  Reputation: 568

Posted 25 December 2013 - 09:03 AM

And I thought this thread is about "How to create a C++ executable file that antiviruses label them as viruses?" or "How to create a virus?" type of thread.

 

And boy my anticipation and excitement skyrocketed... and dropped like dubstep.



#7 FableFox   Members   -  Reputation: 491

Posted 25 December 2013 - 11:11 AM

If one thing I hate about anti virus, it would be labeling a lot of compressed exe as virus - and this include Microsoft own anti virus.

 

I love watching a lot of 64k intros, and some big demos .exe are compressed too, for whatever reasons.


Fable Fox is Stronger <--- Fable Fox is Stronger Project

#8 samoth   Crossbones+   -  Reputation: 4660

Posted 25 December 2013 - 04:32 PM

Who has his programming pc online anyways ?

I do, for example. What's wrong with being connected to the internet as such? It's not like you couldn't make a modern system secure against intrusion from outside (even Windows can be made secure).

 

It's the stuff you download and execute you have to worry about, but then again it's not any more dangerous than anything you install/execute off a CDROM or an USB stick.



#9 tstrimple   Prime Members   -  Reputation: 1718

Posted 25 December 2013 - 04:46 PM

Your AV software must be detecting that your code is infected with GPL. You're going to have to nuke it from orbit. It's the only way to be sure.


Edited by tstrimple, 25 December 2013 - 04:46 PM.


#10 patrrr   Members   -  Reputation: 968

Posted 25 December 2013 - 05:26 PM

Is anti-virus still needed? I thought Windows had become good enough to not require it anymore.



#11 SiCrane   Moderators   -  Reputation: 9500

Posted 25 December 2013 - 05:57 PM

Yes and no. Windows 8 (and presumably Windows 8.1) now comes bundled with anti-virus software: Windows Defender (what was a separate download for previous editions of Windows: Microsoft Security Essentials). So it's not really that you don't need it, it's that you might already have it.



#12 TheChubu   Crossbones+   -  Reputation: 3991

Posted 25 December 2013 - 06:04 PM

Who has his programming pc online anyways ?

Its kinda hard to push and pull changes from online repositories without internet.


"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

 

My journals: dustArtemis ECS framework and Making a Terrain Generator


#13 Madhed   Crossbones+   -  Reputation: 2726

Posted 25 December 2013 - 06:09 PM

Ran across something like this before. My guess is the AV detects that the executable has been altered (by recompiling) and triggers a warning.



#14 Hodgman   Moderators   -  Reputation: 28653

Posted 25 December 2013 - 07:14 PM

Who has his programming pc online anyways ?

Really?

The only places where I've heard of development PC's not being online was inside the defence sector, when working with top secret IP.

These people still had a second 'safe' PC though, which they could use to access information from the web.



#15 the incredible smoker   Members   -  Reputation: 295

Posted 26 December 2013 - 09:42 AM

 

I do, for example. What's wrong with being connected to the internet as such? It's not like you couldn't make a modern system secure against intrusion from outside (even Windows can be made secure).

 

 

 

It's the stuff you download and execute you have to worry about, but then again it's not any more dangerous than anything you install/execute off a CDROM or an USB stick.

 

 

I guess we find out in 10 years,

look to how unsafe Windows XP is now, that Microsoft themselfs willing to forbid everyone to use it.

Look if your current Windows is still unsafe after they are not supporting it anymore ?

 

 

 

Really?

 

The only places where I've heard of development PC's not being online was inside the defence sector, when working with top secret IP.

These people still had a second 'safe' PC though, which they could use to access information from the web.

 

 

I know people go online because they need the updates.

Suppose you are working on your game engine 10 years, are you still going online with the risk someone gets your work in 1 second ?

 

+ there are so many virusses, they need a whitelist instead of a blacklist, times changes.

 

What is worse : a virus scanner , or a virus ?

they both do the same : using your pc power, uploading your files to the internet, searching in your pc, request you to pay.


S T O P   C R I M E !

Visual Pro 2005 C++ DX9 Cubase VST 3.70  Working on : LevelContainer class & LevelEditor


#16 tstrimple   Prime Members   -  Reputation: 1718

Posted 26 December 2013 - 04:09 PM

 

 

I do, for example. What's wrong with being connected to the internet as such? It's not like you couldn't make a modern system secure against intrusion from outside (even Windows can be made secure).

 

 

 

It's the stuff you download and execute you have to worry about, but then again it's not any more dangerous than anything you install/execute off a CDROM or an USB stick.

 

 

I guess we find out in 10 years,

look to how unsafe Windows XP is now, that Microsoft themselfs willing to forbid everyone to use it.

Look if your current Windows is still unsafe after they are not supporting it anymore ?

 

 

 

Really?

 

The only places where I've heard of development PC's not being online was inside the defence sector, when working with top secret IP.

These people still had a second 'safe' PC though, which they could use to access information from the web.

 

 

I know people go online because they need the updates.

Suppose you are working on your game engine 10 years, are you still going online with the risk someone gets your work in 1 second ?

 

+ there are so many virusses, they need a whitelist instead of a blacklist, times changes.

 

What is worse : a virus scanner , or a virus ?

they both do the same : using your pc power, uploading your files to the internet, searching in your pc, request you to pay.

 

 

Wow... you're living up to your profile name.



#17 samoth   Crossbones+   -  Reputation: 4660

Posted 26 December 2013 - 06:25 PM


I guess we find out in 10 years,

look to how unsafe Windows XP is now, that Microsoft themselfs willing to forbid everyone to use it.

Look if your current Windows is still unsafe after they are not supporting it anymore ?
I've had Windows XP in use for 11 1/2 years, permanently connected to the internet. Not had one issue during that time. Updated to Windows 7 after that, and got no problem since.

Windows 8 is total shit, but for other reasons (using it on my tablet). As for virus/intrusion, none seen so far under Win8 either.

 

Had Linux servers online 24/7 with uptime dating to the mid-1990s, no single issue.

 

Threat is widely overrated. Unless you either run badly configured server software with well-known exploits, preferrably on a high-profile site, or unless you download a lot of crap on  your work PC, no such thing as being infected or exploited will likely happen. A somewhat sane setup with somewhat sane filesystem/user permissions will fend off 99.999% of the crap. A simple stateful firewall that isolates your work computer from the internet simply by not allowing incoming connections (such as is built into every router!) will prevent 99.99% of all attacks before they even begin. The only thing it really can't prevent is you being stupid and downloading/executing something. But it also can't prevent you from inserting a CDROM that contains malware... so really... what's the matter.



#18 the incredible smoker   Members   -  Reputation: 295

Posted 27 December 2013 - 09:19 AM

If it was not unsafe they would not sell a new Windows version or what ?

Not to talk about NSA stuff ( Microsoft is American company ).

So for me its clear, cannot be trusted with your stuff.

 

 

 

 

Wow... you're living up to your profile name.

 

 

I just read all this, its not that i am a expert on security or something, i have my pc offline anyways so i dont have to care about it.

I,m just reading www.security.nl

greetings


S T O P   C R I M E !

Visual Pro 2005 C++ DX9 Cubase VST 3.70  Working on : LevelContainer class & LevelEditor


#19 samoth   Crossbones+   -  Reputation: 4660

Posted 27 December 2013 - 09:30 AM

You don't have a cell phone and a passport, do you? And most certainly you do not use any money?

 

Because you know, if it's them you're afraid of, you should be aware that there's more of your life that is being controlled every day than the 3 porn movies you got on your computer.



#20 the incredible smoker   Members   -  Reputation: 295

Posted 27 December 2013 - 09:42 AM

I dont have em : i am smart myself so i dont need a smart Phone.

Smart just means : privacy infringing.

 

I dont need a passport to, else i am in some American killer robots database in the year 2020 wich uses the photo for facial recognition.

 

Cash money however i do have.


Edited by the incredible smoker, 27 December 2013 - 09:43 AM.

S T O P   C R I M E !

Visual Pro 2005 C++ DX9 Cubase VST 3.70  Working on : LevelContainer class & LevelEditor





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS