AD CS (Active Directory Certificate Services) Pentesting
Enumeration
# Dump general information
certutil -dump
# Dump information about certificate authority
certutil -ca
certutil -catemplates
# List all templates
certutil -template
# specify the template
certutil -template ExampleTemplateExisting Certificates
Get-ChildItem cert:\
Get-ChildItem cert:\CurrentUser\
Get-ChildItem cert:\CurrentUser\My
Get-ChildItem cert:\LocalMachine\
Get-ChildItem cert:\LocalMachine\MyExtract Certificates
Extract the Private Key from a Certificate
References
Last updated