Github Activity on a Private Repository from an Unusual IP

edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Github Activity on a Private Repository from an Unusual IP

edit

Detects when there is activity on a private GitHub repository from an unusual IP address. Adversaries may access private repositories from unfamiliar IPs to exfiltrate sensitive code or data, potentially indicating a compromise or unauthorized access.

Rule type: new_terms

Rule indices:

  • logs-github.audit-*

Severity: low

Risk score: 21

Runs every: 5m

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

Maximum alerts per execution: 100

References:

Tags:

  • Domain: Cloud
  • Use Case: Threat Detection
  • Tactic: Impact
  • Tactic: Initial Access
  • Tactic: Persistence
  • Data Source: Github
  • Data Source: GitHub Audit Logs
  • Resources: Investigation Guide
  • Noise: High
  • Performance: Fast
  • Profile: Aggressive
  • Threat: Supply Chain
  • Rule Type: New Terms
  • Platform: GitHub
  • Domain: SaaS

Version: 4

Rule authors:

  • Elastic

Rule license: Elastic License v2

Rule query

edit
data_stream.dataset:"github.audit" and event.action:("git.push" or "git.clone") and github.repository_public:false

Framework: MITRE ATT&CKTM