Sigma rule: Stale Accounts In A Privileged Role

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4438f4730a14, updated 2023-09-14T00:00:00.000Z.

Rule

Title
Stale Accounts In A Privileged Role
Status
test
Level
high
Author
Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo'
Date
2023-09-14
File
rules/cloud/azure/privileged_identity_management/azure_pim_account_stale.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Identifies when an account hasn't signed in during the past n number of days.

Log source

product
azure
service
pim

Detection

selection:
    riskEventType: 'staleSignInAlertIncident'
condition: selection

False positives (as the rule lists them)

  • Investigate if potential generic account that cannot be removed.

Tags

  • attack.initial-access
  • attack.stealth
  • attack.t1078
  • attack.persistence
  • attack.privilege-escalation

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/azure/privileged_identity_management/azure_pim_account_stale.yml

Sources and licences

  • SigmaHQ

    "Stale Accounts In A Privileged Role" by Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo' (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/cloud/azure/privileged_identity_management/azure_pim_account_stale.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Stale Accounts In A Privileged Role",
entity page, dataset version ref-4438f4730a14, updated 2023-09-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/e402c26a-267a-45bd-9615-bd9ceda6da85 (accessed 2026-11-03).
Underlying source: SigmaHQ rule e402c26a-267a-45bd-9615-bd9ceda6da85, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.