From b23dbeed086ac52150131ceedcc02fc8d330dd22 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 15 Sep 2021 16:00:56 +0000 Subject: [PATCH] Added detection testing service results inNon Firefox Process Access Firefox Profile Dir --- ...fox_process_access_firefox_profile_dir.yml | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/detections/endpoint/non_firefox_process_access_firefox_profile_dir.yml b/detections/endpoint/non_firefox_process_access_firefox_profile_dir.yml index b43dcc6bb4..df8db302a7 100644 --- a/detections/endpoint/non_firefox_process_access_firefox_profile_dir.yml +++ b/detections/endpoint/non_firefox_process_access_firefox_profile_dir.yml @@ -6,23 +6,24 @@ author: Teoderick Contreras, Splunk type: Anomaly datamodel: - Endpoint -description: This search is to detect an anomaly event of non-firefox process accessing the files in profile folder. - This folder contains all the sqlite database of the firefox browser related to users login, history, cookies and etc. - Most of the RAT, trojan spy as well as FIN7 jssloader try to parse the those sqlite database to collect information on the compromised host. - This SACL Event (4663) need to be enabled to tthe firefox profile directory to be eable to use this. - Since you monitoring this access to the folder a noise coming from firefox need to be filter and also sqlite db browser and explorer .exe to make this - detection more stable. -search: '`wineventlog_security` EventCode=4663 - NOT (process_name IN ("*\\firefox.exe", "*\\explorer.exe", "*sql*")) Object_Name="*\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles*" - | stats count min(_time) as firstTime max(_time) as lastTime - by Object_Name Object_Type process_name Access_Mask Accesses process_id EventCode dest user - | `security_content_ctime(firstTime)` - | `security_content_ctime(lastTime)` - | `non_firefox_process_access_firefox_profile_dir_filter`' +description: This search is to detect an anomaly event of non-firefox process accessing + the files in profile folder. This folder contains all the sqlite database of the + firefox browser related to users login, history, cookies and etc. Most of the RAT, + trojan spy as well as FIN7 jssloader try to parse the those sqlite database to collect + information on the compromised host. This SACL Event (4663) need to be enabled to + tthe firefox profile directory to be eable to use this. Since you monitoring this + access to the folder a noise coming from firefox need to be filter and also sqlite + db browser and explorer .exe to make this detection more stable. +search: '`wineventlog_security` EventCode=4663 NOT (process_name IN ("*\\firefox.exe", + "*\\explorer.exe", "*sql*")) Object_Name="*\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles*" + | stats count min(_time) as firstTime max(_time) as lastTime by Object_Name Object_Type + process_name Access_Mask Accesses process_id EventCode dest user | `security_content_ctime(firstTime)` + | `security_content_ctime(lastTime)` | `non_firefox_process_access_firefox_profile_dir_filter`' how_to_implement: To successfully implement this search, you must ingest Windows Security Event logs and track event code 4663. For 4663, enable "Audit Object Access" in Group Policy. Then check the two boxes listed for both "Success" and "Failure." -known_false_positives: other browser not listed related to firefox may catch by this rule. +known_false_positives: other browser not listed related to firefox may catch by this + rule. eferences: - https://www.fireeye.com/blog/threat-research/2018/08/fin7-pursuing-an-enigmatic-and-evasive-global-criminal-operation.html - https://attack.mitre.org/groups/G0046/ @@ -53,7 +54,6 @@ tags: security_domain: endpoint impact: 50 confidence: 70 - # (impact * confidence)/100 risk_score: 35 context: - Source:Endpoint @@ -67,4 +67,5 @@ tags: - name: user type: User role: - - Victim \ No newline at end of file + - Victim + automated_detection_testing: passed