Compression Oracle Attacks on VPN Networks

Presented at Black Hat USA 2018, Aug. 8, 2018, 1:30 p.m. (50 minutes).

Security researchers have done a good amount of practical attacks in the past using chosen plain-text attacks on compressed traffic to steal sensitive data. In spite of how popular CRIME and BREACH were, little was talked about how this class of attacks was relevant to VPN networks. Compression oracle attacks are not limited to TLS protected data. Regardless of the underlying encryption framework being used, these VPN networks offer a very well used feature usually known as TCP Compression which in a way acts almost similar to the TLS compression feature pre-CRIME era.

In this talk, we try these attacks on browser requests and responses which usually tunnel their HTTP traffic through VPNs. We also explore the possibility of attacking ESP Compression and other such optimizations in any tunneled traffic which does encryption. We also show a case study with a well-known VPN server and their plethora of clients.

We then go into practical defenses and how mitigations in HTTP/2's HPACK and other mitigation techniques are the way forward rather than claiming 'Thou shall not compress traffic at all.' One of the things that we would like to showcase is how impedance mismatches in these different layers of technologies affect security and how they don't play well together.


Presenters:

  • Ahamed Nafeez - Security Researcher, Independent
    <div>Ahamed Nafeez has a varied offensive security background with some emphasis on browsers, web services, and cryptography. He believes defending is much harder than attacking most of the time and appreciates the variables and challenges defenders have. These days he is interested in writing secure frameworks, automating attacks and more or less trying to learn to write good code.</div><div><br></div><div><span>He has spoken at a few security conferences in the past around web apps, browsers and security analysis of javascript. He tweets at @skeptic_fx and builds his side project </span><a rel="noopener" href="https://protect-eu.mimecast.com/s/tHsaCZY99UPlNB0UjMdep?domain=assetwatch.io" target="_blank" data-mce-href="https://protect-eu.mimecast.com/s/tHsaCZY99UPlNB0UjMdep?domain=assetwatch.io">assetwatch.io</a><span> in free time, an automated asset discovery/monitoring service.</span></div>

Links:

Similar Presentations: