AD Certificate Templates

I have already explained a bit about Certificates previously:

We can enumerate available Certificates Templates using certutil

certutil -v -template

We can also us certipyarrow-up-right with the -vulnerable flag to enumerate vulnerable templates


Identifying Poisonous Combinations

For this task, there are three key parameters we should find, based on the dangerous combinations I mentioned previously. We are to find three parameters:

  1. Allow Enroll or Allow Full Control

  2. Client Authentication

  3. CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT

Looking at the output of the Certipy tool above, we find 2 templates that are vulnerable. The one we are looking at is UserRequest

Great, now we have our vulnerable certificate!

Last updated