Potential Entra ID PRT Extraction via BrowserCore
Description
Identifies anomalous execution of BrowserCore.exe, the Windows component used by Chromium-based browsers for native messaging. Adversaries abuse BrowserCore to extract Primary Refresh Tokens (PRTs) from the Web Account Manager (WAM) without user interaction, enabling Entra ID session hijacking.
Query · eql
process where event.action == "start" and process.parent.name != null and
(
/* Wrong path - masquerade */
(
(process.pe.original_file_name == "BrowserCore.exe" or process.name : "BrowserCore.exe") and
not process.executable : ("?:\\Windows\\BrowserCore\\BrowserCore.exe", "?:\\Program Files\\Windows Security\\BrowserCore\\BrowserCore.exe")
)
or
/* Anomalous launch context */
(
process.name : "BrowserCore.exe" and
process.executable : ("?:\\Windows\\BrowserCore\\BrowserCore.exe", "?:\\Program Files\\Windows Security\\BrowserCore\\BrowserCore.exe") and
not (
process.parent.name : "cmd.exe" and
process.parent.command_line : "*chrome-extension*--parent-window=*" and process.command_line : "*chrome-extension*--parent-window=*"
)
)
)