mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
75 lines
2.2 KiB
YAML
75 lines
2.2 KiB
YAML
name: Suspicious mshta child process
|
|
id: 60023bb6-5500-11eb-ae93-0242ac130002
|
|
version: 1
|
|
date: '2021-01-12'
|
|
author: Michael Haag, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: The following analytic identifies child processes spawning from "mshta.exe".
|
|
The search will return the first time and last time these command-line arguments
|
|
were used for these executions, as well as the target system, the user, parent process
|
|
"mshta.exe" and its child process.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
Image|endswith:
|
|
- cmd.exe
|
|
- powershell.exe
|
|
- wscript.exe
|
|
- cscript.exe
|
|
- scrcons.exe
|
|
- searchprotocolhost.exe
|
|
- microsoft.workflow.compiler.exe
|
|
- msbuild.exe
|
|
- colorcpl.exe
|
|
- powershell.exe
|
|
ParentImage: mshta.exe
|
|
condition: (selection1)
|
|
how_to_implement: To successfully implement this search, you need to be ingesting
|
|
logs with the process name, parent process, and command-line executions from your
|
|
endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the
|
|
Sysmon TA.
|
|
known_false_positives: Although unlikely, some legitimate applications may exhibit
|
|
this behavior, triggering a false positive.
|
|
references:
|
|
- https://github.com/redcanaryco/AtomicTestHarnesses
|
|
- https://redcanary.com/blog/introducing-atomictestharnesses/
|
|
tags:
|
|
analytic_story:
|
|
- Suspicious MSHTA Activity
|
|
- Living Off The Land
|
|
asset_type: Endpoint
|
|
confidence: 80
|
|
impact: 50
|
|
message: suspicious mshta child process detected on host $dest$ by user $user$.
|
|
mitre_attack_id:
|
|
- T1218
|
|
- T1218.005
|
|
observable:
|
|
- name: user
|
|
type: User
|
|
role:
|
|
- Victim
|
|
- name: dest
|
|
type: Endpoint
|
|
role:
|
|
- Victim
|
|
- name: parent_process
|
|
type: Process Name
|
|
role:
|
|
- Parent Process
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 40
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1218.005/atomic_red_team/windows-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|
|
update_timestamp: true
|