Skip to content
CyberSimStart training
Illustration for the case: Illicit OAuth app reading mail and cloud files

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?

Open this case

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

  1. Read the escalation from an L1 colleague and the events they attached.
  2. Hunt the logs in KQL (Microsoft Sentinel) or SPL (Splunk) and pin the evidence.
  3. Find the root cause and scope the incident: which accounts and hosts are affected.
  4. Map what you found to MITRE ATT&CK, set the severity and choose the response.
  5. Get a debrief: what happened, the evidence you missed, and what the attacker does next if you were wrong.

Logs you will query

Microsoft SentinelSplunk
EmailEventsindex=o365 sourcetype=o365:reporting:messagetrace
AuditLogsindex=azure sourcetype=azure:monitor:aad
SigninLogsindex=azure sourcetype=azure:monitor:aad

Part of

More cloud cases