Detection rules › Splunk
Potential Follina_DogWalk Activity - mdst.exe (Sysmon)
CVE-2022-30190 (commonly referred to as Follina) and DogWalk involve a vulnerability in Microsoft Support Diagnostic Tool (msdt.exe). During exploitation, msdt.exe is observed loading the library file sdiageng.dll which can be abused by threat actors to download arbitrary code. This use case detects module loads of sdiageng.dll by msdt.exe. Sysmon event 7 is required for detection. LOLBINS\LOLBAS
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution |
References
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Sysmon | Event ID 7: Image loaded |
Rule body
id: '22480.40157'
title: Potential Follina_DogWalk Activity - mdst.exe
description: CVE-2022-30190 (commonly referred to as Follina) and DogWalk involve
a vulnerability in Microsoft Support Diagnostic Tool (msdt.exe). During exploitation,
msdt.exe is observed loading the library file sdiageng.dll which can be abused by
threat actors to download arbitrary code. This use case detects module loads of
sdiageng.dll by msdt.exe. Sysmon event 7 is required for detection. LOLBINS\LOLBAS
logic_format: Splunk
logic: '`get_endpoint_data` `get_endpoint_data_sysmon` (TERM(EventCode=7) OR "<EventID>7<")
Image="*\\msdt.exe" ImageLoaded="*\\sdiageng.dll" | table _time, host, user host,
process, process_*, parent_process_* | bin span=1s | stats values(*) as * by _time,
host '
techniques:
- execution:exploitation for client execution
technique_id:
- T1203
data_category:
- Windows Sysmon
references:
- https://www.securonix.com/blog/detecting-microsoft-msdt-dogwalk/
Stages and Predicates
Stage 1: search
`get_endpoint_data` `get_endpoint_data_sysmon` (TERM(EventCode=7) OR "<EventID>7<") Image="*\\msdt.exe" ImageLoaded="*\\sdiageng.dll"
Stage 2: table
| table _time, host, user host, process, process_*, parent_process_*
Stage 3: bucket
| bin span=1s
Stage 4: stats
| stats values(*) as * by _time, host
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
EventCode | eq |
| field:"EventID" kind:eq value:"7" |
Image | eq |
| field:"Image" kind:eq |
ImageLoaded | eq |
| field:"ImageLoaded" kind:eq |
Search terms
These SPL tokens match against raw event text.
| Stage | Term |
|---|---|
| 1 | "<EventID>7<" |