Detectionmediumexperimental

Registry Manipulation via WMI Stdregprov

Detects the usage of wmic.exe to manipulate Windows registry via the WMI StdRegProv class. 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.

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Daniel Koifman (KoifSec)Created Wed Jul 30c453ab7a-1f5c-4716-a3b4-dea8135fb43awindows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
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:
            - 'call'
            - 'stdregprov'
    condition: all of selection_*
False Positives

Legitimate administrative activity

Rule Metadata
Rule ID
c453ab7a-1f5c-4716-a3b4-dea8135fb43a
Status
experimental
Level
medium
Type
Detection
Created
Wed Jul 30
Path
rules/windows/process_creation/proc_creation_win_wmic_stdregprov_reg_modification.yml
Raw Tags
attack.persistenceattack.executionattack.defense-evasionattack.discoveryattack.t1047attack.t1112attack.t1012
View on GitHub