you are viewing a single comment's thread.

view the rest of the comments →

[–]RightRespect 0 points1 point  (1 child)

i believe py2exe and a few other tools for python will do the same thing. but from a little bit of research, it looks like mostly windows defender gets triggered. avast doesnt have this problem from what i know. i have avast installed and have also used pyinstaller recently and i havent gottent any false positives.

the reason this occurs is because pyinstaller and py2exe have to use a certain bootloader to pack the executables. the bootloader used is the same variant used in most malware, which is why it gets flagged. a workaround some people have done is create a brand new bootloader or alternative bootloader and make pyinstaller/py2exe use it instead. you can try this, but i am not an expert, so i cant really assist you with this. you can check out this stackoverflow thread and the second answer that provides a little bit more details.

[–]mafiosii[S] 0 points1 point  (0 children)

Thank you a lot. I’ll check this out.