Login
You're viewing the slime.global public feed.
  • Oct 20, 2026, 3:20 PM

    On the eMudhra CA certificate compromise: I just saw they advertise how they store their intermediate certs in HSMs on their website. There is a PoC of signatures from these keys making the rounds, which illustrates pretty well what the limits of HSMs are: To a network attacker, a HSM is little more than an API boundary, and if they can get access to something with access to the HSM, they don't need the keys, they can just tell the HSM to sign what they need to be signed.

    Website screnshot with about one paragraph worth of text reading:

```
    FIPS‑Certified HSM Deployment

    Root & Intermediate CAs in HSMs
        Offline Root HSMs: Air‑gapped, FIPS 140‑2 Level 3 modules hold root‑CA private keys, used only for signing intermediate‑CA certificates.
        Online Issuing HSM Clusters: FIPS 140‑2 Level 3 modules in high‑availability clusters host intermediate and issuing CA keys for SSL/TLS, code‑signing, and client‑auth certificates.

```
    💬 2🔄 1⭐ 1

Replies

  • Oct 20, 2026, 3:23 PM

    There's an interesting detail in that screenshot that's hard to notice to a layperson: They say their HSMs are FIPS 140-2 level 3. FIPS 140-2 has four levels, and what most don't know is that only at level 4, the highest level, is any serious active tamper sensing required. At level 3, which they use here, the requirement is literally:

    > Hard opaque potting material encapsulation of [the circuit board] or strong enclosure with removal/penetration attempts causing serious damage.

    💬 1🔄 0⭐ 1
  • Oct 20, 2026, 3:24 PM

    This means that against a physical attacker, FIPS 140-2 level 3 literally only means "we glued the server shut really well", and all that's needed to get inside is a drill or an angle grinder.

    💬 1🔄 0⭐ 0
  • Oct 20, 2026, 4:25 PM

    hah, it wasn’t a compromise of their infra, it’s way, way worse: apparently somehow, SOMEHOW those intermediates’ private keys had like eight bytes of entropy…between the eight of them, total 🤯

    💬 1🔄 2⭐ 0
  • Oct 20, 2026, 4:26 PM

    (1) how do you fuck up this bad as a CA
    (2) what exactly were their auditors doing when they signed off on their baseline requirements compliance

    💬 0🔄 0⭐ 0
  • 💬 1🔄 0⭐ 0
  • Oct 20, 2026, 4:56 PM

    @q3k @jaseg I ... uhmmm ... what?!

    There's a couple of follow-up questions. You know, the what-why-how-really? variety. But also: How did the vendor get their FIPS certification? Pulled it out a gumball machine‽

    💬 0🔄 0⭐ 0
  • Oct 20, 2026, 4:28 PM

    @jaseg Assuming the keys might have been generated on a HSM: Is it know which vendor one should extra avoid as a result?

    💬 0🔄 0⭐ 0
  • Oct 20, 2026, 4:31 PM

    @trilader @jaseg I hope that wasn't an HSM vendor. Can you imagine the shitshow that would follow? Yikes! I'd be like the Debian thing.

    💬 0🔄 0⭐ 0
  • 💬 2🔄 0⭐ 0
  • Oct 20, 2026, 3:28 PM

    @jaseg That forged cert thus only works with non-CT clients. Which obviously still is a problem because that basically is everything that is not a browser.

    But with MTCs that issue will also go away

    💬 0🔄 0⭐ 0
  • Oct 20, 2026, 3:46 PM

    @jaseg Also I think you could do something like git.glasklar.is/sigsum/apps/si for a "proper" HSM too. Probably not using Sigsum but just a generic log of payloads and HSM would only sign things that were sufficiently witnessed before. (My main gripe with the tkey is that there is no attestation path for knowing the provenance of key material it has generated)

    Obviously depends on your application of this is desirable of course.

    💬 0🔄 0⭐ 0
  • Oct 20, 2026, 4:06 PM

    @jaseg Seems like it was broken key generation after all. I wonder if the HSM is broken or if they imported broken keys

    💬 1🔄 0⭐ 0
  • Oct 20, 2026, 4:12 PM

    @23n27 oof! If the HSM was broken that would be a very big deal, because there is not that many manufacturers of these things so that would likely affect a lot of other places as well.

    💬 1🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0
  • 💬 0🔄 0⭐ 0