O365 Mail Permissioned Application Consent Granted by User
The following analytic identifies instances where a user grants consent to an application requesting mail-related permissions within the Office 365 environment. It leverages O365 audit logs, specifically focusing on…
Description
The following analytic identifies instances where a user grants consent to an application requesting mail-related permissions within the Office 365 environment. It leverages O365 audit logs, specifically focusing on events related to application permissions and user consent actions. This activity is significant as it can indicate potential security risks, such as data exfiltration or spear phishing, if malicious applications gain access. If confirmed malicious, this could lead to unauthorized data access, email forwarding, or sending malicious emails from the compromised account. Validating the legitimacy of the application and consent context is crucial to prevent data breaches.
Detection logic
Detection requirements
- Platform
- ContainersIaaSIdentity ProviderOffice SuiteSaaS
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- o365_consent_to_application
Known benign triggers
- OAuth applications that require mail permissions may be legitimate, investigate and filter as needed.
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/T1528/ | 9from 2 sources |
| github.com/AlteredSecurity/365-Stealer | 8from 2 sources |
| learn.microsoft.com/en-us/azure/active-directory/manage-apps/protect-against-consent-phishing | 6 |
| learn.microsoft.com/en-us/defender-cloud-apps/investigate-risky-oauth | 10from 2 sources |
| www.alteredsecurity.com/post/introduction-to-365-stealer | 7 |
| www.microsoft.com/en-us/security/blog/2022/09/22/malicious-oauth-applications-used-to-compromise-email-servers-and-spread-spam/ | 8from 2 sources |
From the source
- At source
- Open at source
- Upstream identifier
- fddad083-cdf5-419d-83c6-baa85e329595
- Tagged by the source as
- Office 365 Account TakeoverO365 TenantcloudSplunk CloudSplunk EnterpriseSplunk Enterprise Securityidentity
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