Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: splunk-security-content-27ab61c5-f08a-438a-b4d3-325e666490b3
name: O365 Mailbox Read Access Granted to Application
description: The following analytic identifies instances where the Mail.Read Graph
API permissions are granted to an application registration within an Office 365
tenant. It leverages O365 audit logs, specifically events related to changes in
application permissions within the AzureActiveDirectory workload. This activity
is significant because the Mail.Read permission allows applications to access and
read all emails within a user's mailbox, which often contain sensitive or confidential
information. If confirmed malicious, this could lead to data exfiltration, spear-phishing
attacks, or further compromise based on the information gathered from the emails.
severity: medium
enabled: false
tags:
mitre:
- T1098.003
- T1114.002
categories:
- cloud
references:
- https://attack.mitre.org/techniques/T1098/003/
- https://attack.mitre.org/techniques/T1114/002/
- https://www.mandiant.com/sites/default/files/2022-08/remediation-hardening-strategies-for-m365-defend-against-apt29-white-paper.pdf
- https://www.cisa.gov/sites/default/files/publications/Supply_Chain_Compromise_Detecting_APT_Activity_from_known_TTPs.pdf
- https://learn.microsoft.com/en-us/graph/permissions-reference
- https://graphpermissions.merill.net/permission/Mail.Read
logsource:
product: splunk
detection:
splunk_spl: '`o365_management_activity` Operation="Update application." | eval json_data=mvindex(''ModifiedProperties{}.NewValue'',0)
| eval json_data=replace(json_data,"^\[\s*","") | eval json_data=replace(json_data,"\s*\]$","")
| spath input=json_data path=RequiredAppPermissions{}.EntitlementId output=EntitlementIds
| eval match_found=mvfind(EntitlementIds, "810c84a8-4a9e-49e6-bf7d-12d183f40d01")
| where isnotnull(match_found) | fillnull | stats count earliest(_time) as firstTime
max(_time) as lastTime values(EntitlementIds) as EntitlementIds by signature,
user, dest, vendor_account, vendor_product, object, src | `security_content_ctime(firstTime)`
| `security_content_ctime(lastTime)` | `o365_mailbox_read_access_granted_to_application_filter`'
provenance:
source: splunk/security_content
source_id: 27ab61c5-f08a-438a-b4d3-325e666490b3
source_commit: 4d4c7ee
license: Apache-2.0
license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
imported_at: '2026-05-04'
imported_by: splunk_importer
upstream_path: detections/cloud/o365_mailbox_read_access_granted_to_application.yml
notes:
splunk_status: production
splunk_data_source: []
quarantine_reason: raw SPL — needs translation to AiSOC detection schema