New or Modified Federation Domain

edit

Identifies 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: 5 minutes

Searches indices from: now-6m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References:

Tags:

  • Elastic
  • Cloud
  • Microsoft 365
  • Continuous Monitoring
  • SecOps
  • Identity and Access

Version: 4 (version history)

Added (Elastic Stack release): 7.16.0

Last modified (Elastic Stack release): 8.4.0

Rule authors: Austin Songer

Rule license: Elastic License v2

Investigation guide

edit

Rule query

edit
event.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

Threat mapping

edit

Framework: MITRE ATT&CKTM

Rule version history

edit
Version 4 (8.4.0 release)
  • Updated query, changed from:

    event.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
Version 2 (8.1.0 release)
  • Formatting only