M365 Exchange Mailbox Accessed by Unusual Client
Identifies suspicious Microsoft 365 mail access by ClientAppId. This rule detects when a user accesses their mailbox using a client application that is not typically used by the user, which may indicate potential…
Description
Identifies suspicious Microsoft 365 mail access by ClientAppId. This rule detects when a user accesses their mailbox using a client application that is not typically used by the user, which may indicate potential compromise or unauthorized access attempts. Adversaries may use custom or third-party applications to access mailboxes, bypassing standard security controls. First-party Microsoft applications are also abused after OAuth tokens are compromised, allowing adversaries to access mailboxes without raising suspicion.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- LinuxmacOSOffice SuiteWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- event_index
Known benign triggers
- User using a new mail client or mobile application to access their mailbox.
- Users accessing their mailboxes using custom or third-party applications that are authorized by the organization, such as CRM or ERP systems.
- Users accessing their mailboxes using first-party Microsoft applications that are not typically used by the user, such as Outlook on the web or Outlook mobile app.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| learn.microsoft.com/en-us/purview/audit-log-investigate-accounts | 2 |
| trustedsec.com/blog/mailitemsaccessed-woes-m365-investigation-challenges | Only this detection cites it |
| www.cisa.gov/news-events/cybersecurity-advisories/aa23-193a | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 48819484-9826-4083-9eba-1da74cd0eaf2
- Tagged by the source as
- Data Source: Microsoft 365Data Source: Microsoft 365 Audit LogsDomain: CloudDomain: EmailDomain: SaaSNoise: MediumPerformance: NormalPlatform: Microsoft 365Resources: Investigation GuideRule Type: New TermsService: Microsoft Exchange OnlineTactic: CollectionUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3