Windows Defender detecting Python EXE as Trojan

倾然丶 夕夏残阳落幕 提交于 2020-01-05 06:26:11

问题


I made a Python script that mails a Windows directory as zip to me. I added a scheduler using sched module that repeats this every hour.

I was attempting to make a simple sync application for personal use that starts at Windows Startup.

I converted it to exe using pyinstaller --onefile argument and it worked flawlessly. But after couple of days Windows defender (Windows Security Centre of Windows 10) detected it as Trojan.

This issue is not limited to Windows Security Centre, A quick scan on Virus Total says 4 antivirus detects it as Trojan.

What brings the Antiviruses to think this? I don't think sharing the code is any use as proper details have already been given, but still a comment would make me do it.


回答1:


It must be a something else that made Windows Defender suddenly think it's bad. Maybe it's an update, try updating it.



来源:https://stackoverflow.com/questions/54730851/windows-defender-detecting-python-exe-as-trojan

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!