SlideShare a Scribd company logo
TLS INTERCEPTION
CONSIDERED HARMFUL
ABOUT ME
Hanno Böck, https://hboeck.de/
Freelance journalist (often Golem.de)
Fuzzing free software (Core Infrastructure
Initiative)
TLS VULNERABILITIES
BEAST, CRIME, Lucky13, FREAK, SKIP, POODLE,
Heartbleed, Logjam, MACE, ...
BEAST
Exploits known issue in CBC mode of TLS 1.0 /
SSL 3.0.
Fix: Use TLS 1.1/1.2.
Workaround: 1/n-1 record splitting.
CRIME
Compression leaks information about
encrypted data.
Solution: Disable compression.
LUCKY THIRTEEN
TLS does MAC-then-Pad-then-Encrypt.
Timing sidechannel: separating MAC errors
from padding errors.
Workaround: Timing safe implementation
(difficult).
Solution: TLS 1.2 with Authenticated Encryption
(only AES-GCM).
POODLE
SSLv3 allows arbitrary content in padding.
Solution for SSLv3: Don't use it.
Solution for TLS: Check padding (must be
zeros).
FORWARD SECRECY
Create a temporary key for each connection.
Protects from later key leakage.
Hardly any reason not to use FS.
LESSONS LEARNED
Security bugs in the protocol.
Only TLS 1.2 using AES-GCM with Forward
Secrecy considered safe.
TLS 1.0 with mitigations required for legacy
support, complicated.
CERTIFICATE AUTHORITIES
Hundreds of CAs and sub-CAs.
Each can issue certs for all domains.
System is only as secure as the worst CA.
CERTIFICATE AUTHORITIES
Misissuance of certificate happens often:
Comodo, Türktrust, CNNIC, IndiaCCA, Diginotar,
ANSSI, ...
SOLUTIONS
Many proposals (Sovereign keys, TACK,
Convergence, DANE, ...).
Most of them never got deployed widely.
HTTP PUBLIC KEY PINNING
(HPKP)
First widely deployed mitigation for CA failures
(Chrome and Firefox).
Browsers also contain list of pre-pinned hosts.
CERTIFICATE
TRANSPARENCY
Public log of all certificates.
Promising, but only partly deployed yet.
Chrome has preliminary support.
CONCLUSION
Mitigations for Certificate Authority problems
are finally coming.
Proper certificate verification requires
knowledge about current developments.
HTTPS USE IS GROWING
... and that's a good thing.
Certificates no longer expensive (StartSSL,
Wosign, Let's encrypt).
HTTPS guarantees secrecy and integrity (often
forgotten).
TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)
WEB TRAFFIC INTERCEPTION
Products want to manipulate web traffic.
"Enterprise" security products, Antiviruses,
Parental control, Adblockers, Ad injection, ...
HTTPS MAN-IN-THE-MIDDLE
PROXIES
HTTPS guarantees secrecy and integrity(!).
"Solution": Let's install a certificate in the
user's browser and do a Man-in-the-Middle-
attack.
SUPERFISH
Analyzes images on webpages and provides
matching ads.
Preinstalled on many Lenovo Laptops.
SHARED CERTIFICATE
All installations of Superfish used the same root
certificate.
Problem: Private key can be extracted.
TLS Interception considered harmful (Chaos Communication Camp 2015)
KOMODIA SAN BUG
Komodia products had another bug with
Subject Alternative Name.
Allows generic TLS interception for all products
using Komodia.
LAVASOFT / AD-ADWARE
"Lavasoft’s most recent release of Ad-Aware
Web Companion (released on February 18th
2015) does not include this capability, but we
are not yet able to confirm with certainty that
the compromised component of the Komodia
SSL Digestor has been removed." (Lavasoft
Facebook page)
LAVASOFT / AD-ADWARE
Or in other words: We have a severe security
vulnerability and we're not really sure if we
fixed it.
PRIVDOG
Privdog is a startup founded by Melih
Abdulhayoğlu (CEO of Comodo).
It replaces "dangerous" ads with its own ads.
NO VERIFICATION OF
CERTIFICATES
Privdog does not use a shared cert (we'll get
back to that later).
But it did not verify certificates at all.
By the way: It also sent home all URLs visited in
clear text.
ANTIVIRUS APPLICATIONS
INTERCEPTING TLS
Analysis of Avira, Kaspersky, ESET.
None as bad as Superfish/Privdog, but all of
them lowered TLS security in one way or
another.
KASPERSKY / FREAK
FREAK vulnerability: OpenSSL bug allowed
downgrade to export ciphers with 512 bit.
Shortly after FREAK Kaspersky user warned
about it in support forum.
1.5 months later it was still not fixed.
BREAKING HPKP
Shouldn't Key Pinning prevent TLS interception
from happening?
Browsers compromised: Didn't want to break
all TLS interception products.
Manually installed certs override key pinning.
No TLS interception software I tested checked
key pinning header.
RESPONSIBILITY SHIFT
If products intercept TLS they are responsible
for certificate validation and TLS
implementation quality.
Are they qualified?
ADGUARD
Regenerates cert, but always with same key.
Chooses one out of 10 keys depending on CPU.
NETFILTER SDK
Adguard relied on Netfilter SDK (file
ProtocolFilters.dll).
Shared key can be trivially extracted.
MEET PRIVDOG AGAIN
PrivDog also uses shared key.
It was completely broken in two different ways.
PROTOCOLFILTERS.DLL
Coupoon, CashReminder, SavingsDownloader,
Scorpion Saver, SavingsbullFilter, BRApp,
NCupons, Nurjax, Couponarific, delshark,
rrsavings, triosir, screentk, ...
TLS Interception considered harmful (Chaos Communication Camp 2015)
TLS Interception considered harmful (Chaos Communication Camp 2015)
SYMANTEC DESKTOP EMAIL
ENCRYPTION
The software formerly known as PGP.
Only does TLS 1.0 without Forward Secrecy.
ENTERPRISE APPLIANCES
Open question: How bad are they?
Contact me if you have access.
"ENTERPRISE" TLS
F5 "we don't accept handshakes between 256
and 512 bytes" bug
POODLE TLS (F5, A10, Cisco, Check Point,
Juniper, IBM)
MACE: Missing MAC and Finished message
check (Cisco, Fortinet, F5, Juniper)
ALTERNATIVES
For many of the products that use TLS
interception the question is whether they
should exist at all.
If you want to modify traffic with user's consent
do it after the encryption (e. g. browser
extension).
TAKEAWAYS
"Potentially unwanted applications" are a
severe securiy threat.
It should be considered malpractice.
TAKEAWAYS
TLS interception is dangerous.
Nobody gets it right.
Even security products fail.
Don't mess with our TLS connections.
https://github.com/hannob/superfishy
Questions? Discussion?

