LoFP LoFP / privilege roles may be assigned for legitimate purposes, filter as needed.

Techniques

Sample rules

O365 High Privilege Role Granted

Description

This analytic detects when high-privilege roles, specifically “Exchange Administrator”, “SharePoint Administrator”, or “Global Administrator”, are granted within Office 365. By monitoring O365 audit logs for events where these administrative roles are assigned to any user or service account, the analytic provides insight into critical role changes. The assignment of these roles is of paramount importance to Security Operations Centers (SOCs) as they grant extensive permissions, allowing for broad access and control over critical organizational resources and data. An unexpected or unauthorized role assignment could indicate potential malicious activity, insider threats, or misconfigurations. If an attacker or unauthorized individual is granted one of these roles, the potential impact includes gaining significant control over O365 resources, accessing, modifying, or deleting critical data, making configuration changes, and potentially compromising the overall security and functionality of the O365 environment.

Detection logic

`o365_management_activity` Operation="Add member to role." Workload=AzureActiveDirectory 
| eval role_id = mvindex('ModifiedProperties{}.NewValue',2) 
| eval role_name = mvindex('ModifiedProperties{}.NewValue',1) 
| where role_id IN ("29232cdf-9323-42fd-ade2-1d097af3e4de", "f28a1f50-f6e7-4571-818b-6a12f2af6b6c", "62e90394-69f5-4237-9190-012177145e10")  
| stats earliest(_time) as firstTime latest(_time) as lastTime by user Operation ObjectId role_name 
| `security_content_ctime(firstTime)` 
| `security_content_ctime(lastTime)` 
| `o365_high_privilege_role_granted_filter`