Azure Activity Logs: Granting Role Assignments from New Source IPs

Alerts on Azure role assignment permission grants when they originate from a new source IP in Activity Logs.

FreeReviewedSigma · Medium · v5
Product
azure
Service
activitylogs
Author
sawwinnnaung (SigmaHQ), DRL 1.1
Published
2020-05-07
Updated
2026-07-31
title: "Azure Activity Logs: Granting Role Assignments from New Source IPs"
id: 6856baf0-31a8-4653-9e25-a522fa315888
status: test
description: This rule flags instances where a user grants permissions by writing role assignments in Azure (Microsoft.Authorization/roleAssignments/write). It is designed to alert when the source IP for this permission-granting activity is previously unseen, which can indicate suspicious access patterns used to modify authorization. The detection relies on Azure activity log telemetry capturing the role assignment write event and the associated source IP information.
references:
  - https://github.com/Azure/Azure-Sentinel/blob/e534407884b1ec5371efc9f76ead282176c9e8bb/Detections/AzureActivity/Granting_Permissions_To_Account_detection.yaml
  - https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/activity_logs/azure_granting_permission_detection.yml
author: sawwinnnaung, Huntrule Team
date: 2020-05-07
modified: 2023-10-11
tags:
  - attack.privilege-escalation
  - attack.persistence
  - attack.t1098.003
logsource:
  product: azure
  service: activitylogs
detection:
  keywords:
    - Microsoft.Authorization/roleAssignments/write
  condition: keywords
falsepositives:
  - Valid change
level: medium
license: DRL-1.1
related:
  - id: a622fcd2-4b5a-436a-b8a2-a4171161833c
    type: derived