Query Details
// Hunting Malicious Chrome Extension // A new attack campaign has targeted known Chrome browser extensions, leading to at least 16 extensions being compromised and exposing over 600,000 users to data exposure and credential theft. // https://thehackernews.com/2024/12/16-chrome-extensions-hacked-exposing.html let MaliciousChromeExtensionID = dynamic(["bibjgkidgpfbblifamdlkdlhgihmfohh","pkgciiiancapdlpcbppfkmeaieppikkk", "epdjhgbipjpbbhoccdeipghoihibnfja","bbdnohkpnbkdkmnkddobeafboooinpla","befflofjcniongenjmbkgkoljhgliihe", "cedgndijpacnfbdggppddacngjfdkaca","nnpnnpemnckcfdebeekibpiijlicmpom","dpggmcodlahmljkhlmpgpdcffdaoccni", "cplhlgabfijoiabgkigdafklbhhdkahj","egmennebgadmncfjafcemlecimkepcle","acmfnomgphggonodopogfbmkneepfgnh", "mnhffkhmpnefgklngfmlndmkimimbphc","oaikpkmjciadfpddlpjjdapglcihgdle","fbmlcbhdmilaggedifpihjgkkmdgeljh", "kkodiihpgodmdankclfibbiphjkfdenh","oeiomhmbaapihbilkfkhmlajkeegnjhe"]); DeviceFileEvents | where ActionType == "FileCreated" and FileName endswith ".crx" | where FileName has_any(MaliciousChromeExtensionID)
This query is designed to help identify potentially malicious Chrome browser extensions that have been installed on devices. Here's a simple breakdown of what it does:
Define Malicious Extensions: It starts by listing the IDs of known malicious Chrome extensions that have been compromised in a recent attack campaign. These extensions have been identified as exposing users to data breaches and credential theft.
Filter File Creation Events: The query looks at device file events, specifically focusing on files that have been created. It filters for files with the ".crx" extension, which is the file type for Chrome extensions.
Match Against Malicious IDs: It then checks if any of these newly created ".crx" files match the IDs of the known malicious extensions.
In summary, this query helps security analysts detect if any of the compromised Chrome extensions have been installed on devices within their network, allowing them to take appropriate action to protect users.

Steven Lim
Released: December 30, 2024
Tables
Keywords
Operators