SlideShare a Scribd company logo
1 of 14
Download to read offline
Improving Revocation In The 
Ssl/Tls Jungle 
By: 
Mohammed Almeshekah 
Security Engineering Team 
! 
August 1st, 2013
Secure Connections (Ssl/Tls) & 
Revocation 
When Firefox connects to a secure (i.e. https) server, a certificate 
must be presented to establish the identity of the server. 
! 
The certificate chain must be valid (not revoked) at all times. Two 
traditional mechanisms exist: 
• CRL (Certificate Revocation List). 
• OCSP (Online Certificate Status Protocol).
What Is Done Currently In Firefox 
Checking (only the end entity) CRL and OCSP -> No response -> 
assume it is trusted!? 
Shipping a new release when major compromise occurs: 
• https://blog.mozilla.org/security/2011/09/02/diginotar-removal-follow-up/
What Did I Do @ Mozilla 
Building a tool to analyze the SSL/TLS Jungle of the Alexa top 1 
million sites (can easily be expanded to analyze the whole IPv4 
address range) 
! 
Building a tool to analyze the revocation dynamics of the Alexa top 1 
million. 
! 
Implement a better approach for certificate revocation in Firefox 
(Preloaded and Dynamic CRLSets).
Crls And Ocsps In The Jungle 
These certificates pointed to 1,774 CRLs and 1,292 authority (OCSP) servers. 
CRLs: 
• Only 987 CRL servers responded [about (~1/2) are dead]. 
• Total size of all CRLs is (~98 MB) [average is ~100 KB]. 
• ~2.65 millions revoked certificates. 
OCSPs: 
• Performance concerns (OCSP for every cert in the chain). 
• CAs learn your browsing habits (privacy concerns). 
• Response takes about 200ms in the US!
The Ssl/Tls Jungle - What Is Revoked? 
Why are certificate being revoked? 
! 
! 
! 
! 
!
The Ssl/Tls Jungle, Contd. 
Clearly we are in a bad shape: 
• Revocation servers are not responding. 
• A LOT of certificates being revoked. 
• CRLs have an overage overhead of 100K (FFOS!). 
• OCSP has privacy concerns, SSL/TLS connections have to ping a CA 
server. 
“Performance vs. Security vs. Privacy” -> Can we do something?
New Revocation Mechanisms 
We need more than one mechanism: 
• We cannot bundle 2.65 million revocation information in Firefox (that is 
only for the Alexa top 1 million). 
! 
Currently two projects are in progress: 
• OCSP Stapling [and must-staple] (by David Keeler) - Stapling is in 
Nightly now. 
‣ https://blog.mozilla.org/security/2013/07/29/ocsp-stapling-in-firefox/ 
• CRLSet.
Revocation Mechanisms
Crlset 
Firefox will be having two CRLSets: 
• Preloaded CRLSet - revoked certificates that come built-in the 
browser. 
• Dynamic CRLSet - seamlessly update the revocation information 
pushing the information to the browsers without having to push new 
releases. 
What to include in the CRLSet?
What To Revoke? 
We can distinguish two major categories: 
• Revocations due to CAs mistakes (e.g mis-issuance, CA compromise, ..) 
• Revocations due to server operators mistakes (server key compromise, 
etc). 
Currently the Preloaded CRLSet is based on the revocation reasons 
in the actual CRLs.
Done & In Progress 
The tools are already uploaded in Github: 
• https://github.com/meshekah/SSL_Certs 
CRLSet: 
• Bug 886471. 
• Preloaded is almost done (final testing and reviews). 
• Dynamic - most of the logic is done, need to bundle the XHR request 
and download the delta file.
Final Thoughts 
SSL/TLS and trust is a BIGger mess than I thought. 
It is very interesting to work on cutting edge ideas that have never 
been implemented before and set the standards. Data is GOLD in 
these cases. 
Special thanks to: 
• Sid Stamm - my great manager. 
• Camilo Viecco - my awesome advisor. 
• Brian Smith.
Thanks 
Presentation available at: 
www.meshekah.com 
Personal Email: meshekah@gmail.com - Twitter: @meshekah

More Related Content

