Web Credential Access via Injected Browser
Description
Identifies a potentially injected browser process accessing the password store of commonly used web browsers. Adversaries may steal credentials from web browsers by reading files specific to the target browser.
Query · eql
sequence by process.entity_id with maxspan=1m
[process where event.action == "start" and process.name : ("msedge.exe", "chrome.exe") and process.args_count == 1]
[file where event.type == "access" and file.name : ("Local State", "Login Data", "Cookies") and
process.name : ("msedge.exe", "chrome.exe") and
process.thread.Ext.call_stack_summary : "ntdll.dll|kernelbase.dll|Unbacked" and
file.path :
("?:\\Users\\*\\AppData\\Local\\Google\\Chrome\\User Data\\Local State",
"?:\\Users\\*\\AppData\\Local\\Microsoft\\Edge\\User Data\\Local State",
"?:\\Users\\*\\AppData\\Local\\Google\\Chrome\\User Data\\*\\Login Data",
"?:\\Users\\*\\AppData\\Local\\Microsoft\\Edge\\User Data\\*\\Login Data",
"?:\\Users\\*\\AppData\\Local\\Google\\Chrome\\User Data\\*\\Network\\Cookies",
"?:\\Users\\*\\AppData\\Local\\Microsoft\\Edge\\User Data\\*\\Network\\Cookies") and
not _arraysearch(process.thread.Ext.call_stack, $entry,
$entry.callsite_trailing_bytes :
("488906488bcb41ff542420488b064903e6eb17488bcb41ff5424384883f8087e06488b46f8eb034833c04883c420415e415c5f5e5bc300000000000000000000",
"4c8be8b9000000c04883f8ff0f85880000000f1045df660f73d804660f7ec38bc323c13bc1754041f6c401743a8b45834c8d4da7488b4d5f0fbaf31f48897424"))
]