小编Ala*_*ore的帖子

Py2Exe应用程序被Windows Defender标记为恶意软件; 该怎么办?

我在Python 2.x,PyQT4和MySQLdb中为我的公司编写了一个应用程序,并使用py2exe打包.

最近,我对应用程序进行了一些更新,将其移植到Python 3.4和PySide.我还删除了MySQLdb依赖项并添加了Requests.我用Python 3新推出的py2exe打包了这个.

突然间,我被Windows防御者标记为我的可执行文件是恶意软件.这是日志条目:

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
Run Code Online (Sandbox Code Playgroud)

所以我的问题是:

  • 为什么我被标记为恶意软件?我怎样才能确定原因?
  • 除了"允许"在需要部署的所有600多个工作站上进行此操作外,我该怎么办呢?
  • "检测类型:混凝土"是什么意思?

谢谢你的帮助.

更新:显然我在python3.4下使用py2exe编译的任何内容都会被识别出来.

我试过这个脚本:

import sys
import platform

print (sys.platform)
print ("".join(platform.uname))
Run Code Online (Sandbox Code Playgroud)

而这个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 …
Run Code Online (Sandbox Code Playgroud)

windows py2exe malware false-positive python-3.x

6
推荐指数
1
解决办法
2422
查看次数

标签 统计

false-positive ×1

malware ×1

py2exe ×1

python-3.x ×1

windows ×1