High Number of Cloned GitHub Repos From PATedit

Detects a high number of unique private repo clone events originating from a single personal access token within a short time period.

Rule type: threshold

Rule indices:

  • logs-github.audit-*

Severity: low

Risk score: 21

Runs every: 5m

Searches indices from: now-6m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100

References: None

Tags:

  • Domain: Cloud
  • Use Case: Threat Detection
  • Use Case: UEBA
  • Tactic: Execution
  • Data Source: Github

Version: 1

Rule authors:

  • Elastic

Rule license: Elastic License v2

Rule queryedit

event.dataset:"github.audit" and event.category:"configuration" and event.action:"git.clone" and
github.programmatic_access_type:("OAuth access token" or "Fine-grained personal access token") and
github.repository_public:false

Framework: MITRE ATT&CKTM