Top Spoof intra-org detections by Sender domain (P1/P2)
Description
This query visualises total emails with Phish-Spoof-internal domain detections summarizing the data by the top 10 email sender P2 domain (SenderFromDomain) and sender P1 domain (SenderMailFromDomain).
Query · kql
EmailEvents
| where EmailDirection == "Inbound"
| summarize TotalEmailCount = count(),
SpoofInternalCount = countif(DetectionMethods has_any ('Phish":["Spoof intra-org"]')) by P1Sender=SenderMailFromDomain, P2Sender=SenderFromDomain
| extend SpoofInternal_Traffic_Percentage = todouble(round(SpoofInternalCount / todouble(TotalEmailCount) * 100, 2))
| where SpoofInternalCount !=0
| sort by SpoofInternalCount desc
| project P1Sender,P2Sender,SpoofInternalCount,TotalEmailCount,SpoofInternal_Traffic_Percentage
| top 10 by SpoofInternalCount