Exfiltration Over Command and Control Channel

From enterprise
Jump to: navigation, search
Exfiltration Over Command and Control Channel
ID T1041
Tactic Exfiltration
Platform Linux, macOS, Windows
Data Sources User interface, Process monitoring
Requires Network Yes

Data exfiltration is performed over the Command and Control channel. Data is encoded into the normal communications channel using the same protocol as command and control communications.


  • APT3 has a tool that exfiltrates data over the C2 channel.1
  • A Gamaredon Group file stealer transfers collected files to a hardcoded C2 server.2
  • Ke3chang transferred compressed and encrypted RAR files containing exfiltration through the established backdoor command and control channel during operations.3
  • Lazarus Group malware IndiaIndia saves information gathered about the victim to a file that is uploaded to one of its 10 C2 servers.4 Another Lazarus Group malware sample also performs exfiltration over the C2 channel.5
  • After data is collected by Stealth Falcon malware, it is exfiltrated over the existing C2 channel.6
  • ADVSTORESHELL exfiltrates data over the same channel used for C2.7
  • Adversaries can direct BACKSPACE to upload files to the C2 Server.8
  • CallMe exfiltrates data to its C2 server over the same protocol as C2 communications.9
  • MobileOrder exfiltrates data to its C2 server over the same protocol as C2 communications.9
  • NETEAGLE is capable of reading files over the C2 channel.8
  • Psylo exfiltrates data to its C2 server over the same protocol as C2 communications.9
  • Pteranodon exfiltrates screenshot files to its C2 server.2
  • Pupy can send screenshots files, keylogger data, files, and recorded audio back to the C2 server.10


Mitigations for command and control apply. Network intrusion detection and prevention systems that use network signatures to identify traffic for specific adversary malware can be used to mitigate activity at the network level. Signatures are often for unique indicators within protocols and may be based on the specific obfuscation technique used by a particular adversary or tool, and will likely be different across various malware families and versions. Adversaries will likely change tool command and control signatures over time or construct protocols in such a way to avoid detection by common defensive tools.11


Detection for command and control applies. Analyze network data for uncommon data flows (e.g., a client sending significantly more data than it receives from a server). Processes utilizing the network that do not normally have network communication or have never been seen before are suspicious. Analyze packet contents to detect communications that do not follow the expected protocol behavior for the port that is being used.11