Biased RSA private keys: Origin attribution of GCD-factorable keys
Adam Janovsky, Matus Nemec, Petr Svenda, Peter Sekan, Vashek Matyas

TL;DR
This paper extends previous work on RSA key origin attribution by analyzing private keys, achieving higher accuracy and identifying sources of GCD-factorable keys in TLS scans and forensic cases.
Contribution
It introduces a model trained on private RSA keys that significantly improves origin attribution accuracy over prior public key-based methods.
Findings
Doubles the number of distinguishable library groups.
More than twice the accuracy over random guessing for single keys.
89% accuracy in identifying source libraries with multiple keys.
Abstract
In 2016, Svenda et al. (USENIX 2016, The Million-key Question) reported that the implementation choices in cryptographic libraries allow for qualified guessing about the origin of public RSA keys. We extend the technique to two new scenarios when not only public but also private keys are available for the origin attribution - analysis of a source of GCD-factorable keys in IPv4-wide TLS scans and forensic investigation of an unknown source. We learn several representatives of the bias from the private keys to train a model on more than 150 million keys collected from 70 cryptographic libraries, hardware security modules and cryptographic smartcards. Our model not only doubles the number of distinguishable groups of libraries (compared to public keys from Svenda et al.) but also improves more than twice in accuracy w.r.t. random guessing when a single key is classified. For a forensic…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
