| Post Reply | RetroFed Forums Forum Index » Linux |
| Author | Message | ||
|---|---|---|---|
|
cm0002 lemdro.id cm0002@lemdro.id Joined: 2025-06-07 |
|
||
| 96 Original | |||
|
CombatWombat feddit.online ![]() CombatWombat@feddit.online Joined: 2025-09-09 |
|
||
| 36 | |||
|
lad programming.dev sukhmel@programming.dev Joined: 2023-07-03 |
I don't quite understand, what are those keys and how are they different from certificates, and how is it really used by an attacker. Is it that an attacker may use those to sign MitM fake certificate but claim it to have been checked by eMudhra? Is there really no way of terminating a CA certificate? |
||
| 8 | |||
|
Zerot fedia.io Zerot@fedia.io Joined: 2025-05-19 |
I don't quite understand, what are those keys and how are they different from certificates, and how is it really used by an attacker. Is it that an attacker may use those to sign MitM fake certificate but claim it to have been checked by eMudhra? Is there really no way of terminating a CA certificate?
Those keys are the private keys of 8 intermediate certificates. With those keys you can sign any certificate and from a browser(or any other app the consumes TLS) it will look like it was signed by the official intermediate certificate. So yeah, an attacker could sign fake certificates for any site and pretend to be signed by the trusted eMudhra CA. It requires MitM. As for revoking a cert, there are a few ways, but none of them are fully reliable. This works by having revocation list endpoints that list all the revoked certificates. Which is why you should already be fine if you are using a desktop browser(mobile could still be outdated). But for IoT devices, they tend to both not check the revocation lists, and not get updates to remove the compromised root. As a result we might have issues with this for a long time. This is also why there has been a big push to have short expiry times for certificates in the industry for multiple years now. Because with shorter lifetimes, the open window for using a compromised certificate is limited. |
||
| 11 | |||
|
mindbleach sh.itjust.works mindbleach@sh.itjust.works Joined: 2023-08-27 |
Oh for-- even Let's Encrypt spends a hot minute trying to break your keys. Trivially small numbers should be spotted immediately. |
||
| 6 | |||
|
Mikina programming.dev ![]() Mikina@programming.dev Joined: 2023-06-18 |
EDIT: Neverming, CAA is only checked on issuance-time, so the CA should refuse to create the cert, instead of browsers checking for it. WTF? What usecase does that have? Omg, I can't believe this is happening. I was the only one in our pentesting company who has reported "You don't have DNS CAA record" as a finding. I was usually told it's not really a worthwhile finding, that the risk is pretty low.
Reminder that you should set that up for your domain. |
||
| 4 | |||
|
Mikina programming.dev ![]() Mikina@programming.dev Joined: 2023-06-18 |
Those keys are the private keys of 8 intermediate certificates. With those keys you can sign any certificate and from a browser(or any other app the consumes TLS) it will look like it was signed by the official intermediate certificate. So yeah, an attacker could sign fake certificates for any site and pretend to be signed by the trusted eMudhra CA. It requires MitM. As for revoking a cert, the...
Btw, this is exactly the thing DNS CAA should prevent, and a reason why you should always have it set up for your domains. EDIT: Neverming, CAA is only checked on issuance-time, so the CA should refuse to create the cert, instead of browsers checking for it. WTF? What usecase does that have? |
||
| 2 | |||
|
towerful programming.dev towerful@programming.dev Joined: 2023-06-30 |
The private key sizes of the compromised keys ranged from 3 to 8 bits. Astonishingly, the private keys were 4, 56, 66, 115, 155, 156, 230, 237.
There really is an XKCD for everything. Even if it was drawn years before what its applicable to |
||
| 4 | |||
|
lad programming.dev sukhmel@programming.dev Joined: 2023-07-03 |
Those keys are the private keys of 8 intermediate certificates. With those keys you can sign any certificate and from a browser(or any other app the consumes TLS) it will look like it was signed by the official intermediate certificate. So yeah, an attacker could sign fake certificates for any site and pretend to be signed by the trusted eMudhra CA. It requires MitM. As for revoking a cert, the...
I see, thanks for an explanation I am afraid IoT would ignore expiry date if it bakes certificates in like they already do sometimes |
||
| 1 | |||
|
HaraldvonBlauzahn feddit.org HaraldvonBlauzahn@feddit.org Joined: 2025-04-04 |
How is that different from a government creating subverted certs through a national certificate authority? I don't think an updater for, say, Notepad++ or Rust's cargo would complain over such a cert. Of course, if you install Debian and check the image's GPG signature as recommemded, you are fine. This is why they are in place. |
||
| 1 | |||
| Post Reply | Page 1 |