Detection rules › Kusto Query Language

Detecting Macro Invoking ShellBrowserWindow COM Objects

Source
upstream

'This query detects a macro invoking ShellBrowserWindow COM Objects evade naive parent/child Office detection rules.'

MITRE ATT&CK coverage

TacticTechniques
Lateral MovementT1021.003 Remote Services: Distributed Component Object Model

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: source

Event

Stage 2: where

and
  EventID eq "1"
  EventLog eq "Microsoft-Windows-Sysmon/Operational"

Stage 3: parse

Stage 4: where

and
  CommandLine match "{c08afd90-f2a1-11d1-8455-00a0c91f3880}"
  Image match "rundll32.exe"
  ParentImage match "svchost.exe"

Stage 5: parse

Stage 6: summarize

Stage 7: extend

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • {c08afd90-f2a1-11d1-8455-00a0c91f3880}
EventIDeq
  • 1 corpus 3 (splunk 3)
EventLogeq
  • Microsoft-Windows-Sysmon/Operational
Imagematch
  • rundll32.exe
ParentImagematch
  • svchost.exe