【发布时间】:2014-07-11 23:40:40
【问题描述】:
我有一个使用 Python 2.x、PyQT4 和 MySQLdb 为我的公司编写的应用程序,并使用 py2exe 打包。
最近,我对应用程序进行了一些更新,将其移植到 Python 3.4 和 PySide。我还删除了 MySQLdb 依赖项并添加了 Requests。我用新开发的 Python 3 py2exe 打包了它。
我突然被 Windows Defender 标记为我的可执行文件是恶意软件。这是日志条目:
Windows Defender has detected spyware or other potentially unwanted software.
For more information please see the following:
http://go.microsoft.com/fwlink/?linkid=37020&name=BrowserModifier:Win32/Zwangi&threatid=144384
Name:BrowserModifier:Win32/Zwangi
ID:144384
Severity:High
Category:Browser Modifier
Path Found:file:C:\Users\alan.moore\Desktop\ticketuserclient3-beta1\ticketuserclient3\Contact tech support.exe
Detection Type:Concrete
Detection Source:Downloads and attachments
Status:Unknown
User:WILLIAMSON-TN\alan.moore
Process Name:C:\Windows\Explorer.EXE
所以我的问题是:
- 为什么我被标记为恶意软件?如何确定具体原因?
- 除了在所有 600 多个工作站上“允许”它需要部署之外,我还能做些什么?
- “检测类型:具体”是什么意思?
感谢您的帮助。
更新:显然我在 python3.4 下使用 py2exe 编译的任何东西都会像这样被识别。
我试过这个脚本:
import sys
import platform
print (sys.platform)
print ("".join(platform.uname))
还有这个 setup.py
from distutils.core import setup
import os
import py2exe
setup(
windows=[{"script":"test.py", "dest_base":"Contact tech support"},],
options= {
"py2exe" : {
"compressed":1,
"optimize":2,
"bundle_files":3
}
},
zipfile = None
)
它被标记为恶意软件。 (Win32/Zwangi)。
【问题讨论】:
标签: windows python-3.x py2exe malware false-positive