Azure Entra PIM Role Setting Changes in Audit Logs

Alerts on Azure PIM role setting update events recorded in audit logs.

FreeReviewedSigma · High · v5
Product
azure
Service
auditlogs
Author
Mark Morowczynski '@markmorow', Yochana Henderson, '@Yochana-H' (SigmaHQ), DRL 1.1
Published
2022-08-09
Updated
2026-07-31
title: Azure Entra PIM Role Setting Changes in Audit Logs
id: d8de8ad0-19d3-433f-b4b1-a00003f88749
status: test
description: This rule flags audit log events where a PIM role setting is updated, specifically messages indicating an "Update role setting in PIM" action. Changing PIM role configurations can enable attackers to gain or maintain privileged access by altering how time-bound or approved permissions are administered. It relies on Azure audit log telemetry capturing the exact message content for PIM role setting updates.
references:
  - https://learn.microsoft.com/en-us/entra/architecture/security-operations-privileged-identity-management#azure-ad-roles-assignment
  - https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/audit_logs/azure_pim_change_settings.yml
author: Mark Morowczynski '@markmorow', Yochana Henderson, '@Yochana-H', Huntrule Team
date: 2022-08-09
tags:
  - attack.initial-access
  - attack.privilege-escalation
  - attack.persistence
  - attack.stealth
  - attack.t1078.004
logsource:
  product: azure
  service: auditlogs
detection:
  selection:
    properties.message: Update role setting in PIM
  condition: selection
falsepositives:
  - Legit administrative PIM setting configuration changes
level: high
license: DRL-1.1
related:
  - id: db6c06c4-bf3b-421c-aa88-15672b88c743
    type: derived