Top Protocol Abuse for Covert Channels

Attackers frequently use ubiquitous network protocols like DNS, HTTP/S, and ICMP to encode and exfiltrate data, making malicious traffic blend with normal network activity and bypass basic firewall rules.

The top 3

  1. Top DNS Record Types Exploited for Covert Channels: Attackers most commonly leverage TXT records for their flexibility in storing arbitrary strings and A/AAAA record subdomains to encode data within DNS queries for covert communication, bypassing firewalls and often evading detection. Tools like dnscat2 and Iodine specifically utilize these methods for data exfiltration and command-and-control.
  2. Key ICMP Fields Abused for Stealthy Tunnels: ICMP covert channels primarily exploit the payload section of Echo Request/Reply packets for data transfer, a technique known as ICMP tunneling. A more stealthy, albeit slower, method involves encoding single characters into the 16-bit Identification (ID) field of the IP header, often seen with tools like ptunnel for tunneling TCP over ICMP.
  3. Highest Capacity HTTP Fields for Covert Data: For HTTP covert channels, cookies offer the highest data capacity, capable of storing up to 4 kilobytes of data per cookie, with up to 40 cookies per server, allowing for 160 KB of covert data. Other methods involve manipulating less capacious fields like the User-Agent and Referer strings in HTTP request headers.

Sources

Open the full topic