Azure PIM Alert: Privileged Role Assigned Outside PIM
Detects Azure PIM risk events indicating privileged role assignments were made outside PIM.
- Product
- azure
- Service
- pim
- Author
- Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo' (SigmaHQ), DRL 1.1
- Published
- 2023-09-14
- Updated
- 2026-07-31
ATT&CK techniques
Initial Access → Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule catches Azure Privileged Identity Management alert events indicating that privileged roles were assigned outside of PIM. Such activity can bypass approval and monitoring controls, enabling attackers to establish or escalate privileges with greater stealth. The detection relies on PIM risk event telemetry, specifically the riskEventType value for roles assigned outside PIM alert configuration.
Reporting behind it
- learn.microsoft.comhttps://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-how-to-configure-security-alerts#roles-are-being-assigned-outside-of-privileged-identity-management
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/privileged_identity_management/azure_pim_role_assigned_outside_of_pim.yml
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Azure PIM Alert: Privileged Role Assigned Outside PIM"
id: 26fc8a4a-8fdb-4701-ad9a-e4d1717bc0a0
status: test
description: This rule catches Azure Privileged Identity Management alert events indicating that privileged roles were assigned outside of PIM. Such activity can bypass approval and monitoring controls, enabling attackers to establish or escalate privileges with greater stealth. The detection relies on PIM risk event telemetry, specifically the riskEventType value for roles assigned outside PIM alert configuration.
references:
- https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-how-to-configure-security-alerts#roles-are-being-assigned-outside-of-privileged-identity-management
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/privileged_identity_management/azure_pim_role_assigned_outside_of_pim.yml
author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo', Huntrule Team
date: 2023-09-14
tags:
- attack.initial-access
- attack.stealth
- attack.t1078
- attack.persistence
- attack.privilege-escalation
logsource:
product: azure
service: pim
detection:
selection:
riskEventType: rolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration
condition: selection
falsepositives:
- Investigate where users are being assigned privileged roles outside of Privileged Identity Management and prohibit future assignments from there.
level: high
license: DRL-1.1
related:
- id: b1bc08d1-8224-4758-a0e6-fbcfc98c73bb
type: derived