certicate trans侄parency root explorer · certicate trans侄parency root explorer...is a tool for...

19
Certicate Tranparency Root Explorer Nikita Korzhitskii Niklas Carlsson

Upload: others

Post on 14-May-2020

20 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Certicate Trans侄parency Root Explorer

Nikita KorzhitskiiNiklas Carlsson

Page 2: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Root 1 Root 3Root 2

Root certificates of trusted Certificate Authorities e.g. GlobalSign Root CA, Amazon Root CA, GoDaddy Root CA

Web Public Key Infras侄tructure (WebPKI)

Page 3: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Root 1 Root 3Root 2

Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5

Intermediate 7Intermediate 6

Root CAs issue Intermediate certificates to themselves or other organizations.

Telia CA

KTH CA McDonalds CA

Foo AB CA

Bar GmbH CA

Web Public Key Infras侄tructure (WebPKI)

Page 4: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Root 1 Root 3Root 2

Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5

Intermediate 7Intermediate 6

Leaf 1 Leaf 2 Leaf 3 Leaf 4 Leaf 5 Leaf 6 Leaf 7 Leaf 8 Leaf 9

google.com liu.se fb.me mozilla.org xkcd.com github.io kth.se mit.edu *.linkoping.se

Web Public Key Infras侄tructure (WebPKI)

Page 5: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Web Public Key Infras侄tructure (WebPKI)

Root 1 Root 3Root 2

Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5

Intermediate 7Intermediate 6

Leaf 1 Leaf 2 Leaf 3 Leaf 4 Leaf 5 Leaf 6 Leaf 7 Leaf 8 Leaf 9

Root store 1 Root store 3Root store 2

google.com liu.se fb.me mozilla.org xkcd.com github.io kth.se mit.edu *.linkoping.se

Client w/ Root Store 1: google.com, liu.se, fb.me, mozilla.orgClient w/ Root Store 2: google.com, liu.se, fb.me, mozilla.org, xkcd.com, github.io, kth.se, mit.eduClient w/ Root Store 3: github.io, kth.se, mit.edu, *.linkoping.se

Page 6: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Root 1 Root 3Root 2

Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5

Intermediate 7Intermediate 6

Leaf 1 Leaf 2 Leaf 3 Leaf 4 Leaf 5 Leaf 6 Leaf 7 Leaf 8 Leaf 9

Certicate Trans侄parency

• An internet standard, RFC 6962• Append-only logging of issued certificates

Page 7: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Root 1 Root 3Root 2

Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5

Intermediate 7Intermediate 6

Leaf 1 Leaf 2 Leaf 3 Leaf 4 Leaf 5 Leaf 6 Leaf 7 Leaf 8 Leaf 9

Certicate Trans侄parency

• An internet standard, RFC 6962• Append-only logging of issued certificates

Log 1 Log 2 Log 3

Page 8: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Certicate Trans侄parency (in practce)

Root 1 Root 3Root 2

Intermediate 1 Intermediate 2 Intermediate 3 Intermediate 4 Intermediate 5

Intermediate 7Intermediate 6

Leaf 1 Leaf 2 Leaf 3 Leaf 4 Leaf 5 Leaf 6 Leaf 7 Leaf 8 Leaf 9

Root store 1 Root store 3Root store 2

Log 1 /w Root Store 1 Log 2 /w Root Store 2 Log 3 /w Root Store 3

Page 9: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Certicate Trans侄parency

● A CT log is侄 a s侄igned binary append-only Merkle tree of certicate chains侄

● Any party can s侄ubmit certicates侄● Logs侄 can be checked for cons侄is侄tency

● Initally developed and adopted by Google● Recently adopted by Apple● Mos侄t CAs侄 log their certicates侄 upon is侄s侄uance● CT extends侄 beyond WebPKI to RPKI

Page 10: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Applicatons侄 of Certicate Trans侄parency

● Connecton veriicaton● Detecton of mis侄is侄s侄ued certicates侄● Detecton of actvee phis侄hinge other domains侄 (privacy is侄s侄ues侄)● Repres侄entaton of the Internet s侄tructure● Many more…

We are interes侄ted in end-to-end s侄ecurity applicatons侄 of CT

Page 11: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores.

One can visualize intersections, compare, parse, search and export certificate information.

An SQLite database of logs and roots could be imported and exported.

CT logs could be scanned online.

Available root stores (Snapshot from 27th December, 2018):

Mozilla, Microsoft, Apple and multiple Certificate Transparency Logs.

Requirements:

Chrome or Chromium Browser.

By default, only logs by Google are available for live log scanning. The rest of the logs have not explicitly configured response headers related to the CORS policy.

GitHub: nikita-kun/certificate-transparency-root-explorer

Page 12: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Certicate Trans侄parency Root Explorer

GitHub: nikita-kun/certificate-transparency-root-explorer

Page 13: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Certicate Trans侄parency Root Explorer

GitHub: nikita-kun/certificate-transparency-root-explorer

Page 14: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

The datas侄et

GitHub: nikita-kun/certificate-transparency-root-explorer

● Collected on December 27th, 2018● 56 CT logs (54 were mentioned in Google’s list of known logs)● 3 Vendor Root Stores● 802 Root/Intermediate Certificate

Page 15: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

In order to enable attribution of each logged certificate to its issuer, the log SHALL publish a list of acceptable root certificates (this list might usefully be the union of root certificates trusted by major browser vendors).

RFC 6962

Certificates in root stores of CT logs and their relation to major vendor root stores

Page 16: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

In order to enable attribution of each logged certificate to its issuer, the log SHALL publish a list of acceptable root certificates (this list might usefully be the union of root certificates trusted by major browser vendors).

RFC 6962

Fraction of trusted vendor certificates not covered by CT logs

Page 17: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Intersections of Logs’ root stores

Page 18: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

Conclus侄ion

Intersection of root stores by Mozilla, Microsoft and Apple (top); Argon2019, Nimbus2019 and Nessie/Yeti2019 logs (bottom)

• Certificate Transparency is rapidly developing• As of January 2019, CT logs contained 3 billion entries• CT is already in your Chrome browser and Apple OSes• Many potential applications

However:● Internet is not fully covered by CT● Google and Apple rely on logs maintained by 4 operators

➔ Cloudflare, DigiCert, Google and Sectigo

Page 19: Certicate Trans侄parency Root Explorer · Certicate Trans侄parency Root Explorer...is a tool for exploring certificate stores. One can visualize intersections, compare, parse, search

www.liu.s侄e

Thank you!