1200kmSECURITY RESEARCH

1200KM / sigma-rule

NewActiveScriptEventConsumer Creation Attempt via Wmic.EXE — Sigma Rule

Sigma rule ebef4391-1a81-4761-a40a-1db446c0e625. NewActiveScriptEventConsumer Creation Attempt via Wmic.EXE — Sigma Rule. Detects the attempt to create an ActiveScriptEventConsumer via WMIC.EXE. An ActiveScriptEventConsumer is a built-in Windows Management Instrumentation (WMI) class that automatically executes a predefined script (in VBScript or JScript) whenever a specific system event occurs. Adversaries often abuse ActiveScriptEventConsumer to maintain persistence on a compromised host by executing a malicious script whenever a specific event occurs.

Rule metadata and linked tags

Author: Florian Roth (Nextron Systems). Source status: test; severity: high. Source dates: 2021-06-25 / 2026-06-19.

{
  "category": "process_creation",
  "product": "windows"
}

Pinned original Sigma rule · Detection Rule License 1.1

Source SHA-256: 7ec9e93adcedd77b59b275e0d9615efc8bc0bdcb1b37e5920baa847b4fc1a03c

Detection logic

Original source YAML. Source-tag agreement is not proof of complete semantic coverage. This rule has not been compiled for a SIEM backend or validated against live telemetry here.

title: NewActiveScriptEventConsumer Creation Attempt via Wmic.EXE
id: ebef4391-1a81-4761-a40a-1db446c0e625
status: test
description: |
    Detects the attempt to create an ActiveScriptEventConsumer via WMIC.EXE.
    An ActiveScriptEventConsumer is a built-in Windows Management Instrumentation (WMI) class that
    automatically executes a predefined script (in VBScript or JScript) whenever a specific system event occurs.
    Adversaries often abuse ActiveScriptEventConsumer to maintain persistence on a compromised host by executing a malicious script whenever a specific event occurs.
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: 2026-06-19
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1546.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - OriginalFileName: 'wmic.exe'
        - Image|endswith: '\WMIC.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'ActiveScriptEventConsumer'
            - ' CREATE '
    condition: all of selection_*
falsepositives:
    - Legitimate software creating script event consumers
level: high

Original YAML and metadata in JSON

False positives

  • Legitimate software creating script event consumers

Source references

Connected ecosystem references

Exact source-tagged techniques

Telemetry review

Read the original logsource above, then inspect the linked detection workspaces for technique-level sensor context. No per-rule telemetry equivalence is inferred.

Pinned research references. No browser attack runner, live simulation result or validated detector is asserted. Source mappings and validation limits are preserved. ATT&CK / Atomic provenance · Detection provenance.