Install New Package Via Winget Local Manifest

Last updated on:

About the rule

Rule Type

Standard

Rule 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.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND (PROCESSNAME endswith "\winget.exe" OR ORIGINALFILENAME = "winget.exe") AND COMMANDLINE contains "install, add " AND COMMANDLINE contains "-m ,--manifest" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Sreeman, Florian Roth (Nextron Systems), frack113