Files
splunk-security_content/detections/endpoint/common_ransomware_notes.yml
2024-06-05 21:05:06 +00:00

78 lines
2.9 KiB
YAML

name: Common Ransomware Notes
id: ada0f478-84a8-4641-a3f1-d82362d6bd71
version: 5
date: '2024-05-22'
author: David Dorsey, Splunk
status: production
type: Hunting
description: The following analytic detects the creation of files with names commonly
associated with ransomware notes. It leverages file-system activity data from the
Endpoint Filesystem data model, typically populated by endpoint detection and response
(EDR) tools or Sysmon logs. This activity is significant because ransomware notes
indicate a potential ransomware attack, which can lead to data encryption and extortion.
If confirmed malicious, this activity could result in significant data loss, operational
disruption, and financial impact due to ransom demands.
data_source:
- Sysmon EventID 11
search: '| tstats `security_content_summariesonly` count min(_time) as firstTime max(_time)
as lastTime values(Filesystem.user) as user values(Filesystem.dest) as dest values(Filesystem.file_path)
as file_path from datamodel=Endpoint.Filesystem by Filesystem.file_name | `drop_dm_object_name(Filesystem)`
| `security_content_ctime(lastTime)` | `security_content_ctime(firstTime)` | `ransomware_notes`
| `common_ransomware_notes_filter`'
how_to_implement: You must be ingesting data that records file-system activity from
your hosts to populate the Endpoint Filesystem data-model node. This is typically
populated via endpoint detection-and-response product, such as Carbon Black, or
via other endpoint data sources, such as Sysmon. The data used for this search is
typically generated via logs that report file-system reads and writes.
known_false_positives: It's possible that a legitimate file could be created with
the same name used by ransomware note files.
references: []
tags:
analytic_story:
- SamSam Ransomware
- Ransomware
- Ryuk Ransomware
- Clop Ransomware
- Chaos Ransomware
- LockBit Ransomware
- Rhysida Ransomware
asset_type: Endpoint
confidence: 100
impact: 90
message: A file - $file_name$ was written to disk on endpoint $dest$ by user $user$,
this is indicative of a known ransomware note file and should be reviewed immediately.
mitre_attack_id:
- T1485
observable:
- name: user
type: User
role:
- Victim
- name: dest
type: Hostname
role:
- Victim
- name: file_name
type: File Name
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- Filesystem.user
- Filesystem.dest
- Filesystem.file_path
- Filesystem.file_name
risk_score: 90
security_domain: endpoint
tests:
- name: True Positive Test
attack_data:
- data:
https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1485/ransomware_notes/windows-sysmon.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: xmlwineventlog