Azure AD Domain Federation Settings Modified via Audit Logs
Alerts when federation settings on an Azure AD domain are modified, indicating potential identity trust tampering.
- Product
- azure
- Service
- auditlogs
- Author
- Austin Songer (SigmaHQ), DRL 1.1
- Published
- 2021-09-06
- 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 identifies events where federation settings on a domain are changed, specifically when the activity is recorded as setting federation settings on the domain. Altering federation configuration can help attackers redirect authentication flows or maintain persistence by changing how identities are trusted. It relies on Azure audit log telemetry that records the activity display name for federation setting modifications.
Reporting behind it
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 AD Domain Federation Settings Modified via Audit Logs
id: 65c2b2d2-7988-4fbc-be20-97a6e4d4244c
status: test
description: This rule identifies events where federation settings on a domain are changed, specifically when the activity is recorded as setting federation settings on the domain. Altering federation configuration can help attackers redirect authentication flows or maintain persistence by changing how identities are trusted. It relies on Azure audit log telemetry that records the activity display name for federation setting modifications.
references:
- https://learn.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-monitor-federation-changes
- https://github.com/SigmaHQ/sigma/blob/master/rules/cloud/azure/audit_logs/azure_federation_modified.yml
author: Austin Songer, Huntrule Team
date: 2021-09-06
modified: 2022-06-08
tags:
- attack.privilege-escalation
- attack.persistence
- attack.initial-access
- attack.stealth
- attack.t1078
logsource:
product: azure
service: auditlogs
detection:
selection:
ActivityDisplayName: Set federation settings on domain
condition: selection
falsepositives:
- Federation Settings being modified or deleted may be performed by a system administrator.
- Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
- Federation Settings modified from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: medium
license: DRL-1.1
related:
- id: 352a54e1-74ba-4929-9d47-8193d67aba1e
type: derived