Add Insecure Download Source To Winget

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects usage of winget to add a new insecure (http) download source. Winget will not allow the addition of insecure sources, hence this could indicate potential suspicious activity (or typos)

Severity

Trouble

Rule Requirement

Criteria

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

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)