Sigma rule: Potential Suspicious Winget Package Installation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-690746b85d5c, updated 2023-04-18T00:00:00.000Z.

Rule

Title
Potential Suspicious Winget Package Installation
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-04-18
File
rules/windows/create_stream_hash/create_stream_hash_winget_susp_package_source.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects potential suspicious winget package installation from a suspicious source.

Log source

product
windows
category
create_stream_hash

Detection

selection:
    Contents|startswith: '[ZoneTransfer]  ZoneId=3'
    Contents|contains:
        # Note: Add any untrusted sources that are custom to your env
        - '://1'
        - '://2'
        - '://3'
        - '://4'
        - '://5'
        - '://6'
        - '://7'
        - '://8'
        - '://9'
    TargetFilename|endswith: ':Zone.Identifier'
    TargetFilename|contains: '\AppData\Local\Temp\WinGet\'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.persistence
  • attack.stealth

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/create_stream_hash/create_stream_hash_winget_susp_package_source.yml

Sources and licences

  • SigmaHQ

    "Potential Suspicious Winget Package Installation" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/create_stream_hash/create_stream_hash_winget_susp_package_source.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Suspicious Winget Package Installation",
entity page, dataset version ref-690746b85d5c, updated 2023-04-18T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a3f5c081-e75b-43a0-9f5b-51f26fe5dba2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a3f5c081-e75b-43a0-9f5b-51f26fe5dba2, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.