Exfiltration Over Web Service T1567

Adversaries may use an existing, legitimate external Web service to exfiltrate data rather than their primary command and control channel. Popular Web services acting as an exfiltration mechanism may give a significant amount of cover due to the likelihood that hosts within a network are already communicating with them prior to compromise. Firewall rules may also already exist to permit traffic to these services.

Events covered

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

Authoring guide

Patterns shared across the 39 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 (22 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
CommandLine12contains 8, match 3, in 1, regex_match 1(?i)\s+(((copy|move|moveto|copyto)\s+.*\S+:\S+\s+.*\S+:\S..., --data , --data-, --form, -r
process_name11eq 4, match 4, regex_match 2, in 1(?i)mega(sync|cmd), (?i)megasync\.exe|megacmd, (?i)rclone, azcopy.exe, certreq.exe
EventID10eq 104688, 1, 3, 4103, 4104
DestinationHostname9ends_with 7, contains 2.btunnel.co.in, .devtunnels.ms, .ngrok-free.app, .ngrok-free.dev, .ngrok.app
Image7ends_with 5, eq 2, contains 1, starts_with 1?:\windows\system32\curl.exe, ?:\windows\syswow64\curl.exe, \brave.exe, \configsecuritypolicy.exe, \curl.exe
Initiated7eq 7true
OriginalFileName6eq 5, ends_with 1certreq.exe, configsecuritypolicy.exe, datasvcutil.exe, gdrive.exe, net1.exe
QueryName6contains 6.anonfiles.com, ufile.io, userstorage.mega.co.nz
Type3eq 3
event.type3eq 3start
process.args2eq 2-Post, copy, sync
All_Traffic.app1in 1*\\At.exe, *\\Atbroker.exe, *\\Bash.exe
Description1eq 1Rsync for cloud storage
EfectiveCommand1regex_match 1regexEmpire
EventData1contains 1-encodedcommand, powershell.exe, powershell_ise.exe

Top indicator values (313 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
Initiatedeq
true
748
EventIDeq
4688
4312
EventIDeq
1
3232
event.typeeq
start
3241
CommandLinematch
(?i)\s+(((copy|move|moveto|copyto)\s+.*\S+:\S+\s+.*\S+:\S+)|(serve\s+(dlna|ht...
22
QueryNamecontains
.anonfiles.com
22
QueryNamecontains
ufile.io
22
QueryNamecontains
userstorage.mega.co.nz
22
process_namematch
(?i)mega(sync|cmd)
22
process_namematch
(?i)rclone
22
process_nameregex_match
(?i)megasync\.exe|megacmd
22
All_Traffic.appin
*\\At.exe
1
All_Traffic.appin
*\\Atbroker.exe
1
All_Traffic.appin
*\\Bash.exe
1
All_Traffic.appin
*\\Bitsadmin.exe
1
All_Traffic.appin
*\\Certoc.exe
1
All_Traffic.appin
*\\Cmstp.exe
1
All_Traffic.appin
*\\Diskshadow.exe
1
All_Traffic.appin
*\\Dnscmd.exe
1
All_Traffic.appin
*\\Extexport.exe
1
All_Traffic.appin
*\\Forfiles.exe
1
All_Traffic.appin
*\\Ftp.exe
1
All_Traffic.appin
*\\Gpscript.exe
1
All_Traffic.appin
*\\Hh.exe
1
All_Traffic.appin
*\\Ie4uinit.exe
1
All_Traffic.appin
*\\Ieexec.exe
1
All_Traffic.appin
*\\Infdefaultinstall.exe
1
All_Traffic.appin
*\\Installutil.exe
1
All_Traffic.appin
*\\Mavinject.exe
1
All_Traffic.appin
*\\Microsoft.Workflow.Compiler.exe
1

Exclusions (128 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
process_namematch
(?i)(cmd|powershell).exe
2
CommandLinecontains
://127.0.0.1
1
CommandLinecontains
://localhost
1
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.exe
1
Imagecontains
\dropbox
1
Imageends_with
\brave.exe
1
Imageends_with
\maxthon.exe
1
Imageends_with
\msedge.exe
1
Imageends_with
\msedgewebview2.exe
1
Imageends_with
\opera.exe
1
Imageends_with
\safari.exe
1
Imageends_with
\seamonkey.exe
1
Imageends_with
\vivaldi.exe
1
Imageends_with
\whale.exe
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.

Sigma 21 rules

Elastic 4 rules

Splunk 13 rules

Kusto 1 rule