Skip to content

Latest commit

 

History

History
26 lines (24 loc) · 728 Bytes

BrowserExtension - InstalledExtensionsWithTheMostRequiredPermissions.md

File metadata and controls

26 lines (24 loc) · 728 Bytes

Query the installed extensions with the most required permissions


Defender XDR

let PermissionInformation = DeviceTvmBrowserExtensionsKB
     | where IsPermissionRequired == "true"
     | summarize
         TotalPermissions = dcount(PermissionName),
         PermissionNames = make_set(PermissionName)
         by ExtensionId
     | where TotalPermissions > 3 // Change baseline if needed
     | project ExtensionId, TotalPermissions, PermissionNames;
DeviceTvmBrowserExtensions
| join PermissionInformation on ExtensionId
| sort by TotalPermissions
| join DeviceInfo on DeviceId
| project
     DeviceName,
     BrowserName,
     ExtensionName,
     ExtensionRisk,
     PermissionNames,
     TotalPermissions