Results 1 to 5 of 5

Thread: Program detected as virus, and harmful

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2018
    Posts
    61

    Exclamation Program detected as virus, and harmful

    Hey!
    I made an installer, with some extra options, but its detected as a virus for microsoft(at virustotal.com, Trojan), and also harmful and virus by windows defender. What can I do to get rid of these? If anybody will use this, i don't want them to think about it's some virus, because its not. What could be wrong with my program? Thank you for all my helps. Project attached.
    If it helps: the program requires authentication level:highestAvailable
    Detection:Name:  virus.png
Views: 289
Size:  6.9 KB
    Last edited by Daveeed; Dec 16th, 2021 at 03:14 PM.

  2. #2
    Super Moderator Shaggy Hiker's Avatar
    Join Date
    Aug 2002
    Location
    Idaho
    Posts
    38,989

    Re: Program detected as virus, and harmful

    This site doesn't allow the attachment of compiled code. What you included was the entire install file. Anybody who clicked on that file would need to have their head examined. The file isn't necessary for the question, either.
    My usual boring signature: Nothing

  3. #3
    Fanatic Member 2kaud's Avatar
    Join Date
    May 2014
    Location
    England
    Posts
    996

    Re: Program detected as virus, and harmful

    This is a false positive. It's annoying. We have some internal written c++ code that similarly triggers virus warnings. As our code is only for internal use we just tell the virus scanner to treat these programs as the good guys.

    Possibly changing code ordering could make a difference as virus scanners are looking for code that matches signatures and also heuristically examining code for possible issues.
    All advice is offered in good faith only. You are ultimately responsible for the effects of your programs and the integrity of the machines they run on. Anything I post, code snippets, advice, etc is licensed as Public Domain https://creativecommons.org/publicdomain/zero/1.0/

    C++23 Compiler: Microsoft VS2022 (17.6.5)

  4. #4
    New Member
    Join Date
    Feb 2020
    Posts
    4

    Re: Program detected as virus, and harmful

    Why does a simple project get identified, and removed by antivirus software?
    I have a Label1. text = "HELLO"
    Label1.text.visible =false
    Button1 code = Label1.visible=true
    Very simple, but gives me a virus warning, then removes the .exe file to the quarantine folder.

  5. #5
    Addicted Member jg.sa's Avatar
    Join Date
    Nov 2017
    Location
    South Australia ( SA )
    Posts
    198

    Re: Program detected as virus, and harmful

    G'Day Daveeed

    Quote Originally Posted by Daveeed View Post
    I made an installer
    In my experience this is were it all went wrong !!!

    Don't have a setup.exe

    Have you image 'configure' if it is not in your std. folder structure in a root folder, not in M$s folders

    Then your app will be truly portable as well

    Just my 2c worth

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width