Azure New Service Principal created

Set up the azure integration.

Goal

Detect when a new service principal is created in Azure, which applies to a persistence mechanism.

Strategy

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

Triage and response

  1. Inspect the new service principal in @properties.targetResources.
  2. Verify with the user ({{$usr.name}}) to determine if the service principal is legitimate.