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

These 82 rules share fields, values, and exclusions.

Fields filtered most (89 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType13eq 12, in 1proxylogs, intrusionevent, connectionevent, FilteredWebsites_Event, connection_accepted
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, alert, blocked, deny
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 (248 distinct)

These values appear most often in rule predicates.

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
2269
Imageends_with
/curl
222
Investigation Statuseq
escalated
22
OperationNameeq
AzureFirewallApplicationRuleLog
24
Unresolved Priorityeq
true
22
levelin
Critical
22
levelin
High
22
Actioneq
Deny
12
Actioneq
blocked
1
Actionin
alert
15
Actionin
deny
15

Exclusions (58 distinct)

These values appear most often in top-level exclusions.

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

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 7 rules

Elastic 18 rules

Splunk 13 rules

Kusto 32 rules

YARA-L 1 rule

Panther 11 rules