Identify Endpoint Browser Extensions With Can Turnoff Malware Protections Permissions
Query
let BrowserExtMalwareProtectionKB = DeviceTvmBrowserExtensionsKB
| where PermissionName contains "Can turn off malware protections"
| project ExtensionId, ExtensionName, ExtensionRisk, PermissionName;
let BrowserExtMalwareProtection = DeviceTvmBrowserExtensions
| project ExtensionId, DeviceId;
let DeviceInformation = DeviceInfo
| project DeviceId, DeviceName;
union BrowserExtMalwareProtection, BrowserExtMalwareProtectionKB,
DeviceInformation
| summarize by ExtensionId, DeviceId
| join ( BrowserExtMalwareProtectionKB ) on ExtensionId
| join kind=rightouter ( BrowserExtMalwareProtection ) on ExtensionId
| join ( DeviceInformation ) on DeviceId
| project ExtensionId,
ExtensionName,
ExtensionRisk,
PermissionName,
DeviceId,
DeviceName
| summarize by DeviceName, ExtensionName, ExtensionRiskAbout this query
Identify endpoint browser extensions with “Can turnoff malware protections” permissions
Description
The following query leverages DeviceTvmBrowserExtensions and DeviceTvmBrowserExtensionsKB tables wich are available at the Threat and Vulnerability Management (TVM) add-on license. Results provided include endpoints which have browser extensions installed with “Can turnoff malware protections” permissions.
Microsoft Defender XDR
Versioning
| Version | Date | Comments |
|---|---|---|
| 1.0 | 29/08/2024 | Initial publish |
Explanation
This query identifies endpoints (devices) that have browser extensions installed with permissions that allow them to turn off malware protections. It uses data from the Threat and Vulnerability Management (TVM) add-on in Microsoft Defender XDR.
Here's a simplified breakdown of what the query does:
-
Filter Extensions with Specific Permissions: It first filters the
DeviceTvmBrowserExtensionsKBtable to find browser extensions that have the permission "Can turn off malware protections". -
Extract Relevant Data: It extracts relevant information such as
ExtensionId,ExtensionName,ExtensionRisk, andPermissionNamefrom the filtered extensions. -
Get Installed Extensions: It retrieves the
ExtensionIdandDeviceIdfrom theDeviceTvmBrowserExtensionstable to identify which extensions are installed on which devices. -
Get Device Information: It extracts
DeviceIdandDeviceNamefrom theDeviceInfotable to get the names of the devices. -
Combine Data: It combines the data from the three tables (
DeviceTvmBrowserExtensionsKB,DeviceTvmBrowserExtensions, andDeviceInfo) to match extensions with devices and their respective permissions. -
Summarize Results: Finally, it summarizes the results to show the device name, extension name, and extension risk for each device that has an extension with the risky permission.
Summary of Output
The output will list devices along with the names and risk levels of the browser extensions installed on them that have the permission to turn off malware protections.
Versioning
- Version 1.0: Initial publish on 29/08/2024.
Details

Michalis Michalos
Released: August 29, 2024
Tables
Keywords
Operators