Techniques
Sample rules
O365 Add App Role Assignment Grant User
- source: splunk
- technicques:
- T1136.003
- T1136
Description
The following analytic detects the addition of an application role assignment grant to a user in Office 365. It leverages data from the o365_management_activity
dataset, specifically monitoring the “Add app role assignment grant to user” operation. This activity is significant as it can indicate unauthorized privilege escalation or the assignment of sensitive roles to users. If confirmed malicious, this could allow an attacker to gain elevated permissions, potentially leading to unauthorized access to critical resources and data within the Office 365 environment.
Detection logic
`o365_management_activity` Workload=AzureActiveDirectory Operation="Add app role assignment grant to user."
| stats count min(_time) as firstTime max(_time) as lastTime values(Actor{}.ID) as Actor.ID values(Actor{}.Type) as Actor.Type values(ModifiedProperties{}.Name) as modified_properties_name by user dest ResultStatus Operation
| `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)`
| `o365_add_app_role_assignment_grant_user_filter`