Files
splunk-security_content/detections/endpoint/process_execution_via_wmi.yml
2021-07-21 09:22:09 +02:00

74 lines
2.4 KiB
YAML

name: Process Execution via WMI
id: 24869767-8579-485d-9a4f-d9ddfd8f0cac
version: 4
date: '2020-03-16'
author: Rico Valdez, Michael Haag, Splunk
type: TTP
datamodel:
- Endpoint
description: The following analytic identifies `WmiPrvSE.exe` spawning a process.
This typically occurs when a process is instantiated from a local or remote process
using `wmic.exe`. During triage, review parallel processes for suspicious behavior
or commands executed. Review the process and command-line spawning from `wmiprvse.exe`.
Contain and remediate the endpoint as necessary.
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
as lastTime from datamodel=Endpoint.Processes where Processes.parent_process_name=WmiPrvSE.exe
by Processes.dest Processes.user Processes.parent_process Processes.process_name
Processes.process Processes.process_id Processes.parent_process_id | `drop_dm_object_name(Processes)`
| `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)` | `process_execution_via_wmi_filter` '
how_to_implement: You must be ingesting endpoint data that tracks process activity,
including parent-child relationships from your endpoints to populate the Endpoint
data model in the Processes node. The command-line arguments are mapped to the "process"
field in the Endpoint data model.
known_false_positives: Although unlikely, administrators may use wmi to execute commands
for legitimate purposes.
references: []
tags:
analytic_story:
- Suspicious WMI Use
asset_type: Endpoint
automated_detection_testing: passed
cis20:
- CIS 3
- CIS 5
confidence: 70
context:
- source:endpoint
- stage: Execution
dataset:
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1047/atomic_red_team/windows-sysmon.log
impact: 70
kill_chain_phases:
- Actions on Objectives
message: A remote instance execution of wmic.exe that will spawn $parent_process_name$
in host $dest$
mitre_attack_id:
- T1047
nist:
- PR.PT
- PR.AT
- PR.AC
- PR.IP
observable:
- name: dest
type: Hostname
role:
- Victim
- name: user
type: user
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- Processes.process
- Processes.parent_process_name
- Processes.user
- Processes.dest
- Processes.process_name
risk_score: 49
security_domain: endpoint