| ID | Technique | Tactic |
|---|---|---|
| T1053.005 | Scheduled Task | Execution |
| T1218.011 | Rundll32 | Persistence |
| T1486 | Data Encrypted for Impact | Privilege Escalation |
Detection: Cisco Secure Endpoint - Malware Family Cloud IOC Artifact
Description
This analytic detects Cisco Secure Endpoint Cloud IOC alerts associated with BadRabbit, DarkSide, ProLock, or Ryuk. It uses the IOC name supplied by Secure Endpoint, excludes Ryuk alerts that only search for a ransom note, and shows the observed command and file details in the finding. These matches can indicate ransomware-related execution, persistence, or note activity on the endpoint. Review the matched activity, related Behavioral Protection alerts, and file activity to confirm the malware family and impact.
Search
1`cisco_secure_endpoint`
2event_type="Cloud IOC"
3
4
5| spath path=cloud_ioc.short_description output=ioc_name
6
7
8| where ioc_name IN ("W32.BadRabbit.ioc","W32.DarksideRansomware.ioc","W32.Ransomware.ProLock.ioc","W32.RyukRansomware.ioc")
9
10
11| spath path=computer.connector_guid output=endpoint_guid
12
13| spath path=computer.hostname output=dest
14
15| spath path=cloud_ioc.description output=ioc_description
16
17| spath path=command_line.arguments output=process_command
18
19| spath path=file.file_name output=file_name
20
21| spath path=file.file_path output=file_path
22
23| spath path=file.identity.sha256 output=file_sha256
24
25
26| eval event_time=tonumber(coalesce(start_timestamp,timestamp))
27
28
29| where ioc_name!="W32.RyukRansomware.ioc"
30 OR lower(coalesce(file_name,""))="ryukreadme.lnk"
31 OR match(lower(coalesce(process_command,"")),"(echo
32|copy
33|move
34|set-content
35|out-file
36|new-item).{0,200}ryukreadme[.]html")
37
38
39| where isnotnull(endpoint_guid)
40 AND isnotnull(event_time)
41
42
43| eval ioc_family=case(
44 ioc_name="W32.BadRabbit.ioc","BadRabbit",
45 ioc_name="W32.DarksideRansomware.ioc","DarkSide",
46 ioc_name="W32.Ransomware.ProLock.ioc","ProLock",
47 ioc_name="W32.RyukRansomware.ioc","Ryuk"),
48 evidence_type=case(
49 ioc_name="W32.BadRabbit.ioc","task or file pattern",
50 ioc_name="W32.DarksideRansomware.ioc","DLL worker command",
51 ioc_name="W32.Ransomware.ProLock.ioc","task XML creation",
52 ioc_name="W32.RyukRansomware.ioc","ransom-note artifact"),
53 dest_short=mvindex(split(dest,"."),0),
54 evidence=if(len(coalesce(process_command,""))>0,process_command,coalesce(file_path,file_name)),
55 firstTime=event_time,
56 lastTime=event_time
57
58
59| table dest dest_short endpoint_guid ioc_family ioc_name evidence_type evidence
60 process_command file_name file_path file_sha256 ioc_description
61 firstTime lastTime
62
63| `security_content_ctime(firstTime)`
64
65| `security_content_ctime(lastTime)`
66
67| `cisco_secure_endpoint___malware_family_cloud_ioc_artifact_filter`
Data Source
| Name | Platform | Sourcetype | Source |
|---|---|---|---|
| Cisco Secure Endpoint Cloud IOC | Other | 'cisco:se' |
'not_applicable' |
Macros Used
| Name | Value |
|---|---|
| cisco_secure_endpoint | sourcetype="cisco:se" |
| cisco_secure_endpoint___malware_family_cloud_ioc_artifact_filter | search * |
cisco_secure_endpoint___malware_family_cloud_ioc_artifact_filter is an empty macro by default. It allows the user to filter out any results (false positives) without editing the SPL.
Annotations
Default Configuration
This detection is configured by default in Splunk Enterprise Security to run with the following settings:
| Setting | Value |
|---|---|
| Disabled | true |
| Cron Schedule | 0 * * * * |
| Earliest Time | -70m@m |
| Latest Time | -10m@m |
| Schedule Window | auto |
| Creates Finding (Notable) | Yes |
| Rule Title | %name% |
| Rule Description | %description% |
| Notable Event Fields | user, dest |
| Creates Intermediate Finding (Risk Event) | No |
Implementation
This search requires Cisco Secure Endpoint Cloud IOC alerts, which include event_type="Cloud IOC".
This search uses an input macro named cisco_secure_endpoint.
We strongly recommend that you specify your environment-specific configurations (index, source, sourcetype, etc.) for Cisco Secure Endpoint Cloud IOC alerts.
Replace the macro definition with configurations for your Splunk environment.
The cloud_ioc.short_description field identifies the matched IOC used by this search.
The search also uses a post-filter macro designed to filter out known false positives.
The logs are to be ingested using the Cisco Security Cloud App for Splunk (https://splunkbase.splunk.com/app/7404).
Known False Positives
A matching command or filename can be reproduced without malware, including during security testing. The Ryuk IOC can match a command searching for its ransom note; this analytic excludes that case. A DarkSide-style rundll32 command can be observed even when the DLL fails to load. The Cloud IOC file path and hash may identify the process that raised the alert rather than a malware payload. Confirm the file or command context, approved testing, and independent ransomware activity before declaring an infection.
Associated Analytic Story
Finding
| Title | Entity Field | Entity Type | Risk Score |
|---|---|---|---|
| Cloud IOC match for $ioc_family$ ransomware based on $evidence_type$ on $dest_short$ | dest | system | 50 |
Threat Objects
| Field | Type |
|---|---|
| process_command | command |
References
Detection Testing
| Test Type | Status | Dataset | Source | Sourcetype |
|---|---|---|---|---|
| Validation | ✅ Passing | N/A | N/A | N/A |
| Unit | ✅ Passing | Dataset | not_applicable |
cisco:se |
| Integration | ✅ Passing | Dataset | not_applicable |
cisco:se |
Replay any dataset to Splunk Enterprise by using our replay.py tool or the UI.
Alternatively you can replay a dataset into a Splunk Attack Range
Source: GitHub |
Version: 1