Users Authenticating To Other Azure AD Tenants


Description

Detect when users in your Azure AD tenant are authenticating to other Azure AD Tenants.

Query · sigma

selection:
  resultType: 0
  homeTenantId|expand: '%HomeTenantID%'
filter_main_hometenantid:
  resourceTenantId|contains|expand: '%HomeTenantID%'
condition: selection and not 1 of filter_main_*

Known false positives

  • Unlikely
Raw source Users Authenticating To Other Azure AD Tenants · Sigma
Esc
Published by SigmaHQ/sigma ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
title: Users Authenticating To Other Azure AD Tenants
id: 5f521e4b-0105-4b72-845b-2198a54487b9
status: test
description: Detect when users in your Azure AD tenant are authenticating to other Azure AD Tenants.
references:
    - https://learn.microsoft.com/en-gb/entra/architecture/security-operations-user-accounts#monitoring-external-user-sign-ins
author: MikeDuddington, '@dudders1'
date: 2022-06-30
modified: 2026-05-08
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.initial-access
    - attack.stealth
    - attack.t1078.004
logsource:
    product: azure
    service: signinlogs
detection:
    selection:
        resultType: 0
        homeTenantId|expand: '%HomeTenantID%'
    filter_main_hometenantid:
        resourceTenantId|contains|expand: '%HomeTenantID%'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: medium

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.