mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
66 lines
2.2 KiB
YAML
66 lines
2.2 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
|
|
status: production
|
|
type: TTP
|
|
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.
|
|
data_source:
|
|
- Sysmon Event ID 8
|
|
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
|
|
- Qakbot
|
|
asset_type: Endpoint
|
|
confidence: 100
|
|
impact: 70
|
|
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
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/icedid/simulated_icedid/windows-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|