← Back to SOC feed Coverage →

Top Recipients Targeted by Impersonation or BEC

kql MEDIUM Azure-Sentinel
T1566
EmailEvents
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-09-03T23:00:00Z · Confidence: medium

Hunt Hypothesis

This hypothesis identifies users who are disproportionately targeted by phishing campaigns leveraging spoofed sender addresses or social engineering tactics, indicating a likely focus on high-value assets or compromised credentials. Proactively hunting for these patterns allows the SOC to prioritize MFA enforcement and user awareness training for at-risk individuals before an initial access attempt succeeds.

KQL Query

// Recipients most targeted by impersonation / BEC, with distinct senders, a sample of sender domains and inbox delivery.
EmailEvents
| where Timestamp > ago(30d)
| where EmailDirection == "Inbound"
| where OrgLevelPolicy !in ("Phishing simulation", "SecOps Mailbox")
| where DetectionMethods has "Impersonation"
| extend Key = strcat(NetworkMessageId, '-', RecipientEmailAddress)
| summarize arg_max(Timestamp, *) by Key
| summarize ImpersonationEmails = count(), DistinctSenders = dcount(SenderFromAddress), SampleSenderDomains = make_set(SenderFromDomain, 5), DeliveredToInbox = countif(DeliveryLocation has "Inbox") by RecipientEmailAddress
| top 20 by ImpersonationEmails
| project Recipient = RecipientEmailAddress, ImpersonationEmails, DistinctSenders, SampleSenderDomains = strcat_array(SampleSenderDomains, ", "), DeliveredToInbox

Analytic Rule Definition

id: 7a8e34a4-3fbf-4ab6-a9d9-aa57c9267327
name: Top Recipients Targeted by Impersonation or BEC
description: |
  This query lists the recipients most frequently targeted by impersonation and Business Email Compromise (BEC) attempts, using the EmailEvents table.
description-detailed: |
  Impersonation and Business Email Compromise (BEC) attacks concentrate on a small number of high-value recipients, often executives or finance staff. This query lists the inbound recipients most targeted by impersonation detections, with the number of impersonation emails, how many distinct senders were involved, a sample of the sender domains involved, and how many messages were delivered to the inbox. Use it to identify high-risk users who may need extra protection or awareness.
  This query is part of the Microsoft Defender for Office 365 Detections and Insights workbook in Microsoft Sentinel: https://techcommunity.microsoft.com/blog/microsoftdefenderforoffice365blog/part-3-build-custom-email-security-reports-with-power-bi-and-workbooks-in-micros/4490127
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - EmailEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  // Recipients most targeted by impersonation / BEC, with distinct senders, a sample of sender domains and inbox delivery.
  EmailEvents
  | where Timestamp > ago(30d)
  | where EmailDirection == "Inbound"
  | where OrgLevelPolicy !in ("Phishing simulation", "SecOps Mailbox")
  | where DetectionMethods has "Impersonation"
  | extend Key = strcat(NetworkMessageId, '-', RecipientEmailAddress)
  | summarize arg_max(Timestamp, *) by Key
  | summarize ImpersonationEmails = count(), DistinctSenders = dcount(SenderFromAddress), SampleSenderDomains = make_set(SenderFromDomain, 5), DeliveredToInbox = countif(DeliveryLocation has "Inbox") by RecipientEmailAddress
  | top 20 by ImpersonationEmails
  | project Recipient = RecipientEmailAddress, ImpersonationEmails, DistinctSenders, SampleSenderDomains = strcat_array(SampleSenderDomains, ", "), DeliveredToInbox
version: 1.0.0

Required Data Sources

Sentinel TableNotes
EmailEventsEnsure this data connector is enabled

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/Spoof and Impersonation/Top Recipients Targeted by Impersonation or BEC.yaml