← Back to SOC feed Coverage →

Top 20 Malicious URLs by Clicks

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-09-04T11:00:00Z · Confidence: medium

Hunt Hypothesis

This hypothesis targets phishing campaigns (T1566) where adversaries rely on high user engagement to execute malicious payloads, as indicated by a significant volume of clicks on URLs flagged by threat intelligence. Proactively hunting for these high-click URLs in Azure Sentinel allows the SOC to identify compromised endpoints or targeted users before lateral movement occurs, reducing the mean time to containment for widespread phishing incidents.

KQL Query

UrlClickEvents
| where Timestamp > ago(30d)
| where ThreatTypes != ""
| summarize ['Click Count'] = count() by Url, ThreatTypes, ActionType, Workload
| top 20 by ['Click Count']
| project ['URL'] = Url, ['Threat Types'] = ThreatTypes, ['Action Type'] = ActionType, Workload, ['Click Count']

Analytic Rule Definition

id: 188a0e9a-d775-4ad2-b7a0-64df26c0b931
name: Top 20 Malicious URLs by Clicks
description: |
  This query lists the top 20 URLs carrying a detection ranked by the number of clicks registered, with the threat type, click action and workload for each.
description-detailed: |
  This query lists the top 20 URLs with an associated threat detection in Microsoft Defender for Office 365, ranked by the number of Safe Links clicks registered, and shows the threat type, click action (blocked, allowed, and so on) and the workload the clicks came from - a forensic view of the most-clicked malicious URLs.
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - UrlClickEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  UrlClickEvents
  | where Timestamp > ago(30d)
  | where ThreatTypes != ""
  | summarize ['Click Count'] = count() by Url, ThreatTypes, ActionType, Workload
  | top 20 by ['Click Count']
  | project ['URL'] = Url, ['Threat Types'] = ThreatTypes, ['Action Type'] = ActionType, Workload, ['Click Count']
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 Click/Top 20 Malicious URLs by Clicks.yaml