Reaping and Breaking Keys at Scale When Crypto Meets Big Data
Romailler and Amiet presents reaping and breaking keys at scale when crypto meets big data: Public keys are everywhere, after all, they are public.
Summary
Architecture and Background
Public keys are everywhere, after all, they are public. These keys are waiting to be reaped by those who know their real value. Hidden behind this public face lurks some potentially dangerous issues which could lead to a compromise of data and privacy.
Vulnerability Analysis
Leveraging hundreds of minion devices, we built a public key reaping machine (which we are open sourcing) and operated it on a global scale. Collected keys are tested for vulnerabilities such as the recent ROCA vulnerability or factorization using batch-GCD. We've collected over 300 million keys so far and built a database 4 to 10 times bigger than previous public works.
Exploitation and Demonstrations
Performing the initial computation on over 300 million keys took about 10 days on a 280 vCPU cluster. Many optimizations allow our tool to incrementally test new RSA keys for common prime factors against the whole dataset in just a few minutes.
Remediation and Defensive Strategies
As a result of our research, we could have impersonated hundreds of people by breaking their PGP keys, mimicked thousands of servers thanks to their factored SSH keys and performed MitM attacks on over 200k websites relying on vulnerable X509 certificates.
In the end, we were able to do this in an entirely passive way. Going further is possible, but it would lead us to the dark side. Would big brother hesitate to go there?
Related talks
Main Stage·42 min
Ladar Levison · hon1nbo
Ladar Levison and hon1nbo presents booby trapping boxes: Ever worry about the hardware you leave behind?
Main Stage·33 min
Bui · Rao
Bui and Rao presents last mile authentication problem exploiting the missing link: With "Trust none over the Internet" mindset, securing all communication between a client and a server with protocols such as TLS has...
Main Stage·46 min
Douglas McKee
Douglas McKee presents 80 to 0 in under 5 seconds: It seems each day that passes brings new technology and an increasing dependence upon it.


