Techniques
Sample rules
Install New Package Via Winget Local Manifest
- source: sigma
- technicques:
- t1059
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