Skip to content
Threat Feed
medium advisory

Version Control Systems DFIR and Incident Readiness

Threat actors are increasingly exploiting Version Control Systems for supply chain compromise, necessitating proactive audit log streaming and metadata configuration to overcome significant platform-specific visibility gaps.

Security teams face significant challenges in responding to incidents within Version Control Systems (VCS) due to highly variable audit logging capabilities, default retention limitations, and platform-specific terminology. Research by Wiz CIRT highlights that threat actors frequently leverage VCS compromises for initial access, lateral movement, and data exfiltration, including mass repository cloning to steal plaintext secrets.

Defenders are often hampered by visibility blind spots: many SaaS providers abstract away raw API request logs, and default settings often fail to capture critical metadata like source IP addresses. Furthermore, short retention periods - such as GitHub’s default 7-day retention for Git operations - make historical forensics nearly impossible without pre-configured log streaming to an external security platform. Effective response requires moving beyond UI-based investigation to a centralized, streaming-based logging architecture, and ensuring platform-specific configurations are enabled prior to any security incident.

Impact

Successful exploitation of VCS environments enables attackers to exfiltrate proprietary code, steal credentials for lateral movement into broader cloud infrastructure, and inject malicious code into software supply chains. The inability to scope a breach due to missing historical logs often forces organizations into broad, highly disruptive, and costly credential rotation efforts rather than surgical remediation.

Recommendation

  • Implement centralized log streaming to a dedicated security platform to bypass restrictive native retention limits and avoid relying on VCS UI/APIs during an active incident.
  • Enable "Complete Metadata" logging across all VCS environments, specifically ensuring that source IP addresses are captured in audit logs.
  • Review the Wiz CIRT VCS DFIR matrix to map platform-specific audit event names (e.g., git.clone, repository_git_operation) to your internal detection and hunting queries.
  • Conduct a gap analysis of current VCS license tiers against the telemetry requirements listed in the VCS DFIR poster to identify missing visibility into API-level and Git-level operations.

Immediate actions

Audit VCS platform configurations to enable source IP logging and extend log retention through streaming.

SOC 72h

Threat Hunt

Mass repository cloning activities indicative of secret harvesting.

T1567 high high confidence hunt now

Data: git.clone events (GitHub), repository_git_operation (GitLab), RepositoryCloneEvent (Bitbucket)