IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
New or Modified Federation Domain
editNew or Modified Federation Domain
editIdentifies a new or modified federation domain, which can be used to create a trust between O365 and an external identity provider.
Rule type: query
Rule indices:
- filebeat-*
- logs-o365*
Severity: low
Risk score: 21
Runs every: 5m
Searches indices from: None (Date Math format, see also Additional look-back time
)
Maximum alerts per execution: 100
References:
- https://docs.microsoft.com/en-us/powershell/module/exchange/remove-accepteddomain?view=exchange-ps
- https://docs.microsoft.com/en-us/powershell/module/exchange/remove-federateddomain?view=exchange-ps
- https://docs.microsoft.com/en-us/powershell/module/exchange/new-accepteddomain?view=exchange-ps
- https://docs.microsoft.com/en-us/powershell/module/exchange/add-federateddomain?view=exchange-ps
- https://docs.microsoft.com/en-us/powershell/module/exchange/set-accepteddomain?view=exchange-ps
- https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoldomainfederationsettings?view=azureadps-1.0
Tags:
- Domain: Cloud
- Data Source: Microsoft 365
- Use Case: Identity and Access Audit
- Tactic: Privilege Escalation
Version: 207
Rule authors:
- Austin Songer
Rule license: Elastic License v2
Investigation guide
editSetup
editThe Office 365 Logs Fleet integration, Filebeat module, or similarly structured data is required to be compatible with this rule.
Rule query
editevent.dataset:o365.audit and event.provider:Exchange and event.category:web and event.action:("Set-AcceptedDomain" or "Set-MsolDomainFederationSettings" or "Add-FederatedDomain" or "New-AcceptedDomain" or "Remove-AcceptedDomain" or "Remove-FederatedDomain") and event.outcome:success
Framework: MITRE ATT&CKTM
-
Tactic:
- Name: Privilege Escalation
- ID: TA0004
- Reference URL: https://attack.mitre.org/tactics/TA0004/
-
Technique:
- Name: Domain or Tenant Policy Modification
- ID: T1484
- Reference URL: https://attack.mitre.org/techniques/T1484/
-
Sub-technique:
- Name: Trust Modification
- ID: T1484.002
- Reference URL: https://attack.mitre.org/techniques/T1484/002/