← Back to SOC feed Coverage →

New ActiveScriptEventConsumer Created Via Wmic.EXE

sigma HIGH SigmaHQ
T1546.003
imProcessCreate
persistencewmi
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-05-23T23:00:00Z · Confidence: medium

Hunt Hypothesis

Detects WMIC executions in which an event consumer gets created. This could be used to establish persistence

Detection Rule

Sigma (Original)

title: New ActiveScriptEventConsumer Created Via Wmic.EXE
id: ebef4391-1a81-4761-a40a-1db446c0e625
status: test
description: Detects WMIC executions in which an event consumer gets created. This could be used to establish persistence
references:
    - https://twitter.com/johnlatwc/status/1408062131321270282?s=12
    - https://www.fireeye.com/content/dam/fireeye-www/global/en/current-threats/pdfs/wp-windows-management-instrumentation.pdf
author: Florian Roth (Nextron Systems)
date: 2021-06-25
modified: 2023-02-14
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1546.003
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - 'ActiveScriptEventConsumer'
            - ' CREATE '
    condition: selection
falsepositives:
    - Legitimate software creating script event consumers
level: high

KQL (Azure Sentinel)

imProcessCreate
| where TargetProcessCommandLine contains "ActiveScriptEventConsumer" and TargetProcessCommandLine contains " CREATE "

Required Data Sources

Sentinel TableNotes
imProcessCreateEnsure this data connector is enabled

False Positive Guidance

MITRE ATT&CK Context

References

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_wmic_eventconsumer_creation.yml