T1567.001 Exfiltration to Code Repository
Exfiltrationon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0318 Detection Strategy for Exfiltration to Code Repository
AN0895 Windows
Processes such as PowerShell, Git, or curl initiating outbound HTTPS POST requests to known code repository APIs (e.g., github.com, gitlab.com) immediately following large file reads. Defender view: correlation between file access of sensitive directories (e.g., Documents, Finance) and abnormal data uploads to repository domains.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4663, 4670, 4656 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0896 Linux
Processes like git, curl, or python scripts executing commands that package files (tar, gzip) followed by HTTPS uploads to code repository endpoints. Defender view: detect unusual git push activity or scripted HTTPS requests outside normal developer work hours.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:EXECVEgit push, curl -X POST | Not mapped to Sentinel yet. |
auditd:SYSCALLopen/read of sensitive directories | Not mapped to Sentinel yet. |
NSM:Flowlarge outbound HTTPS uploads to repo domains | Not mapped to Sentinel yet. |
AN0897 macOS
Office or scripting applications initiating unusual HTTPS traffic to code repository APIs with high outbound-to-inbound ratios. Defender perspective: monitor for sensitive file access in combination with network connections to github.com, gitlab.com, or bitbucket.org.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogexecution of curl, git, or Office processes with network connections | Not mapped to Sentinel yet. |
macos:unifiedlogread of user document directories | Not mapped to Sentinel yet. |
macos:unifiedlogoutbound HTTPS connections to code repository APIs | Not mapped to Sentinel yet. |
AN0898 ESXi
ESXi host processes (vmx, hostd) initiating HTTPS sessions toward external code repositories. Defender perspective: detect datastore reads followed by outbound web traffic inconsistent with administrative baselines.
| MITRE log source | In Microsoft Sentinel |
|---|---|
esxi:hostddatastore file access | Not mapped to Sentinel yet. |
esxi:vmkernelHTTPS traffic to repository domains | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (1)
How the Content Hub rules for T1567.001 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
2 SigmaHQ community rules name it in their tags.
Mitigations
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.