Techniques
Sample rules
Entra ID User Created or Deleted by Unusual UPN
- source: elastic
- technicques:
- T1136
- T1531
Description
Identifies the first time, within a lookback window, a user-initiated principal creates or deletes an Entra ID user (“Add user” / “Delete user”). Adversaries with compromised privileged identities create users for persistence or delete users for impact. This is a New Terms rule keyed on the initiating user principal; app/service-initiated lifecycle events (e.g. HR/SCIM provisioning) are intentionally out of scope.
Detection logic
data_stream.dataset: "azure.auditlogs"
and event.action: ("Add user" or "Delete user")
and event.outcome: "success"