VeriKQL by Kaushik Saha

21 WmiEvent (WmiEventConsumerToFilter activity detected)

Sysmonchecked by code

Sysmon filter tag WmiEvent

In Microsoft Sentinel

  • Windows event logs (Azure Monitor Agent) → Event ✓ verified by VeriKQL
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID == 21
  • Windows Forwarded Events → WindowsEvent ✓ verified by VeriKQL
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID == 21

ATT&CK

MITRE cites this event for no technique in ATT&CK 20.0.

In Content Hub rules

Used by 1 Content Hub rule that filter for it the way the starter queries do: Event 1 · WindowsEvent 0

Rules that filter for it1

Content Hub rules at Azure-Sentinel 9ea9f7c that VeriKQL learns from (they bind cleanly, or are valid Defender XDR advanced hunting). A count of practice, not a recommendation.

In Sigma rules

No SigmaHQ rule names this event ID on this log outright.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

From Sysmon v15.22 (MicrosoftDocs/sysinternals@d46b5bf, CC-BY-4.0).

Event names, messages and categories are © Microsoft, from Microsoft Learn's documentation sources, used under CC BY 4.0; each page links its source and the commit it was read at. Questions, groupings and notes are VeriKQL's own.