Rootconf Heartbleed

RootConf 2014 Bangalore, India
1 / 23
Slide 1 of Rootconf Heartbleed
Slide 2 of Rootconf Heartbleed
Slide 3 of Rootconf Heartbleed
Slide 4 of Rootconf Heartbleed
Slide 5 of Rootconf Heartbleed
Slide 6 of Rootconf Heartbleed
Slide 7 of Rootconf Heartbleed
Slide 8 of Rootconf Heartbleed
Slide 9 of Rootconf Heartbleed
Slide 10 of Rootconf Heartbleed
Slide 11 of Rootconf Heartbleed
Slide 12 of Rootconf Heartbleed
Slide 13 of Rootconf Heartbleed
Slide 14 of Rootconf Heartbleed
Slide 15 of Rootconf Heartbleed
Slide 16 of Rootconf Heartbleed
Slide 17 of Rootconf Heartbleed
Slide 18 of Rootconf Heartbleed
Slide 19 of Rootconf Heartbleed
Slide 20 of Rootconf Heartbleed
Slide 21 of Rootconf Heartbleed
Slide 22 of Rootconf Heartbleed
Slide 23 of Rootconf Heartbleed

Abstract

Provides a comprehensive analysis of the Heartbleed vulnerability alongside other major SSL/TLS bugs that collectively demonstrated fundamental weaknesses in security protocols, with technical and policy-based solutions.

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

The RootConf 2014 presentation, When the Internet Bleeded, surveys the year’s major SSL/TLS failures: Heartbleed, the GnuTLS bug, Apple’s goto fail, Lucky13, BEAST, and CRIME. The deck explains what each bug means for developers and administrators, digs into Heartbleed (CVE-2014-0160) trivia and impact numbers, demos test tooling, and closes with technical and policy-based solutions for securing infrastructure.

Summary

The deck sets its thesis up front with the gist of security: most of the security protocols are broken, summed up as SSL equal to inSecure Socket Layer. A thousand-foot view of TLS and SSL bugs then covers the year’s incidents. GOTO FAIL covers the GnuTLS and Apple bugs in the functions that verify x509 certificates, where invalid certificates can be passed off as genuine, with links to the existentialize write-up on GnuTLS, the ImperialViolet analysis of the Apple bug, and gotofail.com for self-testing. BEAST, Lucky13, and CRIME are summarized: BEAST exploits CBC ciphers to allow retrieval of encrypted data through key guessing on block-based ciphers, CRIME exploits compressed connections and SPDY to extract data, Lucky13 is a cryptographic timing attack, and RC4 is noted as kind of broken. The status quo slide lands the uncomfortable conclusion that SSL 3.0 and TLS 1.0 are broken at nearly all algorithm and protection levels, with a catch-22: protecting against BEAST leaves you vulnerable to Lucky13 and vice versa.

Heartbleed then gets the deep dive. It had massive effect across the internet but was limited to OpenSSL, and its effective marketing made it known far beyond the information security community. The deck describes it as in short a lucky draw worth up to 64KB of data per request, where data is not the same as information. A DIY section shares a test server at heartbleed.anantshri.info with shell and Python test scripts and a login page for live testing, plus a video demo.

Trivia facts fill in the story: the first well thought-out exploit release where public presentation had prime focus, with the domain registered two days before the announcement; three different sources finding the same issue within a week; multiple exploits based on an initial script that only checked TLS 1.1 and not 1.2 and 1.0, so many servers were marked safe when they were not; the original founder not expecting private key disclosure; and Akamai’s open-sourced key safety solution being hacked left right center within a few hours. Impact numbers follow: 75 Cisco products found affected, Tor among affected products, OpenSSL 1.0.1 through 1.0.1f vulnerable while GnuTLS, Mozilla NSS, and Microsoft SSL were not, LibreSSL as the stripped-down OpenBSD implementation, and CloudFlare reporting that GlobalSign’s CRL grew from 22KB to 4.9MB with revoked certificates rising from 1,492 to 133,243. Reverse Heartbleed, the client-side variant, is shown via the pacemaker script on GitHub.

