Windows WMIC Registry Changes via WMI StdRegProv Write Methods

Flags wmic.exe commands invoking WMI StdRegProv to create/delete keys or set registry values.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Daniel Koifman (KoifSec) (SigmaHQ), DRL 1.1
Published
2025-07-30
Updated
2026-07-30

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Priv Esc

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule identifies process executions of wmic.exe where the command line includes stdregprov, a call operation, and registry write actions such as CreateKey, DeleteKey, DeleteValue, and multiple Set*Value methods. Such activity matters because it uses WMI’s StdRegProv interface to manipulate registry data, which can bypass monitoring tuned to reg.exe or regedit.exe. It relies on process creation telemetry with Image/original filename matching for wmic.exe and command-line content capturing the StdRegProv call and method names.

Related detections9 linkedT1112 — drag to rearrange
Windows Registry Set: ServiceDll Path Ending with \CurrentControlSet\Services\wercplsupport\Parameters\ServiceDll
Windows Persistence Attempt via sc config or wmic COR_PROFILER (Blue Mockingbird)
Suspicious Registry Value under Console WindowsUpdates for C2 Storage
Suspicious Impacket Style Command Execution with ADMIN Share Output Redirect
Suspicious Office VBA Object Model Access Enabled via Registry (via registry_set)
Suspicious PowerShell Payload Staging in HKCU Printers Registry Key
Suspicious Rootkit Configuration Registry Keys (via registry_set)
Suspicious Disabling of Chromium App-Bound Encryption via Policy Registry Key (via registry_set)
Malicious Shadow Copy Deletion via WMIC via Process Creation (via process_creation)
Windows WMIC Registry Changes via WMI StdRegProv Write Methods
Pivot detection · T1112 · 9 related

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