More Related Content

PDF
Some tales about TLS
PDF
Nessus and Reporting Karma
PDF
Null bhopal Sep 2016: What it Takes to Secure a Web Application
PPT
Sniffing SSL Traffic
PDF
SSL Pinning and Bypasses: Android and iOS
PPTX
BlueHat v17 || Scaling Incident Response - 5 Keys to Successful Defense at S...
PDF
Open Canary - novahackers
PDF
Exploiting publically exposed Version Control System
Some tales about TLS
Nessus and Reporting Karma
Null bhopal Sep 2016: What it Takes to Secure a Web Application
Sniffing SSL Traffic
SSL Pinning and Bypasses: Android and iOS
BlueHat v17 || Scaling Incident Response - 5 Keys to Successful Defense at S...
Open Canary - novahackers
Exploiting publically exposed Version Control System

What's hot (20)

PDF
Managing SSH Acccess Without Managing SSH Keys
PDF
SREcon Europe 2016 - Full-mesh IPsec network at Hosted Graphite
PDF
Webinar - 2020-09-23 - Escape the ticketing turmoil with Teleport PagerDuty &...
PDF
Let's Encrypt!
PDF
SANS Purple Team Summit 2021: Active Directory Purple Team Playbooks
PDF
PLNOG16: Ochrona AntiDDoS, lokalnie oraz w chmurze, Paweł Wachełka
PDF
Cracking Wep And Wpa Wireless Networks
PPTX
Ssl in a nutshell
PDF
Nginx - The webserver you might actually like
PPTX
Interpolique
PDF
SSL/TLS for Mortals (JavaZone)
PPTX
Various Types of OpenSSL Commands and Keytool
ODP
OpenShift & SELinux with Dan Walsh @rhatdan
PPTX
I hunt sys admins 2.0
PDF
SSL intro
PDF
232 md5-considered-harmful-slides
PPTX
Dhcp security #netseckh
PPT
Freeware Security Tools You Need
PDF
Industry Best Practices for SSH Access
PPTX
BlueHat 2014 - The Attacker's View of Windows Authentication and Post Exploit...
Managing SSH Acccess Without Managing SSH Keys
SREcon Europe 2016 - Full-mesh IPsec network at Hosted Graphite
Webinar - 2020-09-23 - Escape the ticketing turmoil with Teleport PagerDuty &...
Let's Encrypt!
SANS Purple Team Summit 2021: Active Directory Purple Team Playbooks
PLNOG16: Ochrona AntiDDoS, lokalnie oraz w chmurze, Paweł Wachełka
Cracking Wep And Wpa Wireless Networks
Ssl in a nutshell
Nginx - The webserver you might actually like
Interpolique
SSL/TLS for Mortals (JavaZone)
Various Types of OpenSSL Commands and Keytool
OpenShift & SELinux with Dan Walsh @rhatdan
I hunt sys admins 2.0
SSL intro
232 md5-considered-harmful-slides
Dhcp security #netseckh
Freeware Security Tools You Need
Industry Best Practices for SSH Access
BlueHat 2014 - The Attacker's View of Windows Authentication and Post Exploit...
Ad

