Azure Service Principal was assigned a role

Set up the azure integration.

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Goal

Detect an Azure service principal being assigned an Azure role.

Strategy

Monitor Azure Activity logs for the following operations:

  • @evt.name:"MICROSOFT.AUTHORIZATION/ROLEASSIGNMENTS/WRITE"
  • @properties.requestbody:*ServicePrincipal*

Triage and response

  1. Determine if this activity is legitimate by investigating the:
  • Source IP of this activity: {{@network.client.ip}}
  • The user who made this request: @identity.claims.name
  • The role that was assigned to the application or service principal.
  1. If this user should not be assigning this Azure role and if the service principal should not be assigned this role:
  • Revoke access of compromised credentials.
  • Remove unauthorized app registration and/or service principal.
  • Investigate other activities performed by the source IP {{@network.client.ip}} in the IP Investigation Dashboard.
  • Investigate other activities performed by the user {{@usr.id}} in the User Investigation Dashboard.
PREVIEWING: esther/docs-9518-update-example-control-sensitive-log-data