Exfiltration Over Web Service: Exfiltration to Code Repository T1567.001

Tactic: Exfiltration

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.

Events covered

2 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 11 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (21 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
EventType5eq 5git.clone, protected_branch.policy_override, protected_branch.rejected_ref_update, pull_request.close, repo.access
data_stream.dataset5eq 5github.audit
github.category4eq 4protected_branch, pull_request, repo
event.type3eq 3change
Esql.document_count2ge 210, 5
Esql.event_count2ge 210, 25
dns.question.name2is_not_null 2, wildcard 2*.2miners.com, *.4shared.com, *.antpool.com, *.blob.core.windows.net, *.blob.storage.azure.net
process_name2is_not_null 2
CommandLine1contains 1-encodedcommand
DestinationHostname1ends_with 1.devtunnels.ms
EfectiveCommand1regex_match 1regexEmpire
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe
EventID1eq 14688
Initiated1eq 1true
ScriptBlockText1in 1add-constraineddelegationbackdoor, add-domaingroupmember, add-domainobjectacl

Top indicator values (614 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
data_stream.dataseteq
github.audit
518
event.typeeq
change
377
dns.question.namewildcard
*.blob.core.windows.net
22
dns.question.namewildcard
*.blob.storage.azure.net
22
dns.question.namewildcard
*.blogspot.com
22
dns.question.namewildcard
*.cloud.es.io
22
dns.question.namewildcard
*.devtunnels.ms
22
dns.question.namewildcard
*.elastic-cloud.com
22
dns.question.namewildcard
*.ngrok.io
22
dns.question.namewildcard
*.onedrive.org
22
dns.question.namewildcard
*.portmap.*
22
dns.question.namewildcard
*.publicvm.com
22
dns.question.namewildcard
*.sharepoint.com
22
dns.question.namewildcard
*.supabase.co
22
dns.question.namewildcard
*.zulipchat.com
22
dns.question.namewildcard
*files.1drv.com
22
dns.question.namewildcard
*googleapis.com
22
dns.question.namewildcard
*hosting-profi.de
22
dns.question.namewildcard
*icp0.io
22
dns.question.namewildcard
*localtunnel.me
22
dns.question.namewildcard
*pagekite.me
22
dns.question.namewildcard
*up.freeo*.space
22
dns.question.namewildcard
?.top4top.io
22
dns.question.namewildcard
api.anonfile.com
22
dns.question.namewildcard
api.github.com
22
dns.question.namewildcard
api.mylnikov.org
22
dns.question.namewildcard
api.onedrive.com
22
dns.question.namewildcard
api.telegram.org
22
dns.question.namewildcard
apis.azureedge.net
22
dns.question.namewildcard
cdn.discordapp.com
22

Exclusions (91 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
user.idin
S-1-5-18
2
user.idin
S-1-5-19
2
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imagewildcard
/opt/elastic/agent/data/elastic-agent-*/components/elastic-otel-collector
1
Imagewildcard
/opt/google-cloud-ops-agent/subagents/fluent-bit/bin/fluent-bit
1
Imagewildcard
/opt/google-cloud-ops-agent/subagents/opentelemetry-collector/otelopscol
1
Imagewildcard
/opt/google/chrome/chrome
1
Imagewildcard
/snap/chromium/*/usr/lib/chromium-browser/chrome
1
Imagewildcard
/snap/firefox/*/usr/lib/firefox/firefox
1
Imagewildcard
/usr/bin/dockerd
1
Imagewildcard
/usr/bin/google_osconfig_agent
1
Imagewildcard
/usr/bin/pihole-ftl
1
Imagewildcard
/usr/bin/warp-svc
1
Imagewildcard
/usr/lib/systemd/systemd-resolved
1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 2 rules

Elastic 8 rules

Kusto 1 rule