/
windows_credentials_from_password_stores_chrome_localstate_access.yml
68 lines (68 loc) · 2.94 KB
/
windows_credentials_from_password_stores_chrome_localstate_access.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Windows Credentials from Password Stores Chrome LocalState Access
id: 3b1d09a8-a26f-473e-a510-6c6613573657
version: 1
date: '2023-04-26'
author: Teoderick Contreras, Splunk
status: production
type: Anomaly
data_source:
- Windows Event Log Security 4663
description: This analytic is designed to detect non-chrome processes accessing the Chrome user data file called "local state."
This file contains important settings and information related to the browser's operations on the computer. Threat actors,
adversaries, and malware authors have been known to exploit this file in attempts to extract the encrypted master key used for
decrypting passwords saved in the Chrome browser. Detecting access to the "local state" file by non-chrome processes serves as
a valuable pivot for analyzing suspicious processes beyond the commonly observed chrome.exe and explorer.exe executables.
By monitoring for this anomaly, we can improve our ability to identify potential threats and safeguard sensitive information stored within the browser.
search: '`wineventlog_security` EventCode=4663 object_file_path="*\\AppData\\Local\\Google\\Chrome\\User Data\\Local State"
NOT (process_name IN ("*\\chrome.exe","*:\\Windows\\explorer.exe"))
| stats count min(_time) as firstTime max(_time) as lastTime by object_file_name object_file_path process_name process_path process_id EventCode dest
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `windows_credentials_from_password_stores_chrome_localstate_access_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: Uninstall chrome application may access this file and folder path to removed chrome installation in target host. Filter is needed.
references:
- https://malpedia.caad.fkie.fraunhofer.de/details/win.redline_stealer
tags:
analytic_story:
- RedLine Stealer
- Amadey
- Warzone RAT
- NjRAT
- DarkGate Malware
- Phemedrone Stealer
- Snake Keylogger
asset_type: Endpoint
confidence: 50
impact: 50
message: A non-chrome process $process_name$ accessing "Chrome\\User Data\\Local State" file on $dest$
mitre_attack_id:
- T1012
observable:
- name: dest
type: Endpoint
role:
- Victim
product:
- Splunk Enterprise
- Splunk Enterprise Security
- Splunk Cloud
required_fields:
- _time
- object_file_name
- object_file_path
- process_name
- process_path
- process_id
- EventCode
- dest
risk_score: 25
security_domain: endpoint
tests:
- name: True Positive Test
attack_data:
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/redline/chrome_local_state_simulate_access/redline-localstate-smalldata-xml.log
source: XmlWinEventLog:Security
sourcetype: XmlWinEventLog