ATT&CK Reference
Portfolio

TA0009 · COLLECTION

Code Repositories

Adversaries may leverage code repositories to collect valuable information. Code repositories are tools/services that store source code and automate software builds.

Detect it with

Monitor access to code repositories, especially performed by privileged users such as Active Directory Domain or Enterprise Administrators as these types of accounts should generally not be used to access code repositories.

Why it matters on shift

Code Repositories is one of the concrete ways adversaries achieve collection. Recognising it in telemetry lets you name the technique in your ticket and pivot to what came before and after.

What to look for next

After collection, the next tactic is usually Command and Control. Search your telemetry for the transition before closing the ticket.

Kill-chain context

← beforeLateral MovementCollectionafter →Command and Control