mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
85 lines
3.0 KiB
YAML
85 lines
3.0 KiB
YAML
name: Windows Execute Arbitrary Commands with MSDT
|
|
id: e1d5145f-38fe-42b9-a5d5-457796715f97
|
|
version: 3
|
|
date: '2022-06-29'
|
|
author: Michael Haag, Teoderick Contreras, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: The following analytic identifies a recently disclosed arbitraty command
|
|
execution using Windows msdt.exe - a Diagnostics Troubleshooting Wizard. The sample
|
|
identified will use the ms-msdt:/ protocol handler to load msdt.exe to retrieve
|
|
a remote payload. During triage, review file modifications for html. Identify parallel
|
|
process execution that may be related, including an Office Product.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
CommandLine:
|
|
- '*msdt*'
|
|
- '*ms-msdt:*'
|
|
- '*ms-msdt:/id*'
|
|
- '*ms-msdt:-id*'
|
|
- '*/id*'
|
|
Image|endswith: msdt.exe
|
|
selection2:
|
|
CommandLine: '*IT_BrowseForFile='
|
|
selection3:
|
|
CommandLine: '*IT_RebrowseForFile='
|
|
condition: selection1 and selection2 or selection3
|
|
how_to_implement: To successfully implement this search you need to be ingesting information
|
|
on process that include the name of the process responsible for the changes from
|
|
your endpoints into the `Endpoint` datamodel in the `Processes` node. In addition,
|
|
confirm the latest CIM App 4.20 or higher is installed and the latest TA for the
|
|
endpoint product.
|
|
known_false_positives: False positives may be present, filter as needed. Added .xml
|
|
to potentially capture any answer file usage. Remove as needed.
|
|
references:
|
|
- https://isc.sans.edu/diary/rss/28694
|
|
- https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e
|
|
- https://twitter.com/nao_sec/status/1530196847679401984?s=20&t=ZiXYI4dQuA-0_dzQzSUb3A
|
|
- https://app.any.run/tasks/713f05d2-fe78-4b9d-a744-f7c133e3fafb/
|
|
- https://www.virustotal.com/gui/file/4a24048f81afbe9fb62e7a6a49adbd1faf41f266b5f9feecdceb567aec096784/detection
|
|
- https://strontic.github.io/xcyclopedia/library/msdt.exe-152D4C9F63EFB332CCB134C6953C0104.html
|
|
tags:
|
|
analytic_story:
|
|
- Microsoft Support Diagnostic Tool Vulnerability CVE-2022-30190
|
|
asset_type: Endpoint
|
|
confidence: 100
|
|
cve:
|
|
- CVE-2022-30190
|
|
impact: 100
|
|
message: A parent process $parent_process_name$ has spawned a child process $process_name$
|
|
on host $dest$ possibly indicative of indirect command execution.
|
|
mitre_attack_id:
|
|
- T1218
|
|
observable:
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
- name: parent_process_name
|
|
type: Process
|
|
role:
|
|
- Parent Process
|
|
- name: process_name
|
|
type: Process
|
|
role:
|
|
- Child Process
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 100
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1566.001/macro/msdt.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|
|
update_timestamp: true
|