Web Browser Credential Access via Scripting Utility
Description
Identifies an unexpected 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=5m
[process where event.action == "start" and
(
process.name : ("node.exe", "python*.exe", "wscript.exe", "mshta.exe", "AutoIt*.exe") or
process.code_signature.subject_name : ("AutoIt Consulting Ltd", "OpenJS Foundation", "The MathWorks, Inc.", "Python Software Foundation")
) and
not (process.name : "wscript.exe" and process.args : "\\\\*\\*") and
not process.executable :
("?:\\Program Files\\Microsoft SDKs\\Azure\\CLI2\\python.exe",
"?:\\Program Files\\Common Files\\Adobe\\Creative Cloud Libraries\\libs\\node.exe",
"?:\\Program Files (x86)\\Adobe\\Adobe Creative Cloud Experience\\libs\\node.exe",
"?:\\Program Files\\Adobe\\Adobe Creative Cloud Experience\\libs\\node.exe",
"?:\\Program Files\\Qlik\\Sense\\ServiceDispatcher\\Node\\node.exe",
"?:\\Program Files\\MATLAB\\*\\bin\\win64\\MATLAB.exe")]
[file where event.type == "access" 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\\Default\\Login Data",
"?:\\Users\\*\\AppData\\Local\\Microsoft\\Edge\\User Data\\Default\\Login Data")]