Top 10 Domains sending Malicious Emails (Malware+Phish+Spam)


Description

Identifies the top 10 sender domains delivering inbound emails classified as malware, phishing, or spam. Based on Defender for Office 365 workbook: https://techcommunity.microsoft.com/blog/microsoftdefenderforoffice365blog/part-2-build-custom-email-security-reports-and-dashboards-with-workbooks-in-micr/4411303

Query · kql

EmailEvents
| where EmailDirection == "Inbound"
| where ThreatTypes has_any ("Malware", "Phish", "Spam")
// Uncomment the line below to exclude your own organization's domains (including subdomains)
// | where SenderFromDomain !contains ".yourdomain.com"
| summarize count() by SenderFromDomain
| sort by count_ desc
| top 10 by count_
| render piechart
Raw source Top 10 Domains sending Malicious Emails (Malware+Phish+Spam) · KQL
Esc
Published by Azure/Azure-Sentinel ↗, licensed under MIT ↗. Reproduced here unmodified.
id: af183f01-6d98-4fca-8ca4-63577b78a26e
name: Top 10 Domains sending Malicious Emails (Malware+Phish+Spam)
description: |
  Identifies the top 10 sender domains delivering inbound emails classified as malware, phishing, or spam.
  Based on Defender for Office 365 workbook: https://techcommunity.microsoft.com/blog/microsoftdefenderforoffice365blog/part-2-build-custom-email-security-reports-and-dashboards-with-workbooks-in-micr/4411303
requiredDataConnectors:
  - connectorId: MicrosoftThreatProtection
    dataTypes:
      - EmailEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  EmailEvents
  | where EmailDirection == "Inbound"
  | where ThreatTypes has_any ("Malware", "Phish", "Spam")
  // Uncomment the line below to exclude your own organization's domains (including subdomains)
  // | where SenderFromDomain !contains ".yourdomain.com"
  | summarize count() by SenderFromDomain
  | sort by count_ desc
  | top 10 by count_
  | render piechart
version: 1.0.0

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.