Skip to content

[Prometheus Bug]: NSI Fails to run Java detection script with Antivirus installed.  #202

@willgoerzen

Description

@willgoerzen

Contact Details

No response

What happened?

When installing Prometheus (and I assume other apps), Trellix (McAfee) blocks the detection script from running due to a suspicious double filename extension.

Looking at the NSI script, the temp name generated includes a .tmp extension, then when the script adds a .bat to the end of this, it ends up being [tempname].tmp.bat, which my antivirus doesn't seem to like.

Version

(Dev) 2021.12.03

What version of Windows are you seeing the problem on?

Windows 10 64-bit

Relevant log output

McAfee/Trellix Log: 
2023-06-22 17:24:06.110Z    |Activity|ApBl                |mfeesp                   |      9084|     27224|BOPAP               |XModuleEvents.cpp(851)                  | [DOMAINUSER] ran C:\Users\[DOMAINUSER]\Prometheus_2021.12.03.exe, which tried to access the file C:\Users\[DOMAINUSER]\AppData\Local\Temp\nsrA95F.tmp.bat, violating the rule "Suspicious Double File Extension Execution", and was blocked. For information about how to respond to this event, see KB85494.

Approvals Process

  • Testing For Issue
  • Executive Approval
  • Merge

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions