A Hacker Hid a Message Inside a Trusted TLS Certificate

Horible public key tricks

Maurycy Z. got tired of the ACME dance and decided to protest by crafting a vanity RSA key whose modulus spells out a readable message in base64, then had Let's Encrypt sign it. The trick: tweak the upper half of n, round q up to the next prime, and the embedded text survives. The result is a fully functional, trusted certificate with a joke baked into its public key.

No one checks these things. A certificate authority got away with the number 4 for a year.
  1. knotimpressed

    The linked pdf at https://tom7.org/httpv/httpv.pdf is extremely long but a great read if you enjoyed the article.

  2. tptacek

    All serious attackers are man-in-the-middle attackers (usually by tricking victims into diverting their own traffic, not literally by inserting themselves into the network path). Passive-only attackers went extinct along with the backbone-connected Sun servers that were used to launch those attacks.

    I don't so much care about the rest of this analysis, but you can't call an unauthenticated TLS session "secure".

  3. sam1r

    Tip: select the the ‘tty’ mode prior to digging in.

    I’ve never felt a more relaxed feeling (easy on the eyes) while reading any blog in comparison.

  4. arcfour

    >Nobody checks your private keys

    You're implying that they should???

  5. geekgod382

    I don't understand the math. What does plaintext^e mod n actually do?

More from this day

2026-11-10