the internet has trust issues - nlnog• wosign and startcom are removed • continues to issue...

25
The internet has trust issues

Upload: others

Post on 25-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

The internet has trust issues

Page 2: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

About usThijs Alkemade

• Security Specialist

[email protected] / @xnyhps

Christiaan Ottow

• Security Coach

[email protected] / @cottow

Page 3: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Performance Security TestAutomation

Page 4: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

https://www.computest.nl/blog/startencrypt-considered-harmful-today/

Page 5: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Domain Validation Organization Validation

Extended Validation

Page 6: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 7: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Domain Validation

Page 8: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

How much control do you need to get a certificate?

Page 9: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 10: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

• <user>.github.io/<file>

• bit.ly/<token>

• <user>.s3.amazonaws.com/<key>

Page 11: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 12: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 13: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 14: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 15: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 16: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Client StartCom example.com

I want a cert for example.com

Okay, put abc on example.com

Put abc on attacker.com

Done, it’s on /?redir=attacker.com/abc

GET /?redir=attacker.com/abc

Location: attacker.com/abc

Good, here’s a cert

attacker.com

GET /abc

abc

Page 17: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 18: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve
Page 19: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Timeline of events• 23/6 report of issue

• 29/6 StartSSL confirms fix

• 30/6 Computest publishes findings

• ~2/7 StartEncrypt API offline

• 2/7 Google asks for details

• ~4/7 Product suspended

• 24/8 Mozilla opens discussion

Page 20: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Who should intervene if a CA misbehaves?

Page 21: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Mailinglist discussion

• Long list of issues at https://wiki.mozilla.org/CA:WoSign_Issues

• WoSign improvements

• Publish everything to CT, from 2015

• Always include SCT after July 5, 2016

• Central questions:

• Which incidents are CA/Bf BR violations?

• How do we punish a CA for those?

Page 22: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Sanctions

• Remove the CA

• Actively distrust the CA

• Remove the CA, whitelisting previously issued certs

• How do we ship the whitelist? Too large

• Distrust certs without CT information.

• Distrust certs without CT information. Whitelist certs before 2016

• See above, issues with whitelist

Page 23: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Scenarios

• WoSign is removed

• Continues to issue certs because of cross-signing

• WoSign is distrusted

• Continues to issue certs under StartCom CA

• WoSign and StartCom are removed

• Continues to issue certs because of cross-signing

• WoSign is distrusted for C != CN

• Doesn’t solve security implications

• WoSign is distrusted for CN != *.cn

• All browsers need to be patched

• WoSign dramatically improves

• Difficult to prove

• WoSign and StartCom are distrusted

• Business goes bankrupt

Page 24: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

How to minimize risk

Page 25: The internet has trust issues - NLNOG• WoSign and StartCom are removed • Continues to issue certs because of cross-signing • WoSign is distrusted for C != CN • Doesn’t solve

Cheers