logo

Azure Privilege Escalation via Azure API Permissions Abuse

ID: 2c6ea2d5-92e2-5eb2-88ec-a2e9bc33bec3

STIX ID: report--2c6ea2d5-92e2-5eb2-88ec-a2e9bc33bec3

Feed Name: SpecterOps Blog

Threat Score
75/100

Date Published: 2021-12-01

Date Updated: 2026-04-30

Author: Andy Robbins

...
...

This report describes how certain Azure AD API permissions and app role configurations can be abused by a service principal to escalate privileges to Global Administrator via Microsoft Graph app roles (notably AppRoleAssignment.ReadWrite.All enabling RoleManagement.ReadWrite.Directory). It walks through the components involved (service principals, app registrations, app roles), demonstrates the attack path and example code, and provides guidance for prevention (auditing, least privilege, PowerShell checks) and detection (Azure Audit Logs and Log Analytics workbooks).

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.