Azure risk detection: anomalousToken risk events
Flags Azure Entra ID risk events indicating anomalous token lifetime or use from unfamiliar locations.
- Product
- azure
- Service
- riskdetection
- Author
- Mark Morowczynski '@markmorow' (SigmaHQ), DRL 1.1
- Published
- 2023-08-07
- Updated
- 2026-07-31
ATT&CK techniques
Cred AccessRecon
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 Azure risk detection events where the risk event type is anomalousToken. It indicates abnormal token characteristics such as an unusual token lifetime or a token used from an unfamiliar location, which can signal compromised credentials or risky authentication behavior. The detection relies on risk telemetry from Azure’s riskdetection service, specifically the riskEventType value.
Reporting behind it
- learn.microsoft.comhttps://learn.microsoft.com/en-us/entra/id-protection/concept-identity-protection-risks#anomalous-token
- learn.microsoft.comhttps://learn.microsoft.com/en-us/entra/architecture/security-operations-user-accounts#unusual-sign-ins
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/identity_protection/azure_identity_protection_anomalous_token.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 risk detection: anomalousToken risk events"
id: 069d89e5-8379-49fa-8daf-b4f07ea39923
status: test
description: This rule flags Azure risk detection events where the risk event type is anomalousToken. It indicates abnormal token characteristics such as an unusual token lifetime or a token used from an unfamiliar location, which can signal compromised credentials or risky authentication behavior. The detection relies on risk telemetry from Azure’s riskdetection service, specifically the riskEventType value.
references:
- https://learn.microsoft.com/en-us/entra/id-protection/concept-identity-protection-risks#anomalous-token
- https://learn.microsoft.com/en-us/entra/architecture/security-operations-user-accounts#unusual-sign-ins
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/identity_protection/azure_identity_protection_anomalous_token.yml
author: Mark Morowczynski '@markmorow', Huntrule Team
date: 2023-08-07
tags:
- attack.t1528
- attack.credential-access
logsource:
product: azure
service: riskdetection
detection:
selection:
riskEventType: anomalousToken
condition: selection
falsepositives:
- We recommend investigating the sessions flagged by this detection in the context of other sign-ins from the user.
level: high
license: DRL-1.1
related:
- id: 6555754e-5e7f-4a67-ad1c-4041c413a007
type: derived