The data is hidden inside what looks like normal control traffic, so no second route out of the network is needed. MITRE ATT&CK tracks it as T1041 under Exfiltration.
How it works
An attacker who controls a system usually keeps a command and control channel open, called C2 for short. Through it they send instructions to the system and receive replies.
With this technique, the stolen data travels back over that same channel. MITRE says the data is encoded into the normal communications channel and uses the same protocol as the C2 traffic.
This is simple for the attacker because no second route out of the network is needed. It also means the stolen data can blend in with traffic that is already there.
A real example
MITRE ATT&CK lists these procedure examples:
- ADVSTORESHELL exfiltrates data over the same channel it uses for command and control.
- Amadey has sent victim data to its command servers.
- AppleSeed can exfiltrate files through its command and control channel.
Who uses it
Seen in incidents
- Incident Bankshot implant attacks on the Turkish financial sector In March 2018, McAfee Advanced Threat Research reported the Bankshot implant, linked to North Korean Hidden Cobra activity, at five Turkish financial and government-finance organizations. March 2018 · Financial services
- Incident Iranian-affiliated attacks on US industrial controllers US agencies say Iranian-affiliated actors have been disrupting internet-exposed industrial controllers (PLCs) in US government, water and energy organizations since at least March 2026. April 2026 · Critical infrastructure
How to detect
-
Watch for odd outbound traffic
Look for processes that rarely use the network but suddenly send a lot of data out, over HTTPS, DNS or custom ports, after reading files or data.
-
Link file reads to new connections
Look for a process that reads sensitive files and then quickly opens an unusual outbound connection or a bulk transfer, especially with encrypted content.
-
Check destinations and virtual machines
Look for unauthorized applications or scripts sending encrypted traffic to rare external destinations, and for virtual machines sending traffic to unknown places.
-
Detection strategy MITRE lists
DET0348, Detection Strategy for Exfiltration Over C2 Channel.
How to defend
-
Use data loss prevention
Data loss prevention can detect and block sensitive data that is sent over unencrypted protocols.
-
Use network intrusion detection and prevention
Signature-based network tools can flag traffic from known malware. Attackers are likely to change their C2 traffic over time, so signatures need regular updates and will not catch everything.
Frequently Asked Questions
What is exfiltration over a C2 channel?
It is when an attacker sends stolen data back through the same command and control channel they use to control the infected system. MITRE says the data is encoded into that channel and uses the same protocol as the C2 traffic. It is tracked as T1041.
Why do attackers use the C2 channel to steal data?
It is simple, because no second route out of the network is needed. The stolen data can also blend in with traffic that is already there.
How can defenders detect data theft over C2?
Look for processes that rarely use the network but suddenly send a lot of data out over HTTPS, DNS or custom ports after reading files. Also link sensitive file reads to new outbound connections or bulk transfers.
How do you defend against exfiltration over C2?
Data loss prevention can detect and block sensitive data sent over unencrypted protocols. Signature-based network intrusion detection can flag known malware traffic, but attackers change their C2 traffic over time, so signatures need regular updates.
