- Obfuscated TCP
-
Obfuscated TCP (ObsTCP) was a proposal for a transport layer protocol which implements opportunistic encryption over TCP. It was designed to prevent mass wiretapping and malicious corruption of TCP traffic on the internet, with lower implementation cost and complexity than TLS. In August 2008, IETF rejected the proposal for a TCP option, suggesting it be done on the application layer instead.[1] The project has been inactive since a few months later.
In 2010 June, a separate proposal called tcpcrypt has been submitted, which shares many of the goals of ObsTCP: being transparent to applications, opportunistic and low overhead. It requires even less configuration (no DNS entries or HTTP headers). Unlike ObsTCP, tcpcrypt also provides primitives down to the application to implement authentication and prevent man-in-the-middle attacks.[2]
Contents
Historical origin
ObsTCP was created by Adam Langley, a former Maths and Computing student and systems administrator at Imperial College London, currently an employee of Google in California.[3][4] The concept of obfuscating TCP communications using opportunistic encryption evolved through several iterations. The experimental iterations of ObsTCP used TCP options in 'SYN' packets to advertise support for ObsTCP, the server responding with a public key in the 'SYNACK'. An IETF draft protocol was first published in July 2008. Packets were encrypted with Salsa20/8,[5] and signed packets with MD5 checksums.[6]
The present (third) iteration uses special DNS records (or out of band methods) to advertise support and keys, without modifying the operation of the underlying TCP protocol.[7]
Encryption Features
ObsTCP is a low cost protocol intended to protect TCP traffic, without requiring public key certificates, the services of Certificate Authorities, or a complex Public Key Infrastructure. It is intended to suppress the use of undirected surveillance to trawl unencrypted traffic, rather than protect against man in the middle attack.
The software presently supports the Salsa20/8[5] stream cipher and Curve25519[8] Elliptic-curve Diffie Hellman function.
Comparison with TLS/SSL/HTTPS
Feature ObsTCP SSL/TLS/HTTPS Public Key Infrastructure Does not require a signed public key certificate Requires that a signed public key certificate is purchased (or self signed certificate is used) Web Browser Support Patched versions of Firefox available[9] Widely supported by all popular web browsers Web Server Support Requires patches/server upgrades for lighttpd and Apache[10] Widely supported by popular web servers Network Latency Nil additional round trips per connection (though DNS lookup may be required to obtain key advertisement) One or two additional round trips per connection Encryption Speed Very fast cryptography Slower TCP Port Can use any TCP port Typically uses port 443 Security Characteristics Does not resist some man in the middle attacks Resists man in the middle attacks Internet Protocol Security (IPsec), the protocol for IP encryption and authentication, forms an integral part of the base protocol suite in IPv6. IPsec support is mandatory in IPv6; this is unlike IPv4, where it is optional.
Connection establishment
A server using ObsTCP advertises a public key and a port number.
A DNS 'A record' may be used to advertise server support for ObsTCP (with a DNS 'CNAME record' providing a 'friendly' name). HTTP header records, or cached/out of band keyset information may also be used instead.
A client connecting to an ObsTCP server parses the DNS entries, uses HTTP header records, or uses cached/out of band data to obtain the public key and port number, before connecting to the server and encrypting traffic.
Weaknesses
ObsTCP is vulnerable to a number of man in the middle attacks.[citation needed]
See also
- Opportunistic encryption
- tcpcrypt (a newer proposal with similar goals)
- Transport Layer Security (TLS, also known as SSL)
- IPsec
References
- ^ Adam Langley (2008-08-15). "Sorry folks, I think Obfuscated TCP died". Obfuscated TCP development blog. http://obstcp.blogspot.com/2008/08/sorry-folks-i-think-obfuscated-tcp-died.html.
- ^ Andrea Bittau, et al. (2010-08-13). "The case for ubiquitous transport-level encryption". 19th USENIX Security Symposium. http://www.usenix.org/events/sec10/tech/full_papers/Bittau.pdf.
- ^ "ObsTCP". Google. http://code.google.com/p/obstcp/. Retrieved 2009-05-08.
- ^ "Intro (Biography of Adam Langley)". ImperialViolet.org. http://www.imperialviolet.org/intro.html. Retrieved 2009-05-08.[dead link]
- ^ a b "Snuffle 2005". cr.yp.to. http://cr.yp.to/snuffle.html. Retrieved 2009-05-08.
- ^ "Extending the Space Available for TCP Options". IETF. http://www.ietf.org/internet-drafts/draft-eddy-tcp-loo-04.txt. Retrieved 2009-05-08.[dead link]
- ^ "Obfuscated TCP History". Google. http://code.google.com/p/obstcp/wiki/History. Retrieved 2009-05-08.
- ^ "Curve25519: high-speed elliptic-curve cryptography". cr.yp.to. http://cr.yp.to/ecdh.html. Retrieved 2009-05-08.
- ^ "Obfuscated TCP Clients: Firefox". Google. http://code.google.com/p/obstcp/wiki/Firefox. Retrieved 2009-05-08.
- ^ "Installing ObsTCP using the ObsTCP transport layer". Google. http://code.google.com/p/obstcp/wiki/WebMastersOBS. Retrieved 2009-05-08.
Categories:- TCP/IP
Wikimedia Foundation. 2010.