Azure PIM Stale Sign-In Alert for Privileged Role Accounts
Alerts when Azure PIM reports a privileged account has gone stale due to no sign-in activity.
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
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 flags stale sign-in conditions for accounts assigned to privileged roles when a stale sign-in alert incident is generated. Attackers may rely on dormant privileged accounts for stealthy persistence and reduced likelihood of detection. The detection relies on Azure Privileged Identity Management telemetry that records the stale sign-in risk event type.
Reporting behind it
- learn.microsoft.comhttps://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-how-to-configure-security-alerts#potential-stale-accounts-in-a-privileged-role
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/privileged_identity_management/azure_pim_account_stale.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.
azure-pim-stale-sign-in-alerts-for-privileged-roles-e402c26a
title: Azure PIM Stale Sign-In Alert for Privileged Role Accounts
id: 0e59cb71-81cb-4ac5-b672-e43fd624ed97
status: test
description: This rule flags stale sign-in conditions for accounts assigned to privileged roles when a stale sign-in alert incident is generated. Attackers may rely on dormant privileged accounts for stealthy persistence and reduced likelihood of detection. The detection relies on Azure Privileged Identity Management telemetry that records the stale sign-in risk event type.
references:
- https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-how-to-configure-security-alerts#potential-stale-accounts-in-a-privileged-role
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/privileged_identity_management/azure_pim_account_stale.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: staleSignInAlertIncident
condition: selection
falsepositives:
- Investigate if potential generic account that cannot be removed.
level: high
license: DRL-1.1
related:
- id: e402c26a-267a-45bd-9615-bd9ceda6da85
type: derived