Add Possible Suspicious New Download Source To Winget (via process_creation)

This rule detects use of winget to add new potentially anomalous download sources

SigmamediumWindowsv1
sigma
title: Add Possible Suspicious New Download Source To Winget (via process_creation)
id: e6868e8f-e979-501f-8c44-a806e4462579
status: stable
description: This rule detects use of winget to add new potentially anomalous download sources
references:
    - https://attack.mitre.org/techniques/T1059/
    - https://learn.microsoft.com/en-us/windows/package-manager/winget/source
    - https://github.com/nasbench/Misc-Research/tree/b9596e8109dcdb16ec353f316678927e507a5b8d/LOLBINs/Winget
author: Huntrule Team
date: 2026-06-16
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\winget.exe'
        - OriginalFileName: 'winget.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'source '
            - 'add '
    selection_source_direct_ip:
        CommandLine|re: '://\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.