Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse template schema version and determine all conditions for ESC3 #133

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

SAERXCIT
Copy link
Contributor

Hi !

To exploit ESC3, alongside with a template having the Certificate Request Agent EKU, we also need a template that lets "a low privileged user to use the enrollment agent certificate to request a certificate on behalf of another user" (copy-pasted from SpecterOps' original whitepaper).

This is determined by looking at the template's schema version, which Certipy did not retrieve yet. This PR implements the retrieval of this value, as well as tries to check if templates can be used for the second step of ESC3.

Cheers !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant