D 2017

Measuring Popularity of Cryptographic Libraries in Internet-Wide Scans

NEMEC, Matúš, Dušan KLINEC, Petr ŠVENDA, Peter SEKAN, Václav MATYÁŠ et. al.

Basic information

Original name

Measuring Popularity of Cryptographic Libraries in Internet-Wide Scans

Authors

NEMEC, Matúš (703 Slovakia, belonging to the institution), Dušan KLINEC (703 Slovakia, belonging to the institution), Petr ŠVENDA (203 Czech Republic, belonging to the institution), Peter SEKAN (703 Slovakia, belonging to the institution) and Václav MATYÁŠ (203 Czech Republic, belonging to the institution)

Edition

New York, NY, USA, Proceedings of the 33rd Annual Computer Security Applications Conference, p. 162-175, 14 pp. 2017

Publisher

ACM

Other information

Language

English

Type of outcome

Stať ve sborníku

Field of Study

10201 Computer sciences, information science, bioinformatics

Country of publisher

United States of America

Confidentiality degree

není předmětem státního či obchodního tajemství

Publication form

electronic version available online

RIV identification code

RIV/00216224:14330/17:00095055

Organization unit

Faculty of Informatics

ISBN

978-1-4503-5345-8

UT WoS

000540643200014

Keywords in English

RSA algorithm; cryptographic library; prime generation

Tags

International impact, Reviewed
Změněno: 27/4/2018 10:51, RNDr. Pavel Šmerk, Ph.D.

Abstract

V originále

We measure the popularity of cryptographic libraries in large datasets of RSA public keys. We do so by improving a recently proposed method based on biases introduced by alternative implementations of prime selection in different cryptographic libraries. We extend the previous work by applying statistical inference to approximate a share of libraries matching an observed distribution of RSA keys in an inspected dataset (e.g., Internet-wide scan of TLS handshakes). The sensitivity of our method is sufficient to detect transient events such as a periodic insertion of keys from a specific library into Certificate Transparency logs and inconsistencies in archived datasets. We apply the method on keys from multiple Internet-wide scans collected in years 2010 through 2017, on Certificate Transparency logs and on separate datasets for PGP keys and SSH keys. The results quantify a strong dominance of OpenSSL with more than 84% TLS keys for Alexa 1M domains, steadily increasing since the first measurement. OpenSSL is even more popular for GitHub client-side SSH keys, with a share larger than 96%. Surprisingly, new certificates inserted in Certificate Transparency logs on certain days contain more than 20% keys most likely originating from Java libraries, while TLS scans contain less than 5% of such keys. Since the ground truth is not known, we compared our measurements with other estimates and simulated different scenarios to evaluate the accuracy of our method. To our best knowledge, this is the first accurate measurement of the popularity of cryptographic libraries not based on proxy information like web server fingerprinting, but directly on the number of observed unique keys.

Links

GA16-08565S, research and development project
Name: Rozvoj kryptoanalytických metod prostřednictvím evolučních výpočtů
Investor: Czech Science Foundation
MUNI/A/0992/2016, interní kód MU
Name: Zapojení studentů Fakulty informatiky do mezinárodní vědecké komunity (Acronym: SKOMU)
Investor: Masaryk University, Category A