Files
splunk-security_content/detections/endpoint/create_remote_thread_in_shell_application.yml
2022-03-09 14:43:09 +01:00

65 lines
2.1 KiB
YAML

name: Create Remote Thread In Shell Application
id: 10399c1e-f51e-11eb-b920-acde48001122
version: 1
date: '2021-08-04'
author: Teoderick Contreras, Splunk
type: TTP
datamodel:
- Endpoint
description: This search is to detect suspicious process injection in command shell.
This technique was seen in IcedID where it execute cmd.exe process to inject its
shellcode as part of its execution as banking trojan. It is really uncommon to have
a create remote thread execution in the following application.
search: '`sysmon` EventCode=8 TargetImage IN ("*\\cmd.exe", "*\\powershell*") | stats
count min(_time) as firstTime max(_time) as lastTime by TargetImage TargetProcessId
SourceProcessId EventCode StartAddress SourceImage Computer | `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` | `create_remote_thread_in_shell_application_filter`'
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: unknown
references:
- https://thedfirreport.com/2021/07/19/icedid-and-cobalt-strike-vs-antivirus/
tags:
analytic_story:
- IcedID
confidence: 100
context:
- Source:Endpoint
- Stage:Defense Evasion
dataset:
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/icedid/simulated_icedid/windows-sysmon.log
impact: 70
kill_chain_phases:
- Exploitation
message: process $SourceImage$ create a remote thread to shell app process $TargetImage$
in host $Computer$
mitre_attack_id:
- T1055
observable:
- name: Computer
type: Hostname
role:
- Victim
- name: SourceImage
type: Process
role:
- Attacker
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- SourceImage
- TargetImage
- TargetProcessId
- SourceProcessId
- StartAddress
- EventCode
- Computer
risk_score: 70
security_domain: endpoint
asset_type: Endpoint