Viewers also liked

نظام إدارة المؤسسات التدربية التعليمية
نظام إدارة المؤسسات التدربية التعليميةنظام إدارة المؤسسات التدربية التعليمية
نظام إدارة المؤسسات التدربية التعليميةTrans Gulf information technology
 
امن الشبكات المخاطر والحلول
امن الشبكات المخاطر والحلولامن الشبكات المخاطر والحلول
امن الشبكات المخاطر والحلولabayazed
 
Managing System Security
Managing System SecurityManaging System Security
Managing System SecurityPIREH
 
العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات
 العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات
العرض المرئي عن الشركة عبر الخليج لتقنية المعلوماتTrans Gulf information technology
 
افاق المعرفة- نظام ادارة المكتبات
افاق المعرفة- نظام ادارة المكتبات افاق المعرفة- نظام ادارة المكتبات
افاق المعرفة- نظام ادارة المكتبات Trans Gulf information technology
 
إختبارات في أمن المعلومات It security
إختبارات في أمن المعلومات It securityإختبارات في أمن المعلومات It security
إختبارات في أمن المعلومات It securitySherief Elmetwali
 
شبكات و أمن المعلومات 1
شبكات و أمن المعلومات 1شبكات و أمن المعلومات 1
شبكات و أمن المعلومات 1emad tawfeek
 
أساسيات أمن المعلومات
أساسيات أمن المعلوماتأساسيات أمن المعلومات
أساسيات أمن المعلوماتMohammed Almeshekah
 
information security
information securityinformation security
information securityMoamen Ayyad
 
Security of the database
Security of the databaseSecurity of the database
Security of the databasePratik Tamgadge
 
الوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتهاالوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتهاAmin Abu Hammad
 
TRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.A
TRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.ATRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.A
TRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.Aopereira2705
 

Viewers also liked (17)

Truth and Consequences
Truth and ConsequencesTruth and Consequences
Truth and Consequences
 
منهجية قانون الانترنيت
منهجية قانون الانترنيتمنهجية قانون الانترنيت
منهجية قانون الانترنيت
 
نظام إدارة المؤسسات التدربية التعليمية
نظام إدارة المؤسسات التدربية التعليميةنظام إدارة المؤسسات التدربية التعليمية
نظام إدارة المؤسسات التدربية التعليمية
 
قضايا معرفية في الأمن السبراني
قضايا معرفية في الأمن السبرانيقضايا معرفية في الأمن السبراني
قضايا معرفية في الأمن السبراني
 
امن الشبكات المخاطر والحلول
امن الشبكات المخاطر والحلولامن الشبكات المخاطر والحلول
امن الشبكات المخاطر والحلول
 
Managing System Security
Managing System SecurityManaging System Security
Managing System Security
 
العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات
 العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات
العرض المرئي عن الشركة عبر الخليج لتقنية المعلومات
 
افاق المعرفة- نظام ادارة المكتبات
افاق المعرفة- نظام ادارة المكتبات افاق المعرفة- نظام ادارة المكتبات
افاق المعرفة- نظام ادارة المكتبات
 
مسودة مشروع قانون المعاملات الالكترونية الليبي
مسودة مشروع قانون المعاملات الالكترونية الليبيمسودة مشروع قانون المعاملات الالكترونية الليبي
مسودة مشروع قانون المعاملات الالكترونية الليبي
 
إختبارات في أمن المعلومات It security
إختبارات في أمن المعلومات It securityإختبارات في أمن المعلومات It security
إختبارات في أمن المعلومات It security
 
شبكات و أمن المعلومات 1
شبكات و أمن المعلومات 1شبكات و أمن المعلومات 1
شبكات و أمن المعلومات 1
 
أساسيات أمن المعلومات
أساسيات أمن المعلوماتأساسيات أمن المعلومات
أساسيات أمن المعلومات
 
information security
information securityinformation security
information security
 
Security of the database
Security of the databaseSecurity of the database
Security of the database
 
الوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتهاالوحدة السابعة - قاعدة البيانات وادارتها
الوحدة السابعة - قاعدة البيانات وادارتها
 
