Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Antivirusscanner  (Read 5175 times)

0 Members and 1 Guest are viewing this topic.

Biomass2857

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Antivirusscanner
« on: November 05, 2014, 07:15:33 pm »
I've got a problem with my program, i've written in C++ & SFML,
it is used for the digital query of french vocabs, but i've got a problem,
the antivirus-program alerts: Gen:Variant.Kazy, when i try to unzip or start it on the system where it's needed, is SFML the problem or maybe the fstream in C++?
Please help me so fast as you can.

Programming OS: Windows 8.1
Executing OS: Windows 7
IDE: Dev-C++
SFML Version: 2.0
Executing OS antivirusscanner: F Secure

Greetings Biomass

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: Antivirusscanner
« Reply #1 on: November 05, 2014, 07:26:48 pm »
All antiviruses are useless shit.

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: Antivirusscanner
« Reply #2 on: November 05, 2014, 08:13:04 pm »
This is problem of a person. =)

AlexAUT

  • Sr. Member
  • ****
  • Posts: 396
    • View Profile
Re: Antivirusscanner
« Reply #3 on: November 05, 2014, 10:34:25 pm »
Seriously I don't think you can do anything except telling the user to whitelist (or something similiar) your application.

Edit: Why did you create this vote? ;)

AlexAUT

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Antivirusscanner
« Reply #4 on: November 05, 2014, 10:39:56 pm »
Quote
Why did you create this vote?
Agreed, it was totally useless so I removed it.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Antivirusscanner
« Reply #5 on: November 05, 2014, 10:52:22 pm »
You can try changing the code, then pray and hope the AV won't complain anymore...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Jesper Juhl

  • Hero Member
  • *****
  • Posts: 1405
    • View Profile
    • Email
Re: Antivirusscanner
« Reply #6 on: November 06, 2014, 12:28:19 am »
I completely agree with previous posts here. Most (all?) AV software is more or less crappy snake-oil. Most AntiVirus software just checks for strings or patterns in a file, which is obviously prone to false positives, which makes them not very useful.
Also, as has been said, if you can't change the AV, then maybe just make random (harmless) changes to the code in various places, or change compiler/compiler options and hope you then no longer trigger that AV.  Pretty shitty solution, but it may be the best you can do.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Antivirusscanner
« Reply #7 on: November 06, 2014, 12:45:56 am »
All antiviruses are useless shit.
Most (all?) AV software is more or less crappy snake-oil. Most AntiVirus software just checks for strings or patterns in a file, which is obviously prone to false positives, which makes them not very useful.
I don't want to overstate the power of anti-virus software, but your statements are definitely misleading (in ChronicRat's case plain trolling).

Today's techniques are much more complex than simply looking at known patterns (i.e. virus signatures), see here for more information. Often, anti-virus products are also coupled with other defense mechanisms like firewalls or spam filters.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Antivirusscanner
« Reply #8 on: November 06, 2014, 01:32:43 am »
Antivirus software don't hold what they essentially promise or get advertised by the media and the companies themselves - yey capitalism - however using statements such as "useless shit" and "more or less crappy snake-oil" are hyperboles and shouldn't be used for discussions.

A lot of normal PC users have been protected from bad viruses, not only that, but just think about how the maleware market would look like, if there were no AVs at all? If nobody tried to actually prevent malicious applications from entering the system? If every child with some downloaded tool can format hard disks of a hundred people, since nobody is stopping Trojan horses?
Do you still want to hang on to your statements?

I'd say rule #1 in security is: There's no perfect security.
There's always a way and just because a software covers a few thousand or millions of ways, but not these other few thousands, doesn't make the software useless, it just makes it imperfect.
It is unfortunate as much as it's unfortunate that every software you write, will contain bugs.

And since we're on the topic, feel free to checkout this paper about "Outsmarted – Why Malware Works in face of Antivirus Software"
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: Antivirusscanner
« Reply #9 on: November 06, 2014, 08:05:26 am »
I'm not trolling, I'm just don't know English enough to express thoughts. I'll try to explain my position. Sorry for my illiteracy.
I'm not using AV since 2006 and I have no viruses. Because I know how to use PC. But I know many people who use AV, and then they call me "Ilia, please help, there are the virus in our computer!!!". Because AV is not panacea.
My opinion - AV is needed only in company's computers where do the work of many different people. On home PC AV - is useless trouble.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Antivirusscanner
« Reply #10 on: November 06, 2014, 10:52:59 am »
Thanks for the elaboration, ChronicRat :)

eXpl0it3r has summarized the problematic nicely in my opinion. A common misconception is that anti-virus can protect everything and compensate for careless behavior (like installing arbitrary executables).

I'm not using AV since 2006 and I have no viruses.
How do you know? Even with anti-virus software many viruses are not recognized, so how can you be so certain if you have no techniques to detect viruses whatsoever?

Virus patterns have changed a lot over the last years. Around 2000, they were mainly annoying, with pop-ups, forced restarts, deleted files etc. Over time, criminal organizations have started to develop them systematically and led to the emergence of a whole new industrial sector. Today, many viruses and trojans are very subtle -- they can even be inactive for years and waiting for orders. Botnets for example can be a lucrative business, since you can make money with other people's resources (processor time, network bandwidth, clean IP addresses) and the originators are very difficult to track. It is therefore wrong to believe that a system is clean just because the user (!) recognizes no noticeable behavior.

But surfing on questionable websites and executing untrustable files is just one side of the medal. Every software you use, including the operating system itself, contains security vulnerabilities. These are regularly exploited to introduce malware (even if a personal computer may be a less interesting target than a central company server), zero-day exploits are even traded for millions of dollars.

To sum up, there are several widespread fallacies:
  • Anti-virus software protects everything
  • I see no suspicious behavior, therefore I have no virus
  • I am careful, therefore I have no virus
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

ChronicRat

  • Sr. Member
  • ****
  • Posts: 327
  • C++ programmer
    • View Profile
    • My blog
Re: Antivirusscanner
« Reply #11 on: November 06, 2014, 11:04:56 am »
How do you know? Even with anti-virus software many viruses are not recognized, so how can you be so certain if you have no techniques to detect viruses whatsoever?
Well, yes. I don't have viruses that show some sort of activity. I can detect viruses by strange processes, traffic leaks, system malfunction. By these parameters I have no viruses. =)

 

anything