← Back to SOC feed Coverage →

Top External Sender domains - Phish

kql MEDIUM Azure-Sentinel
T1566
huntingmicrosoftofficial
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Azure-Sentinel →
Retrieved: 2026-05-12T23:00:00Z · Confidence: medium

Hunt Hypothesis

Top external sender domains identified in Teams messages may indicate phishing attempts leveraging trusted domains to bypass user vigilance. SOC teams should proactively hunt for this behavior to detect and mitigate potential phishing campaigns targeting Azure Sentinel users.

KQL Query

//Top External Sender domains sending Teams message with Phish threats
MessageEvents
| where IsExternalThread==1 and IsOwnedThread==0
| where ThreatTypes contains "Phish"
| extend SenderDomain = tostring(split(SenderEmailAddress, "@")[1])
| summarize count() by SenderDomain

Analytic Rule Definition

id: e4a64b44-ec9a-4787-9f7a-75ff5394b928
name: Top External Sender domains - Phish
description: |
  Top External Sender domains sending Teams message with Phish threats
description-detailed: |
  This query helps hunt for Top External Sender domains sending Teams message with Phish threats, using Microsoft Defender for Office 365 and Advance hunting in Microsoft Defender XDR
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - MessageEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  //Top External Sender domains sending Teams message with Phish threats
  MessageEvents
  | where IsExternalThread==1 and IsOwnedThread==0
  | where ThreatTypes contains "Phish"
  | extend SenderDomain = tostring(split(SenderEmailAddress, "@")[1])
  | summarize count() by SenderDomain
version: 1.0.0

MITRE ATT&CK Context

References

False Positive Guidance

Original source: https://github.com/Azure/Azure-Sentinel/blob/main/Hunting Queries/Microsoft 365 Defender/Email and Collaboration Queries/Microsoft Teams protection/Top External Sender domains - Phish.yaml