← Back to SOC feed Coverage →

URL Clicks by Action

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

Users clicking on suspicious URLs may indicate potential phishing or credential compromise attempts, and proactively hunting for unusual URL click patterns in Azure Sentinel can help identify and mitigate advanced persistent threat (APT) activity leveraging social engineering tactics. This behavior aligns with MITRE T1566 and is critical for early detection of adversary-driven user interaction with malicious content.

KQL Query

UrlClickEvents
| summarize Count = count() by ActionType
| render piechart

Analytic Rule Definition

id: 4620ece3-dceb-4151-8621-5a56351c97cd
name: URL Clicks by Action
description: |
  Summarizes URL click events by action type to help analysts understand user click behavior and policy effectiveness.
  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
  | summarize Count = count() by ActionType
  | 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/URL Clicks by Action.yaml