From 6d1fe61568613654024ad0806de5d84695d433ea Mon Sep 17 00:00:00 2001 From: Lou Stella Date: Mon, 12 Sep 2022 12:29:37 -0500 Subject: [PATCH 1/2] Adding _time --- .../high_process_termination_frequency.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/detections/endpoint/high_process_termination_frequency.yml b/detections/endpoint/high_process_termination_frequency.yml index b204013bde..9c9e85705c 100644 --- a/detections/endpoint/high_process_termination_frequency.yml +++ b/detections/endpoint/high_process_termination_frequency.yml @@ -1,22 +1,18 @@ name: High Process Termination Frequency id: 17cd75b2-8666-11eb-9ab4-acde48001122 -version: 1 +version: 2 date: '2021-03-16' author: Teoderick Contreras type: Anomaly datamodel: - Endpoint -description: This analytics are designed to indentify a high frequency of process - termination on a machine which is a common behavior of ransomware malware before - encrypting files. This technique is designed to avoid an exception error while accessing - (docs, images, database and etc..) in the infected machine for encryption. +description: This analytic is designed to identify a high frequency of process + termination events on a computer in a short period of time, which is a common behavior of ransomware malware before encrypting files. This technique is designed to avoid an exception error while accessing (docs, images, database and etc..) in the infected machine for encryption. search: '`sysmon` EventCode=5 |bin _time span=3s |stats values(Image) as proc_terminated - min(_time) as firstTime max(_time) as lastTime count by Computer EventCode ProcessID + min(_time) as firstTime max(_time) as lastTime count by _time Computer EventCode ProcessID | where count >= 15 | `security_content_ctime(firstTime)`| `security_content_ctime(lastTime)` | `high_process_termination_frequency_filter`' -how_to_implement: To successfully implement this search, you need to be ingesting - logs with the Image (process full path of terminated process) from your endpoints. - If you are using Sysmon, you must have at least version 6.0.4 of the Sysmon TA. +how_to_implement: To successfully implement this search, you need to be ingesting logs with the Image (process full path of terminated process) from your endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the Sysmon TA. known_false_positives: admin or user tool that can terminate multiple process. references: - https://www.mandiant.com/resources/fin11-email-campaigns-precursor-for-ransomware-data-theft From 8b7db54a680ee9a2eddbf85f01cabdbd9ef4554e Mon Sep 17 00:00:00 2001 From: Bhavin Patel Date: Wed, 14 Sep 2022 11:18:03 -0500 Subject: [PATCH 2/2] Update high_process_termination_frequency.yml --- detections/endpoint/high_process_termination_frequency.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detections/endpoint/high_process_termination_frequency.yml b/detections/endpoint/high_process_termination_frequency.yml index 9c9e85705c..4761de2a67 100644 --- a/detections/endpoint/high_process_termination_frequency.yml +++ b/detections/endpoint/high_process_termination_frequency.yml @@ -1,7 +1,7 @@ name: High Process Termination Frequency id: 17cd75b2-8666-11eb-9ab4-acde48001122 version: 2 -date: '2021-03-16' +date: '2022-09-14' author: Teoderick Contreras type: Anomaly datamodel: