{"id":"04ad83ef-1a37-4c10-b57a-81092164bf33","title":"Github Repository/Organization Transferred","description":"Detects when a repository or an organization is being transferred to another location.","author":"Romain Gaillard (@romain-gaillard)","status":"test","level":"medium","date":"2024-07-29","modified":"","tags":["attack.persistence","attack.exfiltration","attack.t1020","attack.t1537"],"technique_ids":["T1020","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"},"falsepositives":["Allowed administrative activities."],"references":["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"],"source_path":"rules/application/github/audit/github_repo_or_org_transferred.yml","source_sha256":"23ee97b6ecc61e85f2320096f858a592450188ded0b388e4b20c215f4e404ea5","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/application/github/audit/github_repo_or_org_transferred.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Github Repository/Organization Transferred\nid: 04ad83ef-1a37-4c10-b57a-81092164bf33\nstatus: test\ndescription: Detects when a repository or an organization is being transferred to another location.\nreferences:\n    - https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository\n    - https://docs.github.com/en/organizations/managing-organization-settings/transferring-organization-ownership\n    - https://docs.github.com/en/migrations\n    - 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\nauthor: Romain Gaillard (@romain-gaillard)\ndate: 2024-07-29\ntags:\n    - attack.persistence\n    - attack.exfiltration\n    - attack.t1020\n    - attack.t1537\nlogsource:\n    product: github\n    service: audit\n    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'\ndetection:\n    selection:\n        action:\n            - 'migration.create' # A migration file was created for transferring data from a source location (such as a GitHub.com organization or a GitHub Enterprise Server instance) to a target GitHub Enterprise Server instance.\n            - 'org.transfer_outgoing' # An organization was transferred between enterprise accounts.\n            - 'org.transfer' # An organization was transferred between enterprise accounts.\n            - 'repo.transfer_outgoing' # A repository was transferred to another repository network.\n    condition: selection\nfalsepositives:\n    - Allowed administrative activities.\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1020","id":"T1020","name":"Automated Exfiltration","page":"techniques/enterprise/T1020/"},{"key":"enterprise/T1537","id":"T1537","name":"Transfer Data to Cloud Account","page":"techniques/enterprise/T1537/"}],"data_path":"data/detection-rules/04ad83ef-1a37-4c10-b57a-81092164bf33.json","kind":"sigma"}
