Time and again in discussions about the security of a certification authority, it comes up that abuse of the certification authority could be contained by its security settings.
However, the fact that the integrity of a certification authority is directly tied to its key material and can therefore also be compromised through it is not obvious at first glance.
One has to think of the certification authority software as a kind of management around the key material. For example, the software provides an online interface for certificate enrollment
, takes care of the authentication of the enrollees, the automated execution of signature operations (issuing certificates and certificate revocation lists
) and their logging (certification authority database
, audit log
, event log
).
However, signature operations require nothing more than the private key of the certification authority. The following example shows how an attacker, given access to the certification authority's private key, can generate and issue certificates without the certification authority software and its security mechanisms noticing.
With such a certificate, it would in the worst case even be possible to take over the Active Directory forest undetected
.
Continue reading "Signing certificates bypassing the certification authority"