26
The Road to Encrypting All The Things J.C. Jones, Mozilla @JamesPugJones

The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

The Road to Encrypting All The Things

J.C. Jones, Mozilla @JamesPugJones

Page 2: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

1995, Netscape released HTTPS

Historic Reflection

Page 3: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

20 Years Later Firefox 42 (Nov 2015)

HTTP 59.99%

HTTPS 40.01%

Protocol for initial page load

Not enough HTTPS on the Internet • ~40% of initial page loads • ~65% of all subsequent requests

Data: telemetry.mozilla.org

Page 4: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Then Let’s Encrypt launched…

Page 5: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

8 Months Later… Firefox 47 (June 2016)

HTTP 51.66%

HTTPS 48.34%

Protocol for initial page load

On a path to HTTPS EverywhereData: telemetry.mozilla.org

+8% in 7 Months

Page 6: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Creating a New Certificate Authority

Page 7: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Threat Model

Risk: If someone issues a bad certificate, then Let’s Encrypt is no longer trusted. Close the doors, it’s over.

Page 8: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Trust from the Web PKI is binary

Becoming Trusted

Before Cross-Signature

0%

25%

50%

75%

100%

Trust

0

Trust

Page 9: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Trust from the Web PKI is binary

Becoming Trusted

After Cross-Signature

0%

25%

50%

75%

100%

Trust

1

Trust

Page 10: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Threat Model

Risk: If someone issues a bad certificate, then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Threats: Insiders. Datacenter staff. Hardware couriers. Network and Protocol. Laptops.

Page 11: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Unexpected Challenges

Page 12: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Datacenter: IPv6, power, space…

Page 13: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Physical security critical

Picking a Datacenter

Page 14: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

“Perpetual storage,”

Page 15: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

“Perpetual storage,”

by which we meanmagnetic tape.

Page 16: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Resolving DNS is really difficult.

Page 17: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Resolving DNS is really difficult.like, for real.

Page 18: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Security tape. Security bags.

Page 19: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Security tape. Security bags.

Page 20: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Moving a keyed hardware security module (HSM).

Page 21: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Last Resort:

Page 22: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

#1 Lesson

Page 23: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Remember your threat model.

Page 24: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Timeline

May 2013 Formed ISRG

June 2013 First Snowden disclosures

November 2014 Announced

November 2015 Public Beta

2012 Fundraising starts

Page 25: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted

Questions?• Datacenters? • Server Architecture? • Traffic Model / Modeling? • Threat Models • Governance / Policy

… and others!

J.C. Jones @JamesPugJones [email protected]

Page 26: The Road to Encrypting All The Things...Jul 05, 2016  · then Let’s Encrypt is no longer trusted. Close the doors, it’s over. Trust from the Web PKI is binary Becoming Trusted