Detection rules › Kusto Query Language

Midnight Blizzard - suspicious rundll32.exe execution of vbscript (Normalized Process Events)

Author
Yuval Naor
Source
upstream

'This query idenifies when rundll32.exe executes a specific set of inline VBScript commands References: https://www.microsoft.com/security/blog/2021/03/04/goldmax-goldfinder-sibot-analyzing-nobelium-malware/ To use this analytics rule, make sure you have deployed the ASIM normalization parsers'

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1547 Boot or Logon Autostart Execution
Privilege EscalationT1547 Boot or Logon Autostart Execution

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Sysmon5Process terminated
Security-Auditing4688A new process has been created.
Security-Auditing4689A process has exited.

Stages and Predicates

Stage 1: source

imProcessCreate

Stage 2: where

Process ends_with "rundll32.exe"

Stage 3: where

CommandLine match ["Execute", "RegRead", "window.close"]

Stage 4: project

Stage 5: extend

Stage 6: extend

Stage 7: extend

Stage 8: project-away

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
  • Execute
  • RegRead
  • window.close
Processends_with
  • rundll32.exe