O365 Privileged Role Assigned To Service Principal
The following analytic detects potential privilege escalation threats in Azure Active Directory (AD). This detection is important because it identifies instances where privileged roles that hold elevated permissions…
Description
The following analytic detects potential privilege escalation threats in Azure Active Directory (AD). This detection is important because it identifies instances where privileged roles that hold elevated permissions are assigned to service principals. This prevents unauthorized access or malicious activities, which occur when these non-human entities access Azure resources to exploit them. False positives might occur since administrators can legitimately assign privileged roles to service principals. This detection leverages the O365 Universal Audit Log data source.
Detection logic
Detection requirements
- Platform
- IaaSIdentity ProviderOffice SuiteSaaS
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- office_365_universal_audit_log
Known benign triggers
- Administrators may legitimately assign the privileged roles to Service Principals as part of administrative tasks. Filter as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| attack.mitre.org/techniques/T1098/003/ | 11 |
| learn.microsoft.com/en-us/azure/active-directory/roles/permissions-reference | 5 |
| learn.microsoft.com/en-us/microsoft-365/admin/add-users/about-exchange-online-admin-role?view=o365-worldwide | 3 |
| posts.specterops.io/azure-privilege-escalation-via-service-principal-abuse-210ae2be2a5 | 3 |
From the source
- At source
- Open at source
- Upstream identifier
- 80f3fc1b-705f-4080-bf08-f61bf013b900
- Tagged by the source as
- Azure Active Directory Privilege EscalationScattered Lapsus$ HuntersO365 TenantcloudSplunk CloudSplunk EnterpriseSplunk Enterprise Securityidentity
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Oct 6, 2026
- Version
- 2