Persistence (TA0003)(external, opens in a new tab or window)
Credential Access (TA0006)(external, opens in a new tab or window)
text code block:process where host.os.type == "macos" and event.action == "exec" and process.name in ("Google Chrome", "Brave Browser", "Microsoft Edge") and process.args like "--load-extension=/*" and not (process.args like "--load-extension=/Users/*/Library/Application Support/Cypress/*" and process.parent.executable like ("/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "/Users/*/Library/Caches/Cypress/*/Cypress.app/Contents/MacOS/Cypress")) and not process.parent.executable like ("/opt/homebrew/Caskroom/chromedriver/*/chromedriver", "/Applications/Cypress.app/Contents/MacOS/Cypress", "/usr/local/bin/chromedriver")
Install detection rules in Elastic Security
Detect Manual Loading of a Suspicious Chromium Extension in the Elastic Security detection engine by installing this rule into your Elastic Stack.
To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).