3 ms·
I think that on the Internet TLS and SSL are fast approaching their sell-by dates [1]. We can do secure comms over HTTP - all it takes is a binary protocol lik
by Spearchucker 15y ago
I think that on the Internet TLS and SSL are fast approaching their sell-by dates [1].
We can do secure comms over HTTP - all it takes is a binary protocol like TLV, encrypting that, and implementing a well thought through approach to key management. Ideally something derived from the Needham-Schroeder protocol, but if we take on some lessons from PGP and the like, using timestamps instead of nonces.
The Internet is just a piece of wire - what travels across it is up to us. This goes back to the idea of building platforms rather than applications.
Maybe my ramblings here are a bit too much up in the clouds, but I think I'm going to build something that does secure comms over HTTP...
[1] Iran notwithstanding, the recent TrustWave snooping story shows that SSL is even losing its usefulness inside organisations! If you're interested, the story is here:
http://www.theregister.co.uk/2012/02/09/tustwave_disavows_mitm_digital_cert/ http://www.theregister.co.uk/2012/02/09/tustwave_disavows_mi...
- Retric 15y agoDeep packet inspection allows you to block any well known protocol.
- Spearchucker 15y agoTLV (http://en.wikipedia.org/wiki/Type-length-value http://en.wikipedia.org/wiki/Type-length-value) isn't recognisable as a protocol. It is something you'd have to hand-roll, i.e. serialize to. The resulting byte array would be encrypted using anything you like (I'm using RSACryptoServiceProvider), so it'd be unrecognisable to DPI. Not being familiar with specific DPI implementations I would imagine if such filtering was white list -based then anything unrecognisable would be blocked?
- colanderman 15y agoThe obvious workaround is to uuencode your TLV data and then wrap it in <HTML><PRE></PRE></HTML>. If it's properly formatted HTML, and the body isn't recognizable as, say, a ZIP file, DPI will pass it. Granted, someone could do entropy detection, and e.g. pass only things that look statistically like valid English/Persian/etc. text. But that needs more compute power, and can be worked around as well using statistical methods similar to Huffman coding.
- Spearchucker 15y agoIt'd be awesome to hear from someone with product experience. My experience of DPI is limited to Tenix diodes (which are white-list based, and are more focused around stripping malicious code by converting known objects to another format, eg .jpg to .png and back, or Word to PDF and back), or McAfee's Secure Web (used to be Web Washer), which does URL filtering, SSL scanning, etc. Also white list based.
- colanderman 15y agoThe DPI in the product I work on is blacklist- and standards-based. i.e. it involves actually parsing most common formats, making sure that they are valid documents with no out-of-bounds values that could cause e.g. buffer overflows, and blacklisting known attacks. FWIW our product can do this very quickly (we sell a 1U which can inspect 8 Gb/s).