أمن المعلومات 4
أمن المعلومات 4أمن المعلومات 4
أمن المعلومات 4
 
TRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.A
TRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.ATRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.A
TRANSMISION DE DATOS Resumen UNIDAD I UFT OPM 1.A
 

Recently uploaded

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 

Recently uploaded (20)

Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 

Improving Revocation in the SSL/TLS jungle - Firefox Approach

  • 1. Improving Revocation In The Ssl/Tls Jungle By: Mohammed Almeshekah Security Engineering Team ! August 1st, 2013
  • 2. Secure Connections (Ssl/Tls) & Revocation When Firefox connects to a secure (i.e. https) server, a certificate must be presented to establish the identity of the server. ! The certificate chain must be valid (not revoked) at all times. Two traditional mechanisms exist: • CRL (Certificate Revocation List). • OCSP (Online Certificate Status Protocol).
  • 3. What Is Done Currently In Firefox Checking (only the end entity) CRL and OCSP -> No response -> assume it is trusted!? Shipping a new release when major compromise occurs: • https://blog.mozilla.org/security/2011/09/02/diginotar-removal-follow-up/
  • 4. What Did I Do @ Mozilla Building a tool to analyze the SSL/TLS Jungle of the Alexa top 1 million sites (can easily be expanded to analyze the whole IPv4 address range) ! Building a tool to analyze the revocation dynamics of the Alexa top 1 million. ! Implement a better approach for certificate revocation in Firefox (Preloaded and Dynamic CRLSets).
  • 5. Crls And Ocsps In The Jungle These certificates pointed to 1,774 CRLs and 1,292 authority (OCSP) servers. CRLs: • Only 987 CRL servers responded [about (~1/2) are dead]. • Total size of all CRLs is (~98 MB) [average is ~100 KB]. • ~2.65 millions revoked certificates. OCSPs: • Performance concerns (OCSP for every cert in the chain). • CAs learn your browsing habits (privacy concerns). • Response takes about 200ms in the US!
  • 6. The Ssl/Tls Jungle - What Is Revoked? Why are certificate being revoked? ! ! ! ! !
  • 7. The Ssl/Tls Jungle, Contd. Clearly we are in a bad shape: • Revocation servers are not responding. • A LOT of certificates being revoked. • CRLs have an overage overhead of 100K (FFOS!). • OCSP has privacy concerns, SSL/TLS connections have to ping a CA server. “Performance vs. Security vs. Privacy” -> Can we do something?
  • 8. New Revocation Mechanisms We need more than one mechanism: • We cannot bundle 2.65 million revocation information in Firefox (that is only for the Alexa top 1 million). ! Currently two projects are in progress: • OCSP Stapling [and must-staple] (by David Keeler) - Stapling is in Nightly now. ‣ https://blog.mozilla.org/security/2013/07/29/ocsp-stapling-in-firefox/ • CRLSet.
  • 10. Crlset Firefox will be having two CRLSets: • Preloaded CRLSet - revoked certificates that come built-in the browser. • Dynamic CRLSet - seamlessly update the revocation information pushing the information to the browsers without having to push new releases. What to include in the CRLSet?
  • 11. What To Revoke? We can distinguish two major categories: • Revocations due to CAs mistakes (e.g mis-issuance, CA compromise, ..) • Revocations due to server operators mistakes (server key compromise, etc). Currently the Preloaded CRLSet is based on the revocation reasons in the actual CRLs.
  • 12. Done & In Progress The tools are already uploaded in Github: • https://github.com/meshekah/SSL_Certs CRLSet: • Bug 886471. • Preloaded is almost done (final testing and reviews). • Dynamic - most of the logic is done, need to bundle the XHR request and download the delta file.
  • 13. Final Thoughts SSL/TLS and trust is a BIGger mess than I thought. It is very interesting to work on cutting edge ideas that have never been implemented before and set the standards. Data is GOLD in these cases. Special thanks to: • Sid Stamm - my great manager. • Camilo Viecco - my awesome advisor. • Brian Smith.
  • 14. Thanks Presentation available at: www.meshekah.com Personal Email: meshekah@gmail.com - Twitter: @meshekah