Author Topic: prevent distributable from being flagged as virus  (Read 2680 times)

0 Members and 1 Guest are viewing this topic.

Offline eflake

  • Newbie
  • Posts: 4
    • View Profile
prevent distributable from being flagged as virus
« on: May 10, 2021, 11:29:53 am »
I want to participate in an itch.io gamejam, but afraid most people will get that windows thing saying 'delete' or 'keep' option and have to click thru several things before you can actually run it.  Is there a way or tutorial to prevent this?

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: prevent distributable from being flagged as virus
« Reply #1 on: May 10, 2021, 11:57:23 am »
If I remember correctly, this is due to our EXEs not being digitally signed. This will happen with pretty much any distributed content from QB64. I think we can use Microsoft Sign Tool to sign it but I'm not sure about obtaining the certificate and whatnot.
Shuwatch!

Offline moises1953

  • Newbie
  • Posts: 55
    • View Profile
Re: prevent distributable from being flagged as virus
« Reply #2 on: May 26, 2021, 03:19:35 am »
May be this will be usefull:
In 'Settings - Update and security - For programmers', there is a 'programmer mode', normally deactivated, that allows you to install applications from any source, even individual files.

Offline euklides

  • Forum Regular
  • Posts: 128
    • View Profile
Re: prevent distributable from being flagged as virus
« Reply #3 on: May 26, 2021, 03:42:49 am »
Just so an idea...

When your program is finished, you open it as a random file.
You add at the end a control zone of 100 bytes for instance.
In this area you can for example copy the first bytes of your exe.
And/or the size of your exe...

In the body of your program you add a little routine that self-tests your exe: are my starting bytes same as in my control zone ? Is my size correct ? aso...

So you need:
- a routine of autotesting puted somewhere inside your exe
- an other program for creating the control zone.

The virus does not see the routine for auto-control. And so you can stop for instance the working of your program, show an alert message...

Why not yes ?