
Summary
The rule “GitHub Payment Method Removed” detects the removal of a payment instrument from a GitHub organization or enterprise by auditing GitHub’s payment_method.remove events. It focuses on high-privilege billing actions that can disrupt a paid plan, downgrading features, or suspending private repos. The detector analyzes the GitHub audit logs (dataset github.audit) for actions where event.action equals payment_method.remove. Key fields exposed for triage include the actor (user.name, github.actor_ip), the token used (github.hashed_token, github.programmatic_access_type), and the affected scope (github.org, github.business). The detection is aligned with MITRE ATT&CK’s Impact tactic (TA0040) and technique T1531 (Account Access Removal), reflecting the risk of an actor with billing-manager or owner privileges abusing payment operations to disrupt services or to mask fraudulent changes during extortion or takeover scenarios. The rule includes an investigation guide that instructs validating authorization, correlating with related plan or ownership changes, and verifying if the action is part of routine card rotations or planned changes. It also prescribes containment and remediation steps, such as restoring a valid payment method, revoking tokens, reviewing privileged roles, and coordinating with finance and IR teams if account takeover or fraud is suspected. The rule provides a structured path for detection, triage, and response, while acknowledging legitimate maintenance activities as potential false positives.”
Categories
- Cloud
- Web
- Application
Data Sources
- Application Log
ATT&CK Techniques
- T1531
Created: 2026-09-22