EltenLink

Windows defender flags my own program as Trojan

Wróć do Computers and Technology

#1 Jokyboy129

Hi, so I'm a beginner in programming. I just concluded with my first Program, audiotools. It is basically an app written in Python that lets you do various things with audio ffiles. However, after compiling it with Nuitka (PyInstaller gave error) every time the main exe file from the programm gets flagged as "Trojan32" by Windows Defender. I googled it up and couldn't find any useful information. Anyone here an idea what this might be? I suspect the way it got compiled, because the code is definitely not a virus.


Techtipps ist übersiedelt. Der Blog wurde auf die Wesite techtipps.rf.gd verlegt, da ich hier mehr Möglichkeiten zur Gestaltung der Posts habe. Schaut gerne vorbei.
2025-09-11 22:03

#2 thespyde

The best thing to do is to put the program in an exclusions folder. You can name the folder anything you want and then exclude it from Windows Defender's grasp.


Charles Wells
2025-09-12 10:21

#3 Jokyboy129

I already set an exeption for Defender, however I want to publish it int the future.


Techtipps ist übersiedelt. Der Blog wurde auf die Wesite techtipps.rf.gd verlegt, da ich hier mehr Möglichkeiten zur Gestaltung der Posts habe. Schaut gerne vorbei.
2025-09-12 17:54

#4 radiorobbe

Apparently Nuitka is known to cause problems with antivirus software. You could try compiling your program with Pyinstaller directly. Its performance may be a bit lower, but I haven't experienced any issues with antivirus software yet.

pyinstaller --onefile myprogram.py


Steffen
2025-09-12 19:07

#5 Jokyboy129

PyInstaller does not work for this program for whatever reason. Compiled it again and now it works.


Techtipps ist übersiedelt. Der Blog wurde auf die Wesite techtipps.rf.gd verlegt, da ich hier mehr Möglichkeiten zur Gestaltung der Posts habe. Schaut gerne vorbei.
2025-09-12 20:34

#6 thespyde

People may have to put your game in some kind of exclusion folder. I have two games in mine, both of which would become instantly unplayable if I didn't put them in there.


Charles Wells
2025-09-13 10:51

#7 Jokyboy129

OK, thanks, I fixed it. While compiling Nuitka destroyed something in the Exe header that triggered it. Thanks for your help.


Techtipps ist übersiedelt. Der Blog wurde auf die Wesite techtipps.rf.gd verlegt, da ich hier mehr Möglichkeiten zur Gestaltung der Posts habe. Schaut gerne vorbei.
2025-09-13 17:09

#8 ferre

nice, you got it fixed. Your program sounds pretty good.


The end
2025-09-15 16:02

#9 Jokyboy129

I will post a link in the next few weeks, as soon as everything is ready and set up. Currently it is German only, nand very buggy, so it wouldn't make any sence posting it in the English forum


Techtipps ist übersiedelt. Der Blog wurde auf die Wesite techtipps.rf.gd verlegt, da ich hier mehr Möglichkeiten zur Gestaltung der Posts habe. Schaut gerne vorbei.
2025-09-16 09:14