The closing guidance splits by audience. Administrators should patch meticulously, monitor religiously, and co-relate and cross-reference with big data to identify anomalies and act on them. Developers should treat security as not just an admin task, start caring about older library versions, avoid bundling dependencies without maintaining updates, and remember that more eyes does not equal fewer security bugs. Technical solutions are enabling TLS 1.1 and 1.2, enabling forward secrecy, and changing SSL certificates despite revocation costs. Perfect Forward Secrecy means random public keys per session generated with non-deterministic algorithms, so a compromised connection affects only that one connection. Policy solutions say fail hard and fail early with an exigency process, inform customers if foul play is suspected and block login if required, force password resets rather than asking, rotate API keys and other secrets alongside certificates, and keep hardware support subscriptions relevant.

Key Themes

  • A broken year for SSL/TLS: Heartbleed, the GnuTLS bug, Apple’s goto fail, Lucky13, BEAST, CRIME, and weak RC4 collectively undermined trust in the protocol stack.
  • Certificate validation bugs: the GnuTLS and Apple flaws let invalid certificates pass as genuine inside the x509 verification functions, implementation flaws rather than protocol faults.
  • The BEAST/Lucky13 catch-22: defending against BEAST exposed systems to Lucky13 and vice versa, while SSL 3.0 and TLS 1.0 sat broken at nearly all protection levels.
  • Heartbleed mechanics: a memory disclosure in OpenSSL 1.0.1 through 1.0.1f leaking up to 64KB per request, where leaked data does not equal useful information.
  • Disclosure trivia: the domain registered two days before announcement, three independent discoveries in a week, early scripts that only checked TLS 1.1 marking vulnerable servers safe, and Akamai’s bypassed key safety release.
  • Measured impact: 75 affected Cisco products, Tor in the affected list, and GlobalSign’s CRL growing from 22KB to 4.9MB with revocations jumping from 1,492 to 133,243.
  • Reverse Heartbleed: client-side exploitation of vulnerable OpenSSL clients using the pacemaker script.
  • Administrators versus developers: patch meticulously and monitor religiously on one side, care about library versions and stop bundling unmaintained dependencies on the other.
  • Forward secrecy as a fix: random per-session public keys from non-deterministic algorithms contain any compromise to a single connection.
  • Policy over technology: exigency processes, forced password resets, API key rotation, and hardware support subscriptions matter as much as patches.

Notable Points

  • Heartbleed is CVE-2014-0160, affecting OpenSSL versions 1.0.1 through 1.0.1f, limited to 64KB max of data per request.
  • The GnuTLS and Apple goto fail bugs let invalid x509 certificates pass off as genuine; testing was available at gotofail.com.
  • BEAST targets CBC ciphers, CRIME exploits compression and SPDY, and Lucky13 is a cryptographic timing attack.
  • SSL 3.0 / TLS 1.0 is broken at nearly all algorithm and protection levels, with reasonable exploits or conceptual exploitation available.
  • Protecting against BEAST makes you vulnerable to Lucky13 and vice-versa.
  • The Heartbleed announcement domain was registered two days before the announcement.
  • Three different sources found the same issue within a gap of a week.
  • Initial exploit scripts only looked at TLS 1.1 and not 1.2 and 1.0, so many servers were marked safe even when they were not.
  • Akamai’s open-sourced key safety solution was hacked within a few hours of release.
  • GnuTLS, Mozilla NSS, and Microsoft SSL were not affected because Heartbleed was an implementation flaw, not a protocol fault.
  • GlobalSign’s CRL grew from 22KB to 4.9MB, and revoked certificates rose from 1,492 to 133,243.
  • Reverse Heartbleed client attacks use the pacemaker script at github.com/Lekensteyn/pacemaker.
  • The test server and scripts were published at heartbleed.anantshri.info with shell and Python test scripts.

Notable Quotes

“Most of the Security protocols are broken”

“SSL == inSecure Socket Layer”

“Massive Effect over INTERNET but limited to OpenSSL”

“In short a lucky draw worth 64KB max of data (data =! information)”

“3 different sources found same issue within a gap of a week.”

“OpenSource MORE EYES != LESS SECURITY BUGS”

“Fail hard, Fail early”

“Force password reset : Don’t inform and ask them to change : force it.”

Videos

RootConf 2014 Recording

Conference Recording

Resources

Embed This Presentation

See Also