Azure new owner added for service principal

Set up the azure integration.



Detect when a new owner is added to a service principal, which applies to privilege escalation or persistence.


Monitor Azure Active Directory logs where is "Add owner to service principal" and @evt.outcome of Success.

Triage and response

  1. Inspect that the user is added to a service principal in @properties.targetResources.
  2. Verify with the user ({{}}) to determine if the owner addition is legitimate.