Skip to content

[BUG] Windows 更新失败:企业 EDR(奇安信天擎)拦截 CLI shutdown helper 导致无法安装 #56

Description

@zfwmlgz163
  1. 现象:更新到 1.4.7 时弹窗 Flowix could not start the CLI shutdown helper. Close Flowix CLI and try the update again.
  2. 已排除:管理员运行、重启电脑、从 cmd/PowerShell 启动安装器、应用内更新 —— 全部失败
  3. 根因证据:安装器用 nsExec::ExecToLog 调用
powershell.exe -NoProfile -NonInteractive -WindowStyle Hidden -ExecutionPolicy Bypass \
  -File "$PLUGINSDIR\flowix-stop-cli.ps1" "$INSTDIR\flowix-cli.exe"

这组参数(-ExecutionPolicy Bypass + -WindowStyle Hidden + 从 Temp 执行)命中奇安信天擎规则 Risk/CRS.Autorun.Generic,判定为「PowerShell正在执行可疑脚本」,CreateProcess 被阻断 → nsExec 返回 error → 报错
4. 日志证据:C:\Program Files (x86)\QiAnXin\ifl\fcEng\defender\xdlog*.log 里有完整的 processchain 记录(Explorer → Flowix.exe → installer → powershell.exe)
5. 建议修复:把停 CLI 的逻辑内建进安装器(用 nsProcess 插件,或直接 CreateToolhelp32Snapshot + TerminateProcess),不要外挂 PowerShell 脚本;或至少不要同时使用 -ExecutionPolicy Bypass + -WindowStyle Hidden

以上为AI分析结果。我在国企网络环境下使用,强制安装了奇安信,无法停止,看日志确实拦截了Flowix的安装。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions