GitHub Audit Logs: Private/Internal Forking Policy Enabled or Cleared

Alerts on GitHub audit log policy changes that enable or clear forking of private and internal repositories.

FreeReviewedSigma · Medium · v5
Product
github
Service
audit
Author
Romain Gaillard (@romain-gaillard) (SigmaHQ), DRL 1.1
Published
2024-07-29
Updated
2026-07-31

ATT&CK techniques

Exfiltration
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Cred Access

  9. Discovery

  10. Lateral Movement

  11. Collection

  12. C2

  13. Impact

What it detects

This rule flags changes to the GitHub enterprise/repository/organization policy that controls whether private and internal repositories can be forked. Allowing or clearing this setting can materially affect data exposure and persistence by changing who can create forks of restricted code. It relies on GitHub audit log events capturing the specific policy state transition actions.

Related detections9 linkedT1020 — drag to rearrange
GitHub Audit Log: Repository or Organization Transfer Detected
Suspicious Compute Disk IAM Policy Modification Granting Owner Role via GCP Audit
Suspicious EBS Snapshot Shared With External Account via CloudTrail
Suspicious GCP Bucket Deletion for Namespace Hijacking (via gcp)
Detect Email Forwarding/Redirecting via Exchange PowerShell InboxRule Cmdlets on Windows
AWS CloudTrail: RDS Cluster Modification or Deletion (ModifyDBCluster/DeleteDBCluster)
O365 Mail Forwarding and Redirecting Rule Changes
PowerShell Script Reading Files and Resolving DNS Host Entries
PowerShell script exfiltration using Invoke-WebRequest with POST or PUT
GitHub Audit Logs: Private/Internal Forking Policy Enabled or Cleared
Pivot detection · T1020 · 9 related

Changelog

v5
  1. v5
    Candidate ingested via manual entry.2026-07-31
  2. v4
    Candidate ingested via manual entry.2026-07-31
  3. v3
    Candidate ingested via manual entry.2026-07-31
  4. v2
    Candidate ingested via manual entry.2026-07-31
  5. v1
    No changelog recorded for this version.2026-07-30

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.