{"id":"b04934b2-0a68-4845-8a19-bdfed3a68a7a","title":"App Assigned To Azure RBAC/Microsoft Entra Role","description":"Detects when an app is assigned Azure AD roles, such as global administrator, or Azure RBAC roles, such as subscription owner.","author":"Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow'","status":"test","level":"medium","date":"2022-07-19","modified":"2024-11-04","tags":["attack.persistence","attack.privilege-escalation","attack.t1098.003"],"technique_ids":["T1098.003"],"logsource":{"product":"azure","service":"auditlogs"},"falsepositives":["When the permission is legitimately needed for the app"],"references":["https://learn.microsoft.com/en-us/entra/architecture/security-operations-applications#service-principal-assigned-to-a-role"],"source_path":"rules/cloud/azure/audit_logs/azure_app_role_added.yml","source_sha256":"04dfbea3c7f43527886b13b41be009eb11f4b9fd152cfc2a0d8f58bb057e1f5a","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/cloud/azure/audit_logs/azure_app_role_added.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: App Assigned To Azure RBAC/Microsoft Entra Role\nid: b04934b2-0a68-4845-8a19-bdfed3a68a7a\nstatus: test\ndescription: Detects when an app is assigned Azure AD roles, such as global administrator, or Azure RBAC roles, such as subscription owner.\nreferences:\n    - https://learn.microsoft.com/en-us/entra/architecture/security-operations-applications#service-principal-assigned-to-a-role\nauthor: Bailey Bercik '@baileybercik', Mark Morowczynski '@markmorow'\ndate: 2022-07-19\nmodified: 2024-11-04\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.t1098.003\nlogsource:\n    product: azure\n    service: auditlogs\ndetection:\n    selection:\n        targetResources.type: 'Service Principal'\n        properties.message:\n            - Add member to role\n            - Add eligible member to role\n            - Add scoped member to role\n    condition: selection\nfalsepositives:\n    - When the permission is legitimately needed for the app\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1098.003","id":"T1098.003","name":"Additional Cloud Roles","page":"techniques/enterprise/T1098.003/"}],"data_path":"data/detection-rules/b04934b2-0a68-4845-8a19-bdfed3a68a7a.json","kind":"sigma"}
