Display Name - Spoof and Impersonation
Description
This query helps reviewing incoming email messages where the Display Name of the sender contains own or other partner company/brand name
Query · kql
let emailDelivered = EmailEvents | where Timestamp < ago(24hrs) and DeliveryAction == "Delivered" and SenderDisplayName contains "Microsoft" | summarize count() by SenderFromAddress | where count_ > 3 // ensuring that some level of communications has occurred. | project SenderFromAddress; EmailEvents | where Timestamp > ago(24hrs) | where DeliveryAction == "Delivered" and EmailDirection == "Inbound" and OrgLevelAction != "Block" and UserLevelAction != "Block" and SenderDisplayName contains "Microsoft" | extend NewMsg = case(Subject contains "RE:", false, Subject contains "FW:", false, true ) | project SenderDisplayName, SenderFromAddress, NetworkMessageId, SenderMailFromAddress, RecipientEmailAddress, DeliveryAction, DeliveryLocation, ThreatTypes, DetectionMethods, NewMsg, Subject | join kind=leftanti ( emailDelivered ) on SenderFromAddress | order by SenderMailFromAddress | summarize count() by SenderDisplayName, SenderFromAddress, NetworkMessageId, SenderMailFromAddress, RecipientEmailAddress, DeliveryAction, DeliveryLocation, ThreatTypes, DetectionMethods, NewMsg, Subject