This rule identifies accounts with a high volume of false positive submissions, which may indicate an adversary using T1566 (Phishing) to test email gateway filters or a compromised account generating noise to obscure malicious activity. Proactively hunting for this behavior allows the SOC to distinguish between legitimate user error and targeted phishing campaigns or credential abuse before they result in a successful breach.
CloudAppEvents
| where ActionType == "UserSubmission"
| extend RawData = parse_json(RawEventData)
| extend RecordType = toint(RawData.RecordType), SubmissionType = tostring(RawData.SubmissionType), UserId = tostring(RawData.UserId)
| where RecordType == 29 and SubmissionType == "3"
| summarize count() by UserId
| top 15 by count_
| render piechart
id: fa0ce1b0-59fa-4fea-87e8-6752951cec3f
name: Top accounts performing user submissions (FP)
description: |
This query visualises the top accounts performing user false positive submissions.
description-detailed: |
This query visualises the top accounts performing user false positive submissions.
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: |
CloudAppEvents
| where ActionType == "UserSubmission"
| extend RawData = parse_json(RawEventData)
| extend RecordType = toint(RawData.RecordType), SubmissionType = tostring(RawData.SubmissionType), UserId = tostring(RawData.UserId)
| where RecordType == 29 and SubmissionType == "3"
| summarize count() by UserId
| top 15 by count_
| render piechart
version: 1.0.0
| Sentinel Table | Notes |
|---|---|
CloudAppEvents | Ensure this data connector is enabled |
svc-crm-integration) used by a CRM or ERP system (like Salesforce or SAP) that makes high-frequency GET or POST requests to the API gateway for data synchronization. This legitimate automated traffic often lacks a human-like User-Agent or session context, triggering “user submission” heuristics.
svc-* or api-* patterns, or filter out requests where the User-Agent header contains python-requests, axios, or specific SDK identifiers (e.g., Salesforce-SDK).ci-cd in the identity provider, and filter out requests where the Authorization header uses a Bearer token associated with a machine identity rather than a user session.monitoring-agent, health-checker, or `lb-probe