Re:NAT-to-NAT direct connections with no proxy/STUN needed
by tptacek on Sunday March 28, 2010 @05:13PM
(#1225236)
(a) My point isn't that enterprises can solve the (fundamentally intractable) covert channel problem. It's that this NAT tunnelling code won't work on corporate networks.
(b) DNS tunneling is also clever, but it's loud, easily detected, easily defeated, and extremely likely to get you fired.
Re:NAT-to-NAT direct connections with no proxy/STUN needed
by miles on Monday March 29, 2010 @02:30AM
(#1225954)
Thank you for the followup! A quick question: after reading over "Detecting and preventing the use of DNScat" on this page:
http://tadek.pietraszek.org/projects/DNScat/ ,
it seems as if uncovering small amounts of data sent this way might be difficult. Here are the detection techniques mentioned:
detecting unusual and malformed DNS packets (DNScat will evade this)
detecting high number of unusual types of DNS queries (e.g. TXT) (DNScat will also evade this)
Anomaly detection: DNS query and response length
Anomaly detection: profiling the amount of traffic per client source IP address
Are there any other detection methods?
That won't help them either anymore:
Weaponizing dnscat with shellcode and Metasploit http://news.ycombinator.com/item?id=1204931