← Back to SOC feed Coverage →

Suspicious Google Doc Links

kql MEDIUM Azure-Sentinel
EmailEventsEmailUrlInfo
huntingmicrosoftofficialransomware
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-25T23:00:00Z · Confidence: medium

Hunt Hypothesis

Attackers may be using compromised email accounts to distribute malicious Google Docs links as part of a phishing campaign leading to ransomware deployment. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify and mitigate potential initial compromise vectors before lateral movement and data exfiltration occur.

KQL Query

EmailUrlInfo 
| where Url startswith "https://docs.google.com/document/" 
| join (EmailEvents 
| where EmailDirection == "Inbound" 
| where InternetMessageId matches regex "\\<\\w{ 38,42} \\@") on NetworkMessageId 

Analytic Rule Definition

id: 5b94411c-9311-48cd-8f7f-e35b42174e2d
name: Suspicious Google Doc Links
description: |
  Use this query to find emails with message IDs that resemble IDs used in known attack emails and contain a link a document in Google Docs. These behaviors have
  been observed leading to ransomware attacks.
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - EmailUrlInfo
  - EmailEvents
tactics:
- Initial access
- Ransomware
query: |
  EmailUrlInfo 
  | where Url startswith "https://docs.google.com/document/" 
  | join (EmailEvents 
  | where EmailDirection == "Inbound" 
  | where InternetMessageId matches regex "\\<\\w{ 38,42} \\@") on NetworkMessageId 

Required Data Sources

Sentinel TableNotes
EmailEventsEnsure this data connector is enabled
EmailUrlInfoEnsure 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/Ransomware/Suspicious Google Doc Links.yaml