Entra ID Custom Domain Added or Verified
Detects when a custom domain is added or verified in an Entra ID tenant. Adding and verifying a custom domain are precursor steps to configuring domain federation, which can be abused by adversaries to route…
Description
Detects when a custom domain is added or verified in an Entra ID tenant. Adding and verifying a custom domain are precursor steps to configuring domain federation, which can be abused by adversaries to route authentication through an attacker-controlled identity provider (Golden SAML). In most organizations, custom domains are added infrequently and these events should be investigated to ensure they are part of a legitimate administrative workflow.
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
- PRE
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
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 |
|---|---|
| cloud.google.com/blog/topics/threat-intelligence/unc2452-merged-into-apt29 | 2 |
| learn.microsoft.com/en-us/graph/api/domain-post-domains | Only this detection cites it |
| learn.microsoft.com/en-us/graph/api/domain-verify | Only this detection cites it |
| medium.com/tenable-techblog/roles-allowing-to-abuse-entra-id-federation-for-persistence-and-privilege-escalation-df9ca6e58360 | 3from 2 sources |
| securitylabs.datadoghq.com/articles/i-spy-escalating-to-entra-id-global-admin/ | 3 |
From the source
- At source
- Open at source
- Upstream identifier
- 7dc921db-4cd3-48ef-88bf-2bfa91f29f5c
- Tagged by the source as
- Data Source: AzureData Source: Microsoft Entra IDData Source: Microsoft Entra ID Audit LogsDomain: CloudDomain: IdentityNoise: LowPerformance: NormalPlatform: Entra IDResources: Investigation GuideRule Type: Custom Query (KQL)Tactic: DiscoveryTactic: Resource DevelopmentUse Case: Identity and Access Audit
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3