Entra ID Managed Device Client Sign-In to Graph Enumeration
Identifies a successful non-interactive Microsoft Entra ID client sign-in for Microsoft Graph that carries managed, joined device context and reports an Edge client when the exact access token is subsequently used by…
Description
Identifies a successful non-interactive Microsoft Entra ID client sign-in for Microsoft Graph that carries managed, joined device context and reports an Edge client when the exact access token is subsequently used by a scripted client to query at least three distinct Microsoft Graph directory-enumeration paths. The rule correlates the Entra sign-in token identifier with Microsoft Graph activity rather than relying on the broader session identifier, which can be shared by legitimate application activity and multiple tokens.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 3 ATT&CK techniques it maps to.
Known benign triggers
- Administrators and developers may legitimately acquire tokens and use them with PowerShell, command-line tools, or custom scripts to query Microsoft Graph. Confirm that the client application, account, enumeration target, and timing are expected before escalating.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| github.com/SpecterOps/AzureHound | 4from 2 sources |
| github.com/dafthack/GraphRunner | Only this detection cites it |
| github.com/dirkjanm/askWAM | Only this detection cites it |
| github.com/mlcsec/Graphpython | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 8d5d35b3-8c52-4229-964f-df3bab3e2cb5
- Tagged by the source as
- Data Source: AzureData Source: Microsoft Graph Activity LogsDomain: CloudDomain: IdentityPlatform: Entra IDResources: Investigation GuideRule Type: ESQLTactic: Defense EvasionTactic: DiscoveryUse Case: Identity and Access AuditUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Nov 3, 2026
- Version
- 1