
Summary
Detects the first-time approval of application permissions in Microsoft Entra ID (Azure AD) by a rare or unusual user within a 6-month lookback window. Specifically, it flags events where a user issues an "Add app role assignment to service principal" or an "Add delegated permission grant" in Azure Entra audit logs, which can grant a service principal access to tenant resources without interactive consent. The rule is categorized as New Terms and keyed on the initiating user; it excludes activity originating from known cloud-provider networks. It relies on the Azure audit log signals (initiated_by.user, target_resources, modified_properties) and flags only successful grants that could provide tenant-wide access or high-privilege Graph app roles. The rule supports triage by verifying the initiating user, target app, permissions granted, and network/source organization; it recommends remediation such as revoking the grant, revoking service-principal credentials, rotating credentials, and reviewing data accessed via the app. It aligns to MITRE ATT&CK Account Manipulation (T1098, with T1098.003 Additional Cloud Roles) and emphasizes persistence and privilege abuse risk. The detection is defined over logs in logs-azure.auditlogs-* with a history window from now-10d and a current window of now-6m, and is designed to trigger on unusual permission grants while excluding routine administrator onboarding activity.
Categories
- Cloud
- Azure
- Identity Management
Data Sources
- Cloud Service
- Application Log
ATT&CK Techniques
- T1098
- T1098.003
Created: 2026-11-12