Splunk unknown stable spl

O365 ApplicationImpersonation Role Assigned

The following analytic detects the assignment of the ApplicationImpersonation role in Office 365 to a user or application. It uses the Office 365 Management Activity API to monitor Azure Active Directory audit logs for role assignment events. This activity is significant because the ApplicationImpersonation role allows impersonation of any user, enabling access to and modification of their mailbox. If confirmed malicious, an attacker could gain unauthorized access to sensitive information, manipulate mailbox data, and perform actions as a legitimate user, posing a severe security risk to the organization.

View Source

Detection Logic

`o365_management_activity` Workload=Exchange Operation="New-ManagementRoleAssignment" Role=ApplicationImpersonation
| rename User as target_user
| fillnull
| stats count min(_time) as firstTime max(_time) as lastTime
    BY signature dest user
       src vendor_account vendor_product
       target_user
| `security_content_ctime(lastTime)`
| `o365_applicationimpersonation_role_assigned_filter`

False Positives

  • ⚠ While infrequent, the ApplicationImpersonation role may be granted for leigimate reasons, filter as needed.

Field Validations

Loading…

Comments (0)

Loading comments...