Azure PIM Alert: Privileged Role Assigned Outside PIM

Detects Azure PIM risk events indicating privileged role assignments were made outside PIM.

FreeReviewedSigma · High · v5
Product
azure
Service
pim
Author
Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo' (SigmaHQ), DRL 1.1
Published
2023-09-14
Updated
2026-07-31
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