LoFP LoFP / approved org moves between enterprises or decommission of a lab org. confirm with enterprise owners before treating as incident.

Techniques

Sample rules

GitHub Organization Removed or Transferred from Enterprise

Description

Identifies when a GitHub organization is removed from an enterprise or transferred to another enterprise. Removing an organization takes its repositories, members, audit history, and billing out of the enterprise’s centralized management and security monitoring, while a transfer hands the organization and its repositories to a different enterprise or owner. An adversary with enterprise owner access can use either action to move intellectual property beyond the organization’s visibility or to disrupt the enterprise’s governance and security controls.

Detection logic

from logs-github.audit-* metadata _id, _index, _version
| where
  event.module == "github" and data_stream.dataset == "github.audit"
    and event.action in ("business.remove_organization", "org.transfer_outgoing", "org.transfer")
| keep
    _id,
    _index,
    _version,
    @timestamp,
    event.action,
    user.name,
    github.org,
    github.actor_ip,
    github.hashed_token,
    github.programmatic_access_type,
    github.user_agent,
    github.business