Sigma rule: Registry Manipulation via WMI Stdregprov
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-d7fe751b0197, updated 2026-06-19T00:00:00.000Z.
Rule
- Title
- Registry Manipulation via WMI Stdregprov
- Status
- experimental
- Level
- medium
- Author
- Daniel Koifman (KoifSec)
- Date
- 2025-07-30
- Modified
- 2026-06-19
- File
- rules/windows/process_creation/proc_creation_win_wmic_stdregprov_reg_modification.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects the usage of wmic.exe to modify Windows registry via the WMI StdRegProv class write methods (CreateKey, DeleteKey, SetStringValue, etc.).
This behaviour could be potentially suspicious because it uses an alternative method to modify registry keys instead of legitimate registry tools like reg.exe or regedit.exe.
Attackers specifically choose this technique to evade detection and bypass security monitoring focused on traditional registry modification commands.
Log source
- product
- windows
- category
- process_creation
Detection
selection_img: # Example command simulated: WMIC /NameSpace:\\root\default Class StdRegProv Call CreateKey sSubKeyName=""SOFTWARE\Policies\DeleteMe""
- Image|endswith: '\wmic.exe'
- OriginalFileName: 'wmic.exe'
selection_cli:
CommandLine|contains|all:
- 'stdregprov'
- 'call'
CommandLine|contains:
- 'CreateKey'
- 'DeleteKey'
- 'DeleteValue'
- 'SetBinaryValue'
- 'SetDWORDValue'
- 'SetExpandedStringValue'
- 'SetMultiStringValue'
- 'SetQWORDValue'
- 'SetSecurityDescriptor'
- 'SetStringValue'
condition: all of selection_*False positives (as the rule lists them)
- Legitimate administrative activity
Tags
- attack.execution
- attack.t1047
- attack.persistence
- attack.defense-impairment
- attack.t1112
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.bitdefender.com/en-us/blog/businessinsights/shrinklocker-decryptor-from-friend-to-foe-and-back-again
- 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_modification.yml
Sources and licences
SigmaHQ
"Registry Manipulation via WMI Stdregprov" by Daniel Koifman (KoifSec) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_wmic_stdregprov_reg_modification.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 Manipulation via WMI Stdregprov",
entity page, dataset version ref-d7fe751b0197, updated 2026-06-19T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c453ab7a-1f5c-4716-a3b4-dea8135fb43a (accessed 2026-11-03).
Underlying source: SigmaHQ rule c453ab7a-1f5c-4716-a3b4-dea8135fb43a, 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.