From 55c5f297fc2fbfb77fc49a941559cc244bfc97de Mon Sep 17 00:00:00 2001 From: mvelazco Date: Thu, 23 Feb 2023 16:22:09 -0500 Subject: [PATCH] adding dataset for T1620 --- ...windows_common_language_runtime_loaded.yml | 54 +++++++++++++++++++ ...ws_common_language_runtime_loaded.test.yml | 13 +++++ 2 files changed, 67 insertions(+) create mode 100644 detections/endpoint/windows_common_language_runtime_loaded.yml create mode 100644 tests/endpoint/windows_common_language_runtime_loaded.test.yml diff --git a/detections/endpoint/windows_common_language_runtime_loaded.yml b/detections/endpoint/windows_common_language_runtime_loaded.yml new file mode 100644 index 0000000000..3a929487c6 --- /dev/null +++ b/detections/endpoint/windows_common_language_runtime_loaded.yml @@ -0,0 +1,54 @@ +name: Windows Common Language Runtime Loaded +id: aed3d140-5051-41d7-8fe9-af587700da4e +version: 1 +date: '2023-02-23' +author: Mauricio Velazco, Splunk +type: TTP +datamodel: [] +description: UPDATE_DESCRIPTION +search: ' `sysmon` EventCode=7 (ImageLoaded="*\\mscoreei.dll" OR ImageLoaded="*\\mscorlib.ni.dll" OR ImageLoaded="*\\amsi.dll") AND NOT (Image IN("C:\\Windows\\*", "C:\\Program File*", "%systemroot%\\*")) + | stats count min(_time) as firstTime max(_time) as lastTime by Image ImageLoaded Computer EventCode Signed ProcessId + | `security_content_ctime(firstTime)` + | `security_content_ctime(lastTime)` + | `windows_common_language_runtime_loaded_filter`' +how_to_implement: UPDATE_HOW_TO_IMPLEMENT +known_false_positives: UPDATE_KNOWN_FALSE_POSITIVES +references: +- REFERENCE +tags: + analytic_story: + - UPDATE_STORY_NAME + asset_type: UPDATE asset_type + cis20: + - CIS 3 + - CIS 5 + - CIS 16 + confidence: UPDATE value between 1-100 + context: + - Update context + dataset: + - UPDATE_DATASET_URL + impact: UPDATE value between 1-100 + kill_chain_phases: + - Weaponization + - Exploitation + - Installation + - Command & Control + message: UPDATE message + mitre_attack_id: + - T1003.002 + nist: + - DE.CM + observable: + - name: UPDATE + type: UPDATE + role: + - UPDATE + product: + - Splunk Enterprise + - Splunk Enterprise Security + - Splunk Cloud + required_fields: + - UPDATE + risk_score: UPDATE (impact * confidence)/100 + security_domain: endpoint diff --git a/tests/endpoint/windows_common_language_runtime_loaded.test.yml b/tests/endpoint/windows_common_language_runtime_loaded.test.yml new file mode 100644 index 0000000000..bcbc6d7af9 --- /dev/null +++ b/tests/endpoint/windows_common_language_runtime_loaded.test.yml @@ -0,0 +1,13 @@ +name: Windows Common Language Runtime Loaded Unit Test +tests: +- name: Windows Common Language Runtime Loaded + file: endpoint/windows_common_language_runtime_loaded.yml + pass_condition: '| stats count | where count > 0' + earliest_time: -24h + latest_time: now + attack_data: + - file_name: UPDATE + data: UPDATE + source: UPDATE + sourcetype: UPDATE + update_timestamp: true