← Back to SOC feed Coverage →

User Email Submission Trend (FP)

kql MEDIUM Azure-Sentinel
T1566
CloudAppEvents
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 rule identifies anomalous spikes in user-reported false positive emails, which can signal an adversary leveraging T1566 (Phishing) to blend malicious messages with legitimate traffic or to test email filtering mechanisms. Proactively hunting for this trend allows the SOC to distinguish between routine user noise and targeted phishing campaigns that are evading automated detection, ensuring timely investigation of potential initial access vectors.

KQL Query

let TimeStart = startofday(ago(30d));
let TimeEnd = startofday(now());
CloudAppEvents
| where Timestamp >= TimeStart and Timestamp < TimeEnd
| where ActionType == "UserSubmission"
| extend RawData = parse_json(RawEventData)
| where tostring(RawData.SubmissionType) == "3" and tostring(RawData.SubmissionContentType) == "Mail"
| make-series Count = count() default = 0 on Timestamp from TimeStart to TimeEnd step 1d
| extend Details = "User_Email_FP"
| project Count, Details, Timestamp
| render timechart

Analytic Rule Definition

id: 98ed7471-ce5e-4d48-b9f9-dae4cf045b3e
name: User Email Submission Trend (FP)
description: |
  This query visualises the daily amount of user false positive email submissions over time.
description-detailed: |
  This query visualises the daily amount of user false positive email submissions over time.
  Query is also included as part of the Defender for Office 365 solution in Sentinel: https://techcommunity.microsoft.com/blog/microsoftdefenderforoffice365blog/part-2-build-custom-email-security-reports-and-dashboards-with-workbooks-in-micr/4411303
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
  dataTypes:
  - CloudAppEvents
tactics:
  - InitialAccess
relevantTechniques:
  - T1566
query: |
  let TimeStart = startofday(ago(30d));
  let TimeEnd = startofday(now());
  CloudAppEvents
  | where Timestamp >= TimeStart and Timestamp < TimeEnd
  | where ActionType == "UserSubmission"
  | extend RawData = parse_json(RawEventData)
  | where tostring(RawData.SubmissionType) == "3" and tostring(RawData.SubmissionContentType) == "Mail"
  | make-series Count = count() default = 0 on Timestamp from TimeStart to TimeEnd step 1d
  | extend Details = "User_Email_FP"
  | project Count, Details, Timestamp
  | render timechart
version: 1.0.0

Required Data Sources

Sentinel TableNotes
CloudAppEventsEnsure 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/Submissions/User Submissions Trend - FP.yaml