Exfiltration Over C2 Channel T1041

Tactic: Exfiltration

Adversaries may steal data by exfiltrating it over an existing command and control channel. Stolen data is encoded into the normal communications channel using the same protocol as command and control communications.

Events covered

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

Authoring guide

Patterns shared across the 77 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 (82 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
EventType14eq 13, in 1proxylogs, IntrusionEvent, ConnectionEvent, FileCreated, FilteredWebsites_Event
sourcetype7eq 7cisco:sfw:estreamer, cisco:asa, zeek:ssl:json
DeviceEventClassID6ne 4, eq 2asc, audit, campaigns, hsc
DeviceProduct6eq 6X Series
DeviceVendor6eq 6Vectra Networks
EventID6eq 64104, 3, 4103, 4688, 5156
CommandLine4contains 4--data, --data-binary, --upload-file, -d, -encodedcommand
Action3eq 2, in 1Deny, Blocked, alert
Category3in 2, contains 1BOTNET ACTIVITY, COMMAND & CONTROL, EXFILTRATION, a network trojan was detected, domain observed used for c2 detected
EXECUTION_STATUS3eq 3SUCCESS
Image3ends_with 3/curl, /wget, \httptunnel.exe, \plink.exe, \socat.exe
OperationName3eq 3AzureFirewallApplicationRuleLog, AzureFirewallNetworkRuleLog, AzureFirewallThreatIntelLog
QUERY_TYPE3eq 3CREATE, GET_FILES, UNLOAD
RequestURL3is_not_null 2, contains 1, regex_match 1/ui/chk, \=([a-zA-Z0-9\/\+]*(?:(?:MC|Au|wL|MS|Eu|xL|Mi|Iu|yL|My|Mu..., ilocalp=, kmnd=
ScriptBlockText3contains 3, match 1 -infile , -method , -uri , .uploadstring, createjoblocal( $folders )

Top indicator values (236 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
DeviceProducteq
X Series
67
DeviceVendoreq
Vectra Networks
67
EventTypeeq
proxylogs
520
EventTypeeq
IntrusionEvent
318
EventTypeeq
ConnectionEvent
29
sourcetypeeq
cisco:sfw:estreamer
532
DeviceEventClassIDne
asc
44
DeviceEventClassIDne
audit
44
DeviceEventClassIDne
campaigns
44
DeviceEventClassIDne
health
44
DeviceEventClassIDne
hsc
44
EXECUTION_STATUSeq
SUCCESS
35
triagedne
True
33
Categoryin
BOTNET ACTIVITY
22
Categoryin
COMMAND & CONTROL
22
Categoryin
EXFILTRATION
22
Categoryin
LATERAL MOVEMENT
22
Categoryin
RECONNAISSANCE
22
DvcActioneq
Allowed
28
EventIDeq
4104
2268
Imageends_with
/curl
222
OperationNameeq
AzureFirewallApplicationRuleLog
24
levelin
Critical
22
levelin
High
22
Actioneq
Blocked
16
Actioneq
Deny
12
Actionin
Deny
15
Actionin
alert
15
AdditionalExtensionscontains
account
1
AffectedIpsgt
5
1

Exclusions (58 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
dest_ipcidr_match
10.0.0.0/8
2
dest_ipcidr_match
127.0.0.0/8
2
dest_ipcidr_match
169.254.0.0/16
2
dest_ipcidr_match
172.16.0.0/12
2
dest_ipcidr_match
192.168.0.0/16
2
dest_ipregex_match
(?i)^(127|10|172\.1[6-9]|172\.2[0-9]|172\.3[0-1]|192\.168|169\.254|20)\.|(::1...
2
AdditionalExtensionscontains
account
1
CommandLinein
* --single-argument*
1
CommandLinein
*-osint -url*
1
DestinationPortin
111
1
DestinationPortin
2049
1
DestinationPortin
597
1
DestinationPortin
892
1
EventDatacontains
gc_service.exe
1
EventDatacontains
gc_worker.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.

Platform (all)
Domain (all)

Sigma 7 rules

Elastic 18 rules

Splunk 13 rules

Kusto 27 rules

YARA-L 1 rule

Panther 11 rules