People often ask me "How did you learn how to hack?" The answer: by reading. This page is a collection of the blog posts and other articles that I have accumulated over the years of my journey. Enjoy!
eMudhra: Private key compromise of Intermediate Certificates- 2240
On October 17th, Mozilla received a report about the eMudhra private key of 8 intermediate certificates being compromised. The report included proof of key ownership.
From there, Apple, Mozilla, and Microsoft were notified of the key exposure. Within a single day, all of the keys were revoked by the CA, and many higher level CAs were blacklisting the key.
The key generation was severely flawed. Notably, the P384 keys were all used integers between 1, and the group order with integers less than 256. That is, the private keys are effectively all-zeros apart from the last byte, 3 to 8 bits. Using the baby-step giant-step discrete log, it's simple to recover these keys. This article explains how they found the issue.
Randomness still seems to be a major problem in this world. Interesting to see the outcome of this issue that normally doesn't go public.