← Back to SOC feed Coverage →

Fake Replies

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

Hunt Hypothesis

Fake Replies detect spoofed email communications that mimic legitimate replies but contain suspicious keywords and link to Google Docs, indicating potential phishing attempts. SOC teams should proactively hunt for this behavior in Azure Sentinel to identify and mitigate early-stage phishing campaigns that could compromise user credentials and data.

KQL Query

let SubjectTerms = pack_array('onus','equired','all','urvey','eb', 'eport','you','nation','me','itting','book','ocument','ill'); 
EmailEvents 
| where EmailDirection == "Inbound" 
| where Subject startswith "RE:" 
| where Subject has_any(SubjectTerms) 
| join EmailUrlInfo on $left.NetworkMessageId == $right.NetworkMessageId 
| where Url startswith "https://docs.google.com/document/" 

Analytic Rule Definition

id: 8c4da386-7a95-4927-b24c-a13137294e0c
name: Fake Replies
description: |
  Use this query to find spoofed reply emails that contain certain keywords in the subject. The emails are also checked for a link to a document in Google Docs.
  These attacks have been observed leading to ransomware
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - EmailEvents
  - EmailUrlInfo
tactics:
- Initial access
- Ransomware
query: |
  let SubjectTerms = pack_array('onus','equired','all','urvey','eb', 'eport','you','nation','me','itting','book','ocument','ill'); 
  EmailEvents 
  | where EmailDirection == "Inbound" 
  | where Subject startswith "RE:" 
  | where Subject has_any(SubjectTerms) 
  | join EmailUrlInfo on $left.NetworkMessageId == $right.NetworkMessageId 
  | where Url startswith "https://docs.google.com/document/" 

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/Fake Replies.yaml