GitHub OAuth access token compromise

This rule is part of a beta feature. To learn more, contact Support.
이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Goal

Detect when an OAuth access token is used from multiple autonomous system numbers (ASNs) and multiple user agents.

Strategy

This rule monitors GitHub audit logs for anomalous activity related to usage of an OAuth access token. By looking at ASNs and user agents, it profiles the expected use of that OAuth token and alerts when the activity deviates from more than two ASNs or two user agents per user in the defined threshold.

Triage and response

  1. Determine if the behavior is unusual for the user:
    • Is the {{@network.client.geoip.as.name}} different than expected? And the {{@user_agent}}?
    • Speak with the user to verify if the OAuth access token behavior is expected.
  2. If the activity is suspicious:
    • Block the user in GitHub to prevent further access.
    • Begin your organization’s incident response process and investigate.
PREVIEWING: esther/docs-9478-fix-split-after-example