Sigma rule: Registry Enumeration via WMI Stdregprov
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-07a63de23c3a, updated 2026-06-19T00:00:00.000Z.
Rule
- Title
- Registry Enumeration via WMI Stdregprov
- Status
- experimental
- Level
- medium
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2025-07-30
- Modified
- 2026-06-19
- File
- rules/windows/process_creation/proc_creation_win_wmic_stdregprov_reg_enumeration.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the usage of wmic.exe to enumerate or read Windows registry via the WMI StdRegProv class read methods (EnumKey, EnumValues, GetStringValue, etc.).
While registry reads are common, attackers may use this technique to perform reconnaissance and discover sensitive configuration values, credentials, or installed software.
The use of WMI as an alternative to standard tools like reg.exe can indicate an attempt to evade detection focused on traditional registry query commands.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img: # Example command simulated: WMIC /NameSpace:\\root\default Class StdRegProv Call EnumKey hDefKey=&H80000002 sSubKeyName="Software\Microsoft\Windows\CurrentVersion\Uninstall"
- Image|endswith: '\wmic.exe'
- OriginalFileName: 'wmic.exe'
selection_cli:
CommandLine|contains|all:
- 'stdregprov'
- 'call'
CommandLine|contains:
- 'CheckAccess'
- 'EnumKey'
- 'EnumValues'
- 'GetBinaryValue'
- 'GetDWORDValue'
- 'GetExpandedStringValue'
- 'GetMultiStringValue'
- 'GetQWORDValue'
- 'GetSecurityDescriptor'
- 'GetStringValue'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate administrative activity
Tags
- attack.execution
- attack.t1047
- attack.discovery
- attack.t1012
MITRE ATT&CK ids this rule names
Related rules
References
- https://trustedsec.com/blog/command-line-underdog-wmic-in-action
- https://trustedsec.com/blog/wmi-for-script-kiddies
- https://learn.microsoft.com/en-us/previous-versions/windows/desktop/regprov/stdregprov
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/process_creation/proc_creation_win_wmic_stdregprov_reg_enumeration.yml
Sources and licences
SigmaHQ
"Registry Enumeration via WMI Stdregprov" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_wmic_stdregprov_reg_enumeration.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: Registry Enumeration via WMI Stdregprov",
entity page, dataset version ref-07a63de23c3a, updated 2026-06-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/a0e417e2-2fa1-40da-b6d2-e094cd5e1191 (accessed 2026-11-03).
Underlying source: SigmaHQ rule a0e417e2-2fa1-40da-b6d2-e094cd5e1191, 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.