Security Warning: IPv6 Covert Channels
August 19th, 2008
We have recently observed a version of a possibly legitimate application, uTorrent opening IPv6 attack vectors on Microsoft hosts by automatically enabling IPv6, activating IPv6 tunneling (Teredo in this case), and disabling host security controls that Microsoft wisely patched to prevented unsolicited incoming tunnel traffic. Though IPv6 tunneling is a great way to enable peer-to-peer (P2P), machine-to-machine (M2M), applications that need bi-directional end-to-end (E2E) connections, doing it without proper security controls presents a serious security risk. This application, with a bit of good security engineering, could leverage IPv6 tunneling in a less risky manner to provide assured E2E connections the way Apple does it in their “Back to my Mac” application. Since IPv6-capable systems are installed in almost every computer network woldwide, and IPv6 knowledge is becoming more widespread, there has been a recent increase of malicious (or just bad) code that enables IPv6 on a compromised host, creating a potentially undetected channel for an attacker to exploit. Hacker community sites are already offering tools such as relay6, 6tunnel, nt6tunnel, netcat6, VoodooNet, etc. that can be used to create IPv6 covert channels.
The most important risk mitigation step is educating security professionals about the threats and defenses against IPv6-based attacks. After education, Command Information recommends the following steps:
• Place IPv6-capable guards (Firewall, network access control) into critical networks
• Turn on native (dual stack) IPv6, turn off IPv6 tunneling through configuration management
• Audit (DIACAP, FISMA) network infrastructure and computers for IPv6 security compliance
• Tune an IDS and covert channel detection tools for emerging IPv6 threats (Cloudshield DPI, Snort 3.0, etc)
• Change all IA tool acquisitions policy to address acquiring IPv6-capable IA tools
• ‘Blackhole’ traffic going to tunnel endpoints and poison DNS queries for tunnel service in order to prevent unauthorized tunnels from connecting



When I first began hearing about IPv6, a number of questions popped into my mind.