LiveActive security incident?Get immediate response
MITRE ATT&CK® Technique

T1567.001: Exfiltration to Code Repository

Adversaries may exfiltrate data to a code repository rather than over their primary command and control channel. Code repositories are often accessible via an API (ex: https://api.github.com). Access to these APIs are often over HTTPS, which gives the adversary an additional level of protection.

Exfiltration to a code repository can also provide a significant amount of cover to the adversary if it is a popular service already used by hosts within the network.

EnterpriseT1567.001Sub-techniqueObject v1.2Modified
Glexia's Take · Automated analysis

Security context for executives and security teams

Automation confidenceHigh

Exfiltration to Code Repository matters because it can make data theft look like normal developer or automation traffic. If code repository services are already allowed over HTTPS, an adversary may get cover from trusted destinations and encrypted web traffic instead of using an obvious command-and-control channel.

Executive priority

Treat this as a control-validation issue for organizations that use code repositories, developer tooling, or automated build workflows from ESXi, Linux, macOS, or Windows systems. Leaders should ask whether repository access is business-justified by host and identity, whether web filtering policy can distinguish approved from unapproved repository use, and whether SOC and IR teams can produce evidence of unusual uploads to repository APIs during an investigation.

Technical view

This is an exfiltration sub-technique of Exfiltration Over Web Service. SOC and detection teams should validate visibility into outbound HTTPS connections to code repository services and APIs, especially from systems or accounts that do not normally publish code or artifacts. ATT&CK does not provide official detection text for this object, but the relationship to DET0318 indicates a detection strategy exists. The related mitigation is M1021 Restrict Web-Based Content, so validation should focus on whether proxy, URL filtering, and web access controls can limit or alert on unauthorized repository destinations and behaviors.

Likely telemetry

  • Web proxy and secure web gateway logs for repository domains and API endpoints
  • DNS queries and network connection metadata for outbound HTTPS to code repository services
  • Endpoint process and command-line telemetry associated with repository clients, scripts, or API upload activity
  • Authentication and access logs from approved code repository services where available
  • Data transfer volume, timing, and destination metadata for unusual outbound uploads

Detection direction

  • Baseline which hosts, users, service accounts, and automation systems are expected to access code repositories, then alert on deviations.
  • Prioritize detection of unusual upload volume, new repository destinations, API access from non-developer systems, or repository access outside normal workflows.
  • Tune carefully for legitimate developer and CI/CD activity; popular repository services may be common in the environment and create false positives without asset and identity context.
  • Confirm whether HTTPS inspection, proxy logging, or destination metadata is sufficient; encryption may limit content visibility.
  • Use relationship context from the parent technique, Exfiltration Over Web Service, to look for abuse of legitimate web services permitted by firewall policy.

Mitigation priorities

  • Restrict web-based content by allowing repository access only where business-justified, using proxy or URL filtering controls.
  • Define approved repository services and block or monitor access to unapproved repository destinations and APIs.
  • Tie access policy to asset role and identity so servers, workstations, and automation accounts do not all have the same outbound permissions.
  • Review repository authentication and access governance, especially for accounts and tokens used by developer or automation workflows.
  • Ensure incident response playbooks include collection of proxy, endpoint, DNS, and repository audit evidence for suspected exfiltration.
Additional notes and limits

Related software includes Empire and Shai-Hulud as using this technique, and the parent technique is Exfiltration Over Web Service. These relationships increase the need to evaluate both endpoint and web-service telemetry, but they do not by themselves prove exposure or active activity in any specific environment.

The supplied ATT&CK object has no official detection text. Details such as specific repository providers, API paths, event IDs, or validated analytics are not provided in the source fields, so local baselines and control evidence are required before making coverage claims.

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Official MITRE ATT&CK definition

Exfiltration to Code Repository

Adversaries may exfiltrate data to a code repository rather than over their primary command and control channel. Code repositories are often accessible via an API (ex: https://api.github.com). Access to these APIs are often over HTTPS, which gives the adversary an additional level of protection.

Exfiltration to a code repository can also provide a significant amount of cover to the adversary if it is a popular service already used by hosts within the network.

View the same entry on attack.mitre.org (MITRE-hosted reference; in-page links above use the Glexia ATT&CK library.)

Glexia analysis

How security teams should use this page

Treat this object as behavior context, not an attribution claim. Validate the related groups, software, data sources, and mitigations against official ATT&CK relationships and your own telemetry before making control-coverage decisions.

ATT&CK relationship table

Related techniques

This mirrors the MITRE pattern of making group, software, campaign, and technique relationships scannable. Relationship notes come from mirrored ATT&CK relationship text when available.

1 rows
DomainIDNameRelationship / procedure
EnterpriseT1567Exfiltration Over Web ServiceThis object subtechnique of Exfiltration Over Web Service.
Associated objects

Groups, software, and campaigns

ToolEnterprise

S0363: Empire

Empire is an open-source, cross-platform remote administration and post-exploitation framework that is publicly available on GitHub. While the tool itself is primarily written in Python, the post-exploitation agents are written in pure PowerShell for Windows and Python for Linux/macOS. Empire was one of five tools singled out by a joint report on public hacking tools being widely used by adversaries.[1][2][3]

LinuxmacOSWindows
MalwareEnterprise

S9008: Shai-Hulud

Shai-Hulud is a supply chain worm, first reported in September 2025, that spreads through code repositories, including GitHub and NPM packages. It exploits CI/CD pipeline dependencies to propagate to victims and poisons the supply chain by publishing malicious packages. Once inside a victim environment, Shai-Hulud steals credentials and access tokens from compromised repository accounts and exfiltrates them to attacker-controlled servers via encoded GitHub Actions workflows.[1][2][3][4][5][6][7]

LinuxSaaSWindows
Relationship explorer

All related ATT&CK context

Mitigations

Mitigation direction

Change history

Object version and sync metadata

The fields below describe the current mirrored snapshot. When Glexia retains multiple ATT&CK source imports, you can open the table to compare the same object across releases (hashes and MITRE timestamps). For MITRE’s own release notes and roadmap, see ATT&CK resources — Updates.

ATT&CK release
19.1
Object version
1.2
Created
Modified
Raw hash
0bf1a1d3c016c480...
Imported snapshots across ATT&CK releases(1)
ReleaseBundle importedObject versionModifiedStatusRaw hash
19.11.2Current bundle0bf1a1d3c016…
Raw source

Mirrored ATT&CK source object

The raw object is retained through the mirrored ATT&CK source bundle and object hash. The raw endpoint returns the exact object from the mirrored bundle when available.

Source references

External references and citations

MITRE external references are preserved separately from Glexia analysis so citations remain traceable to their original source records.

  1. [1]
    Github PowerShell Empire

    Schroeder, W., Warner, J., Nelson, M. (n.d.). Github PowerShellEmpire. Retrieved April 28, 2016.

    Open source URL
  2. [2]
    Aikido Shai-Hulud September 2025

    Charlie Eriksen. (2025, September 16). S1ngularity/nx attackers strike again. Retrieved April 9, 2026.

    Open source URL
  3. [3]
    Netskope Shai-Hulud November 2025

    Gianpietro Cutolo. (2025, November 26). Shai-Hulud 2.0: Aggressive, Automated, and Fast Spreading. Retrieved April 9, 2026.

    Open source URL
  4. [4]
    Wiz Shai-Hulud September 2025

    Merav Bar, Rami McCarthy, Barak Sharoni. (2025, September 16). Shai-Hulud: Ongoing Package Supply Chain Worm Delivering Data-Stealing Malware. Retrieved April 9, 2026.

    Open source URL
  5. [5]
    Palo Alto Unit 42 Shai-Hulud November 2025

    Justin Moore. (2025, November 25). "Shai-Hulud" Worm Compromises npm Ecosystem in Supply Chain Attack (Updated November 26). Retrieved April 9, 2026.

    Open source URL
  6. [6]
    Microsoft Shai-Hulud December 2025

    Microsoft Defender Security Team. (n.d.). Shai-Hulud 2.0: Guidance for detecting, investigating, and defending against the supply chain attack. Retrieved April 9, 2026.

    Open source URL
  7. [7]
    Socket Shai-Hulud November 2025

    Socket Research Team. (2025, November 24). Shai Hulud Strikes Again (v2). Retrieved April 9, 2026.

    Open source URL
  8. [8]
    Socket Shai-Hulud Trufflehog September 2025

    Socket Research Team. (2025, September 15). Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages. Retrieved April 9, 2026.

    Open source URL
  9. [9]
    mitre-attackT1567.001
    Open source URL
  10. [10]
    mitre-attackT1567.001
    Open source URL
  11. [11]
    mitre-attackT1567.001
    Open source URL
  12. [12]
    Github PowerShell Empire

    Schroeder, W., Warner, J., Nelson, M. (n.d.). Github PowerShellEmpire. Retrieved April 28, 2016.

    Open source URL
  13. [13]
    Aikido Shai-Hulud September 2025

    Charlie Eriksen. (2025, September 16). S1ngularity/nx attackers strike again. Retrieved April 9, 2026.

    Open source URL
  14. [14]
    Microsoft Shai-Hulud December 2025

    Microsoft Defender Security Team. (n.d.). Shai-Hulud 2.0: Guidance for detecting, investigating, and defending against the supply chain attack. Retrieved April 9, 2026.

    Open source URL
  15. [15]
    Netskope Shai-Hulud November 2025

    Gianpietro Cutolo. (2025, November 26). Shai-Hulud 2.0: Aggressive, Automated, and Fast Spreading. Retrieved April 9, 2026.

    Open source URL
  16. [16]
    Palo Alto Unit 42 Shai-Hulud November 2025

    Justin Moore. (2025, November 25). "Shai-Hulud" Worm Compromises npm Ecosystem in Supply Chain Attack (Updated November 26). Retrieved April 9, 2026.

    Open source URL
  17. [17]
    Socket Shai-Hulud November 2025

    Socket Research Team. (2025, November 24). Shai Hulud Strikes Again (v2). Retrieved April 9, 2026.

    Open source URL
  18. [18]
    Socket Shai-Hulud Trufflehog September 2025

    Socket Research Team. (2025, September 15). Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages. Retrieved April 9, 2026.

    Open source URL
  19. [19]
    Wiz Shai-Hulud September 2025

    Merav Bar, Rami McCarthy, Barak Sharoni. (2025, September 16). Shai-Hulud: Ongoing Package Supply Chain Worm Delivering Data-Stealing Malware. Retrieved April 9, 2026.

    Open source URL
Source and licensing

Source: MITRE ATT&CK®. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. MITRE ATT&CK and ATT&CK are registered trademarks of The MITRE Corporation. Glexia is not affiliated with or endorsed by MITRE.