First Time Seen Google Workspace OAuth Login from Third-Party Application
Detects the first time a user authorizes a third-party Google OAuth application that requests identity or sign-in scopes. Adversaries may abuse compromised credentials or phishing-linked consent flows to register…
Description
Detects the first time a user authorizes a third-party Google OAuth application that requests identity or sign-in scopes. Adversaries may abuse compromised credentials or phishing-linked consent flows to register novel OAuth clients, obtain refresh tokens, and authenticate as valid users while evading password-only detections.
Detection logic
Its licence does not clear it for publishing here
Sunturai publishes a detection's own text where the licence it arrived under has been reviewed and permits it, and Elastic License 2.0 has not. The query as its source wrote it, its canonical form and the hash that pins this revision are in the workspace record.
Detection requirements
- Platform
- ContainersESXiIaaSIdentity ProviderLinuxmacOSNetwork DevicesOffice SuiteSaaSWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- event_index
Known benign triggers
- Developers may leverage third-party applications for legitimate purposes in Google Workspace such as for administrative tasks.
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 |
|---|---|
| developers.google.com/apps-script/guides/bound | 2 |
| developers.google.com/identity/protocols/oauth2 | 2 |
| www.elastic.co/security-labs/google-workspace-attack-surface-part-one | 28 |
| www.elastic.co/security-labs/google-workspace-attack-surface-part-two | 24 |
From the source
- At source
- Open at source
- Upstream identifier
- 21bafdf0-cf17-11ed-bd57-f661ea17fbcc
- Tagged by the source as
- Data Source: Google WorkspaceDomain: CloudDomain: SaaSNoise: MediumPerformance: FastPlatform: Google WorkspaceResources: Investigation GuideRule Type: New TermsTactic: Defense EvasionTactic: Initial AccessTactic: Persistence
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Sep 20, 2026
- Version
- 3