LoFP LoFP / some false positives are expected in some environment that may use this functionality to install and test their custom applications

Techniques

Sample rules

Install New Package Via Winget Local Manifest

Description

Detects usage of winget to install applications via manifest file. Adversaries can abuse winget to download payloads remotely and execute them. The manifest option enables you to install an application by passing in a YAML file directly to the client. Winget can be used to download and install exe, msi or msix files later.

Detection logic

condition: all of selection_*
selection_img:
- Image|endswith: \winget.exe
- OriginalFileName: winget.exe
selection_install_flag:
  CommandLine|contains:
  - install
  - ' add '
selection_manifest_flag:
  CommandLine|contains:
  - '-m '
  - --manifest