diff --git a/detections/endpoint/detect_remote_access_software_usage_file.yml b/detections/endpoint/detect_remote_access_software_usage_file.yml index a9d1005364..25292e24c2 100644 --- a/detections/endpoint/detect_remote_access_software_usage_file.yml +++ b/detections/endpoint/detect_remote_access_software_usage_file.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage File id: 3bf5541a-6a45-4fdc-b01d-59b899fff961 -version: 5 +version: 6 date: '2024-11-13' author: Steven Dick status: production @@ -54,6 +54,10 @@ drilldown_searches: by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' earliest_offset: $info_min_time$ latest_offset: $info_max_time$ +- name: Investigate files on $dest$ + search: '| from datamodel:Endpoint.Filesystem | search dest=$dest$ file_name=$file_name$' + earliest_offset: $info_min_time$ + latest_offset: $info_max_time$ rba: message: A file for known a remote access software [$file_name$] was created on $dest$ by $user$. @@ -67,6 +71,8 @@ rba: threat_objects: - field: file_name type: file_name + - field: signature + type: signature tags: analytic_story: - Insider Threat @@ -74,6 +80,7 @@ tags: - Ransomware - Gozi Malware - CISA AA24-241A + - Remote Monitoring and Management Software asset_type: Endpoint mitre_attack_id: - T1219 diff --git a/detections/endpoint/detect_remote_access_software_usage_fileinfo.yml b/detections/endpoint/detect_remote_access_software_usage_fileinfo.yml index 8286572d72..b1a9ef4f84 100644 --- a/detections/endpoint/detect_remote_access_software_usage_fileinfo.yml +++ b/detections/endpoint/detect_remote_access_software_usage_fileinfo.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage FileInfo id: ccad96d7-a48c-4f13-8b9c-9f6a31cba454 -version: 5 +version: 6 date: '2024-11-13' author: Steven Dick status: production @@ -47,6 +47,10 @@ drilldown_searches: | `security_content_ctime(lastTime)`' earliest_offset: $info_min_time$ latest_offset: $info_max_time$ +- name: Investigate processes on $dest$ + search: '| from datamodel:Endpoint.Processes| search dest=$dest$ process_name=$process_name$' + earliest_offset: $info_min_time$ + latest_offset: $info_max_time$ rba: message: A file attributes for known a remote access software [$process_name$] was detected on $dest$ @@ -54,15 +58,21 @@ rba: - field: dest type: system score: 25 + - field: user + type: user + score: 25 threat_objects: - field: process_name type: process_name + - field: signature + type: signature tags: analytic_story: - Insider Threat - Command And Control - Ransomware - Gozi Malware + - Remote Monitoring and Management Software asset_type: Endpoint mitre_attack_id: - T1219 diff --git a/detections/endpoint/detect_remote_access_software_usage_process.yml b/detections/endpoint/detect_remote_access_software_usage_process.yml index 8a5dfd6d64..e0417a4071 100644 --- a/detections/endpoint/detect_remote_access_software_usage_process.yml +++ b/detections/endpoint/detect_remote_access_software_usage_process.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage Process id: ffd5e001-2e34-48f4-97a2-26dc4bb08178 -version: 5 +version: 6 date: '2024-11-13' author: Steven Dick status: production @@ -59,6 +59,10 @@ drilldown_searches: by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' earliest_offset: $info_min_time$ latest_offset: $info_max_time$ +- name: Investigate processes on $dest$ + search: '| from datamodel:Endpoint.Processes| search dest=$dest$ process_name=$process_name$' + earliest_offset: $info_min_time$ + latest_offset: $info_max_time$ rba: message: A process for a known remote access software $process_name$ was identified on $dest$. @@ -72,6 +76,8 @@ rba: threat_objects: - field: process_name type: process_name + - field: signature + type: signature tags: analytic_story: - Insider Threat @@ -79,6 +85,7 @@ tags: - Ransomware - Gozi Malware - CISA AA24-241A + - Remote Monitoring and Management Software asset_type: Endpoint mitre_attack_id: - T1219 diff --git a/detections/endpoint/detect_remote_access_software_usage_registry.yml b/detections/endpoint/detect_remote_access_software_usage_registry.yml index 93e927f108..a757b157c9 100644 --- a/detections/endpoint/detect_remote_access_software_usage_registry.yml +++ b/detections/endpoint/detect_remote_access_software_usage_registry.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage Registry id: 33804986-25dd-43cf-bb6b-dc14956c7cbc -version: 2 +version: 3 date: '2025-01-10' author: Steven Dick status: production @@ -60,6 +60,7 @@ tags: - Ransomware - Gozi Malware - CISA AA24-241A + - Remote Monitoring and Management Software asset_type: Endpoint mitre_attack_id: - T1219 diff --git a/detections/network/detect_remote_access_software_usage_dns.yml b/detections/network/detect_remote_access_software_usage_dns.yml index e01bd31544..f7744a4f63 100644 --- a/detections/network/detect_remote_access_software_usage_dns.yml +++ b/detections/network/detect_remote_access_software_usage_dns.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage DNS id: a16b797d-e309-41bd-8ba0-5067dae2e4be -version: 5 +version: 6 date: '2024-11-15' author: Steven Dick status: production @@ -52,21 +52,28 @@ drilldown_searches: | `security_content_ctime(lastTime)`' earliest_offset: $info_min_time$ latest_offset: $info_max_time$ +- name: Investigate traffic to $query$ + search: '| from datamodel:Network_Resolution.DNS | search src=$src$ query=$query$' + earliest_offset: $info_min_time$ + latest_offset: $info_max_time$ rba: message: A domain for a known remote access software $query$ was contacted by $src$. risk_objects: - field: src type: system - score: 4 + score: 25 threat_objects: - field: query type: domain + - field: signature + type: signature tags: analytic_story: - Insider Threat - Command And Control - Ransomware - CISA AA24-241A + - Remote Monitoring and Management Software asset_type: Endpoint mitre_attack_id: - T1219 diff --git a/detections/network/detect_remote_access_software_usage_traffic.yml b/detections/network/detect_remote_access_software_usage_traffic.yml index aeb0b45f21..526fe6f906 100644 --- a/detections/network/detect_remote_access_software_usage_traffic.yml +++ b/detections/network/detect_remote_access_software_usage_traffic.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage Traffic id: 885ea672-07ee-475a-879e-60d28aa5dd42 -version: 5 +version: 6 date: '2024-11-15' author: Steven Dick status: production @@ -52,6 +52,10 @@ drilldown_searches: | `security_content_ctime(lastTime)`' earliest_offset: $info_min_time$ latest_offset: $info_max_time$ +- name: Investigate application traffic for $app$ + search: '| from datamodel:Network_Traffic.All_Traffic | search src=$src$ app=$app$' + earliest_offset: $info_min_time$ + latest_offset: $info_max_time$ rba: message: Application traffic for a known remote access software [$signature$] was detected from $src$. @@ -59,12 +63,18 @@ rba: - field: src type: system score: 25 - threat_objects: [] + - field: user + type: user + score: 25 + threat_objects: + - field: signature + type: signature tags: analytic_story: - Insider Threat - Command And Control - Ransomware + - Remote Monitoring and Management Software asset_type: Network mitre_attack_id: - T1219 diff --git a/detections/web/detect_remote_access_software_usage_url.yml b/detections/web/detect_remote_access_software_usage_url.yml index 4e51d42198..6f186e9379 100644 --- a/detections/web/detect_remote_access_software_usage_url.yml +++ b/detections/web/detect_remote_access_software_usage_url.yml @@ -1,6 +1,6 @@ name: Detect Remote Access Software Usage URL id: 9296f515-073c-43a5-88ec-eda5a4626654 -version: 6 +version: 7 date: '2024-11-15' author: Steven Dick status: production @@ -52,6 +52,10 @@ drilldown_searches: by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' earliest_offset: $info_min_time$ latest_offset: $info_max_time$ +- name: Investigate traffic to $url_domain$ + search: '| from datamodel:Web | search src=$src$ url_domain=$url_domain$' + earliest_offset: $info_min_time$ + latest_offset: $info_max_time$ rba: message: A domain for a known remote access software $url_domain$ was contacted by $src$. @@ -65,12 +69,15 @@ rba: threat_objects: - field: url_domain type: domain + - field: signature + type: signature tags: analytic_story: - Insider Threat - Command And Control - Ransomware - CISA AA24-241A + - Remote Monitoring and Management Software asset_type: Network mitre_attack_id: - T1219 diff --git a/stories/remote_monitoring_and_management_software.yml b/stories/remote_monitoring_and_management_software.yml new file mode 100644 index 0000000000..f76cde7141 --- /dev/null +++ b/stories/remote_monitoring_and_management_software.yml @@ -0,0 +1,25 @@ +name: Remote Monitoring and Management Software +id: e405907a-273c-41c9-928c-768c9355c1f7 +version: 1 +date: '2025-01-14' +author: Steven Dick +status: production +description: |- + Fortify your remote access and unapproved software monitoring with searches that monitor for and help you investigate the use of unappoved or malicious remote monitoring and management softwares (RMM). +narrative: |- + Attackers can leverage a variety of 3rd party software to establish unapproved remote access or c2 channels to an enterprise network. Common techniques include the installation of these remote access software via channels via phishing, scam, or driveby malware compromise situations. While this Analytic Story is not a comprehensive listing of all RMM software it provides a useful starting point for well known indicators. + + Be sure to leverage the "RMM Software Tracking" dashboard provided with this story for a convienent way to vizualize RMM usage in your enviroment. +references: +- https://attack.mitre.org/techniques/T1219/ +- https://thedfirreport.com/2022/08/08/bumblebee-roasts-its-way-to-domain-admin/ +- https://thedfirreport.com/2022/11/28/emotet-strikes-again-lnk-file-leads-to-domain-wide-ransomware/ +tags: + category: + - Malware + - Adversary Tactics + product: + - Splunk Enterprise + - Splunk Enterprise Security + - Splunk Cloud + usecase: Security Monitoring