Azure AD member assigned Global Administrator role

Set up the azure integration.

Goal

Detect an Azure Active Directory (Azure AD) member being added to the Global Administrator role.

Strategy

Monitor Azure AD Audit logs for the following operations:

  • @evt.name:"Add member to role"
  • @properties.targetResources.modifiedProperties.newValue:"\"Global Administrator\""

The Global Administrator role can manage all aspects of Azure AD and Microsoft services that use Azure AD identities. An adversary can add identities as Global Administrators in order to maintain access to Azure AD.

The field @usr.id is the identity that actioned the change, and the fields @properties.targetResources.userPrincipalName or @properties.targetResources.displaylName is the identity being assigned the administrative privileges.

Triage and response

  1. Determine if {{@usr.id}} should have made a {{@evt.name}} API call.
  2. If the API call was not made by the user:
  • Rotate user credentials.
  • Determine what other API calls were made by the user.
  • Begin your organization’s incident response (IR) process and investigate.
  1. If the API call was made legitimately by the user:
  • Determine if {{@usr.id}} was authorized to make the change.
  • Follow Microsoft’s best practices where possible to ensure the user was assigned the correct level of privileges for their function.

Changelog

  • 19 December 2023 - Updated group by values to include @properties.targetResources.userPrincipalName
  • 19 September 2024 - Updated with additional query to capture service principals being assigned administrative roles.