GitHub OAuth Application Authorized
Detects when a user authorizes a GitHub OAuth application. Stolen OAuth grants persist after password changes until revoked and can clone or ZIP private repositories. This is not a GitHub App installation…
Description
Detects when a user authorizes a GitHub OAuth application. Stolen OAuth grants persist after password changes until revoked and can clone or ZIP private repositories. This is not a GitHub App installation (integration_installation.create).
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.
Known benign triggers
- Developers authorizing approved internal or vendor OAuth apps. Maintain an allowlist of expected application names and investigate first-time grants from unusual IPs or user agents.
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 |
|---|---|
| docs.github.com/en/apps/oauth-apps/using-oauth-apps/authorizing-oauth-apps | Only this detection cites it |
| github.blog/news-insights/company-news/security-alert-new-phishing-campaign-targets-github-users/ | Only this detection cites it |
| github.blog/news-insights/company-news/security-alert-stolen-oauth-user-tokens/ | 2 |
| securitylabs.datadoghq.com/articles/mapping-out-your-unknown-threat-hunters-guide-to-github/ | Only this detection cites it |
From the source
- At source
- Open at source
- Upstream identifier
- 3e8ae55e-5b66-40dc-b747-c314cf9fcef8
- Tagged by the source as
- Data Source: GithubData Source: GitHub Audit LogsDomain: CloudDomain: IdentityDomain: SaaSPlatform: GitHubProfile: BetaResources: Investigation GuideRule Type: ESQLTactic: Credential AccessTactic: PersistenceThreat: OAuth App ConsentUse Case: Threat Detection
Licence
- Published under
- Elastic License 2.0Read the licence
- Attribution
- Required
Authorship
- Written by
- Published
- Oct 2, 2026
- Version
- 1