SCENARIO 13 / APPLICATIONS

Illicit OAuth consent

Identify applications granted access through a consent interaction rather than a stolen password.

M365-13ApplicationsInvestigation playbook

How the scenario unfolds

A user or administrator grants an application permission to read or change organizational data. The prompt can be genuine while the application’s purpose is deceptive. Delegated access acts in a user context; application permissions enable app-only access. The distinction changes both impact and containment.

Conditions to examine

Unrestricted consent, weak application review and administrators approving broad permissions because an app name or publisher appears familiar.

Signals to investigate

  • New consent for mail, files or directory access without an approved application record.
  • A sudden expansion of permissions for an existing integration.
  • Data access by the application that differs from its declared business purpose.

Evidence to collect

Capture application ID, service-principal object ID, publisher and home tenant, grant type, permission scope, consenting identity and the grant’s timestamp. Review resource activity and the current grant inventory as well as audit history.

Open related example Q05

Investigation sequence

  1. Verify the application with its business owner using stable identifiers, not its display name.
  2. Determine the effective delegated or app-only scope and which users or resources it could reach.
  3. Correlate consent with sign-ins and workload access, identifying whether the grant is suspicious, excessive or confirmed malicious.

Reduce the exposure

  • Constrain user consent and route higher-impact requests through a reviewed approval process.
  • Require a named owner, justified permissions and a periodic review for each integration.
  • Review permission changes after initial approval; publisher verification alone is not a security assessment.

Contain and recover

  • Preserve the grant details, then remove unauthorised grants or disable the application as appropriate.
  • Investigate affected data and identities; a user password reset does not remove the application’s permission grant.
VERIFY THE OUTCOME

Verify that the unwanted grant is absent and resource access is denied. Review other grants made by the same actor and test legitimate dependent integrations.

Interpret with care

A broad permission can be legitimate but still requires justification. A misleading name is an indicator for review, not proof of maliciousness; consent history may be shorter than the application’s lifetime.

Technical references

[18] [19]