Telemetry coverage
| Platform | Record / event type |
|---|---|
| Azure | Delete group |
Rules detecting the same action
These rules filter on the same operation.
- Conditional Access - Dynamic Group Exclusion Changes (Kusto)
- Detect suspicious conditional access policy modifications (Kusto)
- Detecting Impossible travel with mailbox permission tampering & Privilege Escalation attempt (Kusto)
- Guest accounts added in Entra ID Groups other than the ones specified (Kusto)
- User Removed From Group With CA Policy Modification Access (Sigma)
Rule body
// Copyright 2025 Google LLC. Licensed under Apache-2.0.
rule entra_id_group_deletion_success {
meta:
author = "Google Cloud Security"
description = "Detects when a group is deleted."
rule_id = "mr_d6a3162a-3ec5-45c1-a7cd-ff2988582924"
rule_name = "Entra ID Successful Group Deletion"
type = "alert"
platform = "azure"
data_source = "azure ad audit"
severity = "Low"
priority = "Low"
events:
$group.metadata.event_type = "GROUP_DELETION"
$group.metadata.product_event_type = "Delete group"
$group.metadata.product_name = "Azure AD Directory Audit"
$group.metadata.vendor_name = "Microsoft"
$group.security_result.action = "ALLOW"
$group.principal.user.userid = $user
match:
$user over 5m
outcome:
$risk_score = 35
$event_count = count_distinct($group.metadata.id)
$user_agent = array_distinct($group.network.http.user_agent)
$principal_ip = array_distinct($group.principal.ip)
$principal_user_userid = array_distinct($group.principal.user.email_addresses)
$group_name = array_distinct($group.target.resource.name)
$group_guid = array_distinct($group.target.resource.product_object_id)
condition:
$group
}
YARA-L rule structure
Condition
Fires when at least one $group event in the 5m window.
Events
$group
metadata.product_event_type = "Delete group"security_result.action = "ALLOW"
Match and correlation
Outcome
Outcome variables add context to a detection. When the rule generates an alert, $risk_score is displayed with it.
| Field | Expression |
|---|---|
risk_score | 35 |
event_count | count_distinct($group.metadata.id) |
user_agent | array_distinct($group.network.http.user_agent) |
principal_ip | array_distinct($group.principal.ip) |
principal_user_userid | array_distinct($group.principal.user.email_addresses) |
group_name | array_distinct($group.target.resource.name) |
group_guid | array_distinct($group.target.resource.product_object_id) |