Suspicious Github Repository/Organization Transferred (via audit)

This rule detects when a repository or an organization is being transferred to another location.

Sigmamediumv1
sigma
title: Suspicious Github Repository/Organization Transferred (via audit)
id: e8148a67-c504-522a-bb36-448b11208b1a
status: stable
description: This rule detects when a repository or an organization is being transferred to another location.
references:
    - https://attack.mitre.org/techniques/T1537/
    - https://attack.mitre.org/techniques/T1020/
    - https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository
    - https://docs.github.com/en/organizations/managing-organization-settings/transferring-organization-ownership
    - https://docs.github.com/en/migrations
    - https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise#migration
author: Huntrule Team
date: 2026-02-23
tags:
    - attack.persistence
    - attack.exfiltration
    - attack.t1020
    - attack.t1537
logsource:
    product: github
    service: audit
    definition: 'Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming'
detection:
    selection:
        action:
            - 'migration.create'
            - 'org.transfer_outgoing'
            - 'org.transfer'
            - 'repo.transfer_outgoing'
    condition: selection
falsepositives:
    - Unknown
level: medium

Known false positives

  • Unknown

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