The key algorithm of certificate requests is not checked by the certification authority's policy module

Assume the following scenario:

  • A certificate template is configured to use elliptic curve based keys (e.g. ECDSA_P256).
  • As a result, a minimum key length of 256 bits is configured.
  • Nevertheless, certificate requests that use other ECC curves or RSA-based keys are also signed.

Continue reading "The key algorithm of certificate requests is not checked by the certification authority's policy module"

Details of the event with ID 78 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:78 (0x4E)
Event log:Application
Event type:Error
Symbolic Name:MSG_POLICY_LOG_ERROR
Event text (English):The "%1" Policy Module logged the following error: %2
Event text (German):Das Richtlinienmodul "%1" hat folgenden Fehler protokolliert: %2

Continue reading "Details of the event with ID 78 of the source Microsoft-Windows-CertificationAuthority"

Details of the event with ID 77 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:77 (0x4D)
Event log:Application
Event type:Warning
Symbolic Name:MSG_POLICY_LOG_WARNING
Event text (English):The "%1" Policy Module logged the following warning: %2
Event text (German):Der Richtlinienmodul "%1" hat folgende Warnung protokolliert: %2

Continue reading "Details of the event with ID 77 of the source Microsoft-Windows-CertificationAuthority"

Details of the event with ID 76 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:76 (0x4C)
Event log:Application
Event type:Information
Event text (English):The "%1" Policy Module logged the following information: %2
Event text (German):Das Richtlinienmodul "%1" hat folgende Informationen protokolliert: %2

Continue reading "Details of the event with ID 76 of the source Microsoft-Windows-CertificationAuthority"

Details of the event with ID 44 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:44 (0x2C)
Event log:Application
Event type:Error
Symbolic Name:MSG_E_POLICY_ERROR
Event text (English):The "%1" Policy Module "%2" method returned an error. %5 The returned status code is %3. %4
Event text (German):Das Richtlinienmodul "%1", Methode "%2", hat einen Fehler verursacht. %5 Zurückgegebener Statuscode: %3. %4

Continue reading "Details of the event with ID 44 of the source Microsoft-Windows-CertificationAuthority"

Details of the event with ID 43 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:43 (0x2B)
Event log:Application
Event type:Error
Symbolic Name:MSG_E_POLICY_EXCEPTION
Event text (English):The "%1" Policy Module "%2" method caused an exception at address %4. The exception code is %3.
Event text (German):Das Richtlinienmodul "%1", Methode "%2", hat an der Adresse %4 einen Ausnahmefehler verursacht. Ausnahmecode: %3.

Continue reading "Details of the event with ID 43 of the source Microsoft-Windows-CertificationAuthority"

Details of the event with ID 9 of the source Microsoft-Windows-CertificationAuthority

Event Source:Microsoft-Windows-CertificationAuthority
Event ID:9 (0x9)
Event log:Application
Event type:Error
Symbolic Name:MSG_NO_POLICY
Event text (English):The Active Directory Certificate Services did not start: Unable to load an external policy module.
Event text (German):Die Active Directory-Zertifikatdienste wurden nicht gestartet: Es konnte kein externes Richtlinienmodul geladen werden.

Continue reading "Details of the event with ID 9 of the source Microsoft-Windows-CertificationAuthority"

Active Directory forest compromised by EDITF_ATTRIBUTESUBJECTALTNAME2 flag

Unfortunately, far too many instructions are circulating online (the big players are not exempt from this either, not even Microsoft itself or the grand master Komar ), which fatally recommend setting the EDITF_ATTRIBUTESUBJECTALTNAME2 flag on the certification authority - supposedly so that one would be able to issue certificates with a Subject Alternative Name (SAN) extension for manually submitted certificate requests.

Unfortunately, this approach is not only unnecessary, it also has some unpleasant side effects, which in the worst case can help an attacker to take over the entire Active Directory forest.

Continue reading "Active Directory forest compromised by EDITF_ATTRIBUTESUBJECTALTNAME2 flag"