← Back to SOC feed Coverage →

Top 10 Users clicking on Malicious URLs (Malware)

kql MEDIUM Azure-Sentinel
T1566
UrlClickEvents
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-05-19T11:00:00Z · Confidence: medium

Hunt Hypothesis

Adversaries may be leveraging social engineering tactics to compromise high-value users by clicking on malicious URLs, which aligns with MITRE T1566. Proactively hunting for this behavior in Azure Sentinel enables early detection of potential insider threats and limits lateral movement within the network.

KQL Query

UrlClickEvents
| where ThreatTypes == "Malware"
| summarize count() by AccountUpn
| top 10 by count_
| render piechart

Analytic Rule Definition

id: 5a84e13a-bb17-4124-9564-d74cdb84c124
name: Top 10 Users clicking on Malicious URLs (Malware)
description: |
  Visualises the top 10 users with click attempts on URLs in emails detected as malware, helping analysts identify risky user behaviour and potential targets.
  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:
      - UrlClickEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  UrlClickEvents
  | where ThreatTypes == "Malware"
  | summarize count() by AccountUpn
  | top 10 by count_
  | render piechart
version: 1.0.0

Required Data Sources

Sentinel TableNotes
UrlClickEventsEnsure 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/URL/Top 10 Users clicking on Malicious URLs (Malware).yaml