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 84 rules share fields, values, and exclusions.

Fields filtered most (69 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
EventType14eq 13, in 1proxylogs, IntrusionEvent, ConnectionEvent, FilteredWebsites_Event, block.url
DeviceProduct7eq 6, contains 1X Series, ASA
sourcetype7eq 7cisco:sfw:estreamer, cisco:asa, zeek:ssl:json
DeviceEventClassID6ne 4, eq 2asc, audit, campaigns, hsc
DeviceVendor6eq 6Vectra Networks
EventID6eq 64104, 3, 4103, 4688, 5156
CommandLine4contains 4*api.telegram.org*, --data, --data-binary, --upload-file, -d
DeviceCustomString53ne 3True
EXECUTION_STATUS3eq 3SUCCESS
Image3ends_with 3/curl, /wget, \httptunnel.exe, \plink.exe, \socat.exe
OperationName3eq 3AzureFirewallApplicationRuleLog, AzureFirewallNetworkRuleLog, AzureFirewallThreatIntelLog
QUERY_TYPE3eq 3CREATE, GET_FILES, UNLOAD
ScriptBlockText3contains 3, match 1* -InFile *, * -Method *, * -Uri *, *.UploadString*, *Net.webclient*
Action2eq 2Blocked, Deny
DstPortNumber2eq 1, in 122, 23, 3389, 53

Top indicator values (224 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
DeviceCustomString5ne
True
33
EXECUTION_STATUSeq
SUCCESS
35
DvcActioneq
Allowed
28
EventIDeq
4104
2269
Imageends_with
/curl
222
OperationNameeq
AzureFirewallApplicationRuleLog
24
Actioneq
Blocked
1
Actioneq
Deny
12
AdditionalExtensionscontains
account
1
Categorycontains
A Network Trojan was detected
1
Categorycontains
Domain Observed Used for C2 Detected
1
Categorycontains
Executable code was detected
1
Categorycontains
Exploit Kit Activity Detected
1
Categorycontains
Malware Command and Control Activity Detected
1
Categorycontains
Successful Credential Theft Detected
1
Categorycontains
Targeted Malicious Activity was Detected
1
CommandLinecontains
--data
1
CommandLinecontains
--data-binary
1
CommandLinecontains
--upload-file
1

Exclusions (72 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
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
DestinationIPcidr_match
10.0.0.0/8
1
DestinationIPcidr_match
127.0.0.0/8
1
DestinationIPcidr_match
169.254.0.0/16
1
DestinationIPcidr_match
172.16.0.0/12
1
DestinationIPcidr_match
192.168.0.0/16
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 34 rules

YARA-L 1 rule

Panther 11 rules