O365 OAuth App Mailbox Access via Graph API
The following analytic detects when emails are accessed in Office 365 Exchange via the Microsoft Graph API using the client ID '00000003-0000-0000-c000-000000000000'. It leverages the 'MailItemsAccessed' operation…
Description
The following analytic detects when emails are accessed in Office 365 Exchange via the Microsoft Graph API using the client ID '00000003-0000-0000-c000-000000000000'. It leverages the 'MailItemsAccessed' operation within the Exchange workload, focusing on OAuth-authenticated applications. This activity is significant as unauthorized access to emails can lead to data breaches and information theft. If confirmed malicious, attackers could exfiltrate sensitive information, compromise user accounts, and further infiltrate the organization's network.
Detection logic
Detection requirements
- Platform
- Office SuiteWindows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- o365_mailitemsaccessed
Known benign triggers
- OAuth applications may access mailboxes for legitimate purposes, you can use the ClientAppId to add trusted applications to an allow list.
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 |
|---|---|
| attack.mitre.org/techniques/T1114/002/ | 8 |
| learn.microsoft.com/en-us/graph/permissions-reference | 5 |
| learn.microsoft.com/en-us/troubleshoot/azure/active-directory/verify-first-party-apps-sign-in | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 9db0d5b0-4058-4cb7-baaf-77d8143539a2
- Tagged by the source as
- NOBELIUM GroupOffice 365 Collection TechniquesO365 TenantcloudSplunk CloudSplunk EnterpriseSplunk Enterprise Securitythreat
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1