Chrome Browser Spawned from an Unusual Parent
Description
Identifies instances where an unusual process spawns a chrome browser child process. This behavior could be related to malwares stealing browser information.
Query · eql
process where event.type == "start" and
process.name : "chrome.exe" and process.args in~ ("--profile-directory=\"Default\"", "--profile-directory=Default") and
process.parent.executable != null and
not process.parent.executable in~
("c:\\windows\\explorer.exe",
"c:\\program files\\google\\chrome\\application\\chrome_proxy.exe",
"C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome_proxy.exe",
"c:\\program files\\google\\chrome\\application\\chrome.exe",
"c:\\Program Files (x86)\\google\\chrome\\application\\chrome.exe",
"C:\\Windows\\System32\\rdpinit.exe",
"C:\\Windows\\System32\\sihost.exe",
"C:\\Windows\\System32\\RuntimeBroker.exe",
"C:\\Windows\\System32\\SECOCL64.exe") and
not process.parent.executable : (
"C:\\Windows\\System32\\DriverStore\\FileRepository\\seapo64.inf_*\\SECOCL64.exe",
"C:\\Program Files\\OutSystems\\Service Studio ??\\Service Studio\\ServiceStudio.exe",
"C:\\Windows\\System32\\DriverStore\\FileRepository\\snapo64.inf_amd64_*\\SNAPOS64.exe",
"C:\\Program Files\\WindowsApps\\*.exe") and
not (process.parent.code_signature.subject_name in (
"Google LLC", "Sound Research Corporation", "FactSet Research Systems Inc."
) and process.parent.code_signature.trusted == true) and
not (process.parent.name : "cmd.exe" and process.parent.args : "*\\Desktop\\*.bat " and process.args : "--profile-directory=Default") and
not (process.parent.name == "chromedriver.exe" and process.args == "--test-type=webdriver") and
not (process.parent.name == "gralvior-desktop.exe" and process.args == "https://google.com") and
not (process.parent.name == "rundll32.exe" and process.parent.args == "C:\\windows\\System32\\SHELL32.dll,RunAsNewUser_RunDLL") and
not (process.parent.code_signature.subject_name in ("AMARYLLIS SIGNAL LTD", "BLUE TAKIN LTD", "METROPOLITAN DESIGN LLC") and process.parent.code_signature.trusted == true)