Cloud case
Illicit OAuth app reading mail and cloud files
A user consented to an app from an unverified publisher with access to mail and files. What did it do with it?
- IntermediateLevel
- 25 minAbout
- New detailsEvery attempt
- KQL or SPLQuery language
Free. Read the briefing as a guest; investigating needs a free account.
The alert
High-privilege OAuth consent granted
jjohnson consented to some app with Mail + Files access. Publisher is Unverified. Feels wrong but not sure what it did
From one version of the case: the company, the people and the details change with every attempt.
About this kind of alert
Consent phishing: an application asks for permission to read mail and files, and a user grants it. No password is needed after that.
What you do
- Read the escalation from an L1 colleague and the events they attached.
- Hunt the logs in KQL (Microsoft Sentinel) or SPL (Splunk) and pin the evidence.
- Find the root cause and scope the incident: which accounts and hosts are affected.
- Map what you found to MITRE ATT&CK, set the severity and choose the response.
- Get a debrief: what happened, the evidence you missed, and what the attacker does next if you were wrong.
Logs you will query
| Microsoft Sentinel | Splunk |
|---|---|
EmailEvents | index=o365 sourcetype=o365:reporting:messagetrace |
AuditLogs | index=azure sourcetype=azure:monitor:aad |
SigninLogs | index=azure sourcetype=azure:monitor:aad |

