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.
#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.
#3 Jokyboy129
I already set an exeption for Defender, however I want to publish it int the future.
#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
#5 Jokyboy129
PyInstaller does not work for this program for whatever reason. Compiled it again and now it works.
#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.
#7 Jokyboy129
OK, thanks, I fixed it. While compiling Nuitka destroyed something in the Exe header that triggered it. Thanks for your help.
#8 ferre
nice, you got it fixed. Your program sounds pretty good.
#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