Viewers also liked (11)

PDF
The Fuzzing Project - 32C3
PPTX
Stanford creativity assignment #2 alycia de mesa
PDF
How (un)secure is SSL/TLS?
PDF
How broken is TLS?
PPTX
Fail Well
PPTX
Strenghts and weaknesses
PDF
'The History of Metrics According to me' by Stephen Day
PPTX
Prometheus design and philosophy
PPT
Introduction to Secure Sockets Layer
PPTX
Docker Online Meetup: Announcing Docker CE + EE
The Fuzzing Project - 32C3
Stanford creativity assignment #2 alycia de mesa
How (un)secure is SSL/TLS?
How broken is TLS?
Fail Well
Strenghts and weaknesses
'The History of Metrics According to me' by Stephen Day
Prometheus design and philosophy
Introduction to Secure Sockets Layer
Docker Online Meetup: Announcing Docker CE + EE
Ad

Similar to TLS Interception considered harmful (Chaos Communication Camp 2015) (20)

PDF
How to hide your browser 0-days
PPT
lamacchia-palladium
PDF
Defcon 22-zoltan-balazs-bypass-firewalls-application-whiteli
ODP
Wifi Security, or Descending into Depression and Drink
PPTX
Information Security Engineering
PPTX
Teensy Programming for Everyone
ODP
Hacktivity2014: Virtual Machine Introspection to Detect and Protect
DOCX
Lab-10 Malware Creation and Denial of Service (DoS) In t.docx
PPTX
Stage 1 Tradecraft
DOCX
Certified Ethical Hacker quick test prep cheat sheet
PDF
FreeBSD and Hardening Web Server
PDF
Hacking Exposed: The Mac Attack
PDF
Hacking Exposed: The Mac Attack
PDF
Qubes os presentation_to_clug_20150727
PPTX
Rust Hack
PPTX
Hacking the future with USB HID
PDF
NWSLTR_Volume8_Issue2
PDF
DEF CON 27 - workshop ANTHONY ROSE - introduction to amsi bypasses and sandbo...
PDF
Hacking Highly Secured Enterprise Environments by Zoltan Balazs
PDF
Docker, Linux Containers, and Security: Does It Add Up?
How to hide your browser 0-days
lamacchia-palladium
Defcon 22-zoltan-balazs-bypass-firewalls-application-whiteli
Wifi Security, or Descending into Depression and Drink
Information Security Engineering
Teensy Programming for Everyone
Hacktivity2014: Virtual Machine Introspection to Detect and Protect
Lab-10 Malware Creation and Denial of Service (DoS) In t.docx
Stage 1 Tradecraft
Certified Ethical Hacker quick test prep cheat sheet
FreeBSD and Hardening Web Server
Hacking Exposed: The Mac Attack
Hacking Exposed: The Mac Attack
Qubes os presentation_to_clug_20150727
Rust Hack
Hacking the future with USB HID
NWSLTR_Volume8_Issue2
DEF CON 27 - workshop ANTHONY ROSE - introduction to amsi bypasses and sandbo...
Hacking Highly Secured Enterprise Environments by Zoltan Balazs
Docker, Linux Containers, and Security: Does It Add Up?

