Skip to content
Sponsor
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Privileged API permissions on service principals should not remain unused

MT.1079MediumDefenderExposure Management

Part of Maester · Defender · Exposure Management · All checks

Run this check
Invoke-Maester -TestId MT.1079

Unused privileged permissions should not remain assigned to a service principal because they increase the attack surface and risk of unauthorized access. If these permissions are not required for the application’s functionality, they can be exploited by attackers or misused, leading to potential privilege escalation or data exposure. Removing unnecessary privileged permissions helps maintain a stronger security posture and reduces the likelihood of security incidents.

Review the findings in the Applications inventory in App Governance, and verify that there are no activities or use cases requiring the affected service principal to have assignments to these API permissions. Use hunting of app activities to review access and required permissions.

Every attribute of this check
FieldValue
Test IDMT.1079
SeverityMedium
SuiteMaester
ProductDefender
Related productsEntra ID
FeatureExposure Management
AreaApplications and workload identities
Resource typeServicePrincipal
User impactLow
Implementation costMedium
MITRE ATT&CKT1078.004 Cloud Accounts
Supports controlsnist-800-53-r5:AC-6
PowerShell testTest-MtXspmAppRegWithPrivilegedUnusedPermissions
ServicesGraph
Long runningYes