Merge pull request #1688 from splunk/remcos_registry

Remcos registry
This commit is contained in:
Bhavin Patel
2021-09-30 11:11:53 -07:00
committed by GitHub
2 changed files with 68 additions and 0 deletions
@@ -0,0 +1,56 @@
name: Remcos client registry install entry
id: f2a1615a-1d63-11ec-97d2-acde48001122
version: 1
date: '2021-09-24'
author: Bhavin Patel, Rod Soto, Splunk
type: TTP
datamodel:
- Endpoint
description: This search detects registry key license at host where Remcos RAT agent
is installed.
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
as lastTime values(Registry.registry_path) as registry_path FROM datamodel=Endpoint.Registry
where (Registry.registry_key_name=*\\Software\\Remcos*) by Registry.dest Registry.user
Registry.registry_key_name Registry.process_id| `drop_dm_object_name(Registry)`
| `security_content_ctime(lastTime)` | `security_content_ctime(firstTime)`|`remcos_client_registry_install_entry_filter`'
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 `Registry` node. Also make sure
that this registry was included in your config files ex. sysmon config to be monitored.
known_false_positives: unknown
references:
- https://attack.mitre.org/software/S0332/
tags:
analytic_story:
- Remcos
dataset:
- https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/remcos/remcos_panel_client/remcos_registry_entry.log
kill_chain_phases:
- Exploitation
mitre_attack_id:
- T1112
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- Registry.registry_path
- Registry.registry_key_name
- Registry.process_id
- Registry.dest
- Registry.user
security_domain: endpoint
impact: 90
confidence: 100
risk_score: 90
context:
- Source:Endpoint
message: A registry entry $registry_path$ with registry keyname $registry_key_name$
related to Remcos RAT in host $dest$
observable:
- name: dest
type: Hostname
role:
- Victim
automated_detection_testing: passed
@@ -0,0 +1,12 @@
name: Remcos client registry install entry Unit Test
tests:
- name: Remcos client registry install entry
file: endpoint/remcos_client_registry_install_entry.yml
pass_condition: '| stats count | where count > 0'
earliest_time: '-15d'
latest_time: 'now'
attack_data:
- file_name: remcos_registry_entry.log
data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/remcos/remcos_panel_client/remcos_registry_entry.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: xmlwineventlog