Top 10 Attacked user by Phish messages
Description
Top 10 attacked users by Phish messages from external senders using Teams
Query · kql
//Top 10 attacked users by Phish messages from external senders using Teams. Replace contoso.com with your own recipient domain.
MessageEvents
| where ThreatTypes has 'Phish' and IsOwnedThread==0 and IsExternalThread==1
| mv-expand Recipients = RecipientDetails
| extend RecipientEmailAddress = Recipients.RecipientSmtpAddress, RecipientDisplayName = Recipients.RecipientDisplayName, RecipientObjectId = Recipients.RecipientObjectId, RecipientType = Recipients.RecipientType
| where RecipientEmailAddress contains ('contoso.com')
| summarize count() by tostring(RecipientEmailAddress)
| sort by count_
| top 10 by count_