Re:SSL, Gone in 30 seconds
by peterwwillis on Friday August 02, 2013 @12:00PM
(#6147745)
A fun tool to make would be a template engine for mining dynamic content in arbitrary web pages. You could save a page and replace dynamic content with logic that specifies the possible values and how to probe it. The tool could use the attack to go section by section and decipher each piece of dynamic content until you had discovered the entire page.
One example might be to decipher a bank statement page. First the tool would guess the first section of dynamic content (account balance), then the second (account name), then the third (account number), etc. Though I imagine banks already have some rate limiting protection in place.
What you want to know about BREACH is that it's an application of Thai Duong and Juliano Rizzo's extremely clever CRIME attack, a traffic-analytic side channel based on compression and attacker chosen plaintext, but instead of targeting compression at the TLS layer, it targets Content-encoding: gzip.
Unlike CRIME, BREACH can't directly target cookies, which is usually what an attacker targeting HTTPS/TLS is aiming for; BREACH can only decrypt secrets in the response body. A common example people have tossed around is CSRF tokens.