More from hannob (7)

PDF
Crypto workshop part 3 - Don't do this yourself
PDF
Crypto workshop part 1 - Web and Crypto
PDF
Papierlos
PDF
Gehackte Webapplikationen und Malware
PDF
SSL, X.509, HTTPS - How to configure your HTTPS server
ODP
Stromsparen
ODP
Wirtschaftswachstum, klimawandel und Peak Oil
Crypto workshop part 3 - Don't do this yourself
Crypto workshop part 1 - Web and Crypto
Papierlos
Gehackte Webapplikationen und Malware
SSL, X.509, HTTPS - How to configure your HTTPS server
Stromsparen
Wirtschaftswachstum, klimawandel und Peak Oil

Recently uploaded (20)

PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PPTX
introduction about ICD -10 & ICD-11 ppt.pptx
PDF
Testing WebRTC applications at scale.pdf
PPTX
presentation_pfe-universite-molay-seltan.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
innovation process that make everything different.pptx
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPTX
SAP Ariba Sourcing PPT for learning material
PPT
tcp ip networks nd ip layering assotred slides
PPTX
international classification of diseases ICD-10 review PPT.pptx
PPTX
Internet___Basics___Styled_ presentation
PDF
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
PPTX
Introuction about ICD -10 and ICD-11 PPT.pptx
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PDF
The New Creative Director: How AI Tools for Social Media Content Creation Are...
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPT
Design_with_Watersergyerge45hrbgre4top (1).ppt
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
SASE Traffic Flow - ZTNA Connector-1.pdf
introduction about ICD -10 & ICD-11 ppt.pptx
Testing WebRTC applications at scale.pdf
presentation_pfe-universite-molay-seltan.pptx
Paper PDF World Game (s) Great Redesign.pdf
Slides PDF The World Game (s) Eco Economic Epochs.pdf
innovation process that make everything different.pptx
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
SAP Ariba Sourcing PPT for learning material
tcp ip networks nd ip layering assotred slides
international classification of diseases ICD-10 review PPT.pptx
Internet___Basics___Styled_ presentation
APNIC Update, presented at PHNOG 2025 by Shane Hermoso
Introuction about ICD -10 and ICD-11 PPT.pptx
Tenda Login Guide: Access Your Router in 5 Easy Steps
The New Creative Director: How AI Tools for Social Media Content Creation Are...
Slides PPTX World Game (s) Eco Economic Epochs.pptx
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
Design_with_Watersergyerge45hrbgre4top (1).ppt
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf

TLS Interception considered harmful (Chaos Communication Camp 2015)