Name:Cisco Secure Endpoint - Malware Family Cloud IOC Artifact id:6d2cd97c-33db-4335-86d1-09018085d578 version:1 date:None author:Nasreddine Bencherchali, Splunk status:production type:TTP 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. Data_source:
| where ioc_name!="W32.RyukRansomware.ioc" OR lower(coalesce(file_name,""))="ryukreadme.lnk" OR match(lower(coalesce(process_command,"")),"(echo|copy|move|set-content|out-file|new-item).{0,200}ryukreadme[.]html")
| where isnotnull(endpoint_guid) AND isnotnull(event_time)
how_to_implement: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. References: -https://docs.amp.cisco.com/en/SecureEndpoint/Secure%20Endpoint%20User%20Guide.pdf -https://attack.mitre.org/techniques/T1486/ -https://attack.mitre.org/techniques/T1053/005/ -https://attack.mitre.org/techniques/T1218/011/ drilldown_searches: name:'View BP Activity for - $dest$' search:'`cisco_secure_endpoint` event_type="Threat Detection"
| spath path=computer.connector_guid output=endpoint_guid
| search endpoint_guid="$endpoint_guid$"
| spath path=bp_data.details.sig_id output=sig_id
| spath path=bp_data.remediated output=remediated
| spath path=bp_data.audit output=bp_audit
| spath path=bp_data.details.actions{}.action output=bp_action
| spath path=bp_data.details.actions{}.status output=bp_action_status
| spath path=bp_data.details.matched_activity.events{0}.process:start.cmd_line output=process_command
| spath path=bp_data.details.matched_activity.events{0}.script:execution.cmd_line output=script_command
| eval observed_command=coalesce(process_command,script_command)
| table _time detection severity sig_id bp_audit bp_action bp_action_status remediated observed_command _raw
| sort - _time' earliest_offset:'7d' latest_offset:'0' name:'View Cloud IOC Activity for - $dest$' search:'`cisco_secure_endpoint` event_type="Cloud IOC"
| spath path=computer.connector_guid output=endpoint_guid
| search endpoint_guid="$endpoint_guid$"
| spath path=cloud_ioc.short_description output=ioc_name
| spath path=cloud_ioc.description output=ioc_description
| spath path=command_line.arguments output=process_command
| spath path=file.file_name output=file_name
| spath path=file.file_path output=file_path
| spath path=file.identity.sha256 output=file_sha256
| table _time ioc_name severity process_command file_name file_path file_sha256 ioc_description _raw
| sort - _time' earliest_offset:'7d' latest_offset:'0' name:'View risk events for the last 7 days for - "$dest$"' search:'| from datamodel Risk.All_Risk | search normalized_risk_object="$dest$" | stats count min(_time) as firstTime max(_time) as lastTime values(search_name) as "Search Name" values(risk_message) as "Risk Message" values(analyticstories) as "Analytic Stories" values(annotations._all) as "Annotations" by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' earliest_offset:'7d' latest_offset:'0' analytic_story:['Compromised Windows Host', 'Cisco Secure Endpoint - Correlated Threat Activity']