Sigma rule: Winget Admin Settings Modification
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-31c0537fb70f, updated 2023-08-17T00:00:00.000Z.
Rule
- Title
- Winget Admin Settings Modification
- Status
- test
- Level
- low
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2023-04-17
- Modified
- 2023-08-17
- File
- rules/windows/registry/registry_set/registry_set_winget_admin_settings_tampering.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects changes to the AppInstaller (winget) admin settings. Such as enabling local manifest installations or disabling installer hash checks
Log source
- product
- windows
- category
- registry_set
Detection
selection:
Image|endswith: '\winget.exe'
TargetObject|startswith: '\REGISTRY\A\'
TargetObject|endswith: '\LocalState\admin_settings'
condition: selectionFalse positives (as the rule lists them)
- The event doesn't contain information about the type of change. False positives are expected with legitimate changes
Tags
- attack.persistence
- attack.defense-impairment
References
- https://github.com/nasbench/Misc-Research/tree/b9596e8109dcdb16ec353f316678927e507a5b8d/LOLBINs/Winget
- https://github.com/microsoft/winget-cli/blob/02d2f93807c9851d73eaacb4d8811a76b64b7b01/src/AppInstallerCommonCore/Public/winget/AdminSettings.h#L13
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/registry/registry_set/registry_set_winget_admin_settings_tampering.yml
Sources and licences
SigmaHQ
"Winget Admin Settings Modification" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/registry/registry_set/registry_set_winget_admin_settings_tampering.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Winget Admin Settings Modification",
entity page, dataset version ref-31c0537fb70f, updated 2023-08-17T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/6db5eaf9-88f7-4ed9-af7d-9ef2ad12f236 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 6db5eaf9-88f7-4ed9-af7d-9ef2ad12f236, 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.