Active Directory - Certificate ESC11
ESC11 - Relaying NTLM to ICPR
Encryption is not enforced for ICPR requests and Request Disposition is set to Issue.
Tools:
- ly4k/Certipy - Certipy official
- sploutchy/Certipy - Certipy fork
- sploutchy/impacket - Impacket fork
Exploitation:
-
Look for
Enforce Encryption for Requests: Disabledin certipy output. -
Setup a relay using Impacket ntlmrelay and trigger a connection to it.
-
Coerce authentication fomr a privileged account such as a Domain Controller.
-
Use the certificate
Mitigations:
Enforce RPC Encryption (Packet Privacy).
certutil -getreg CA\InterfaceFlags
certutil -setreg CA\InterfaceFlags +IF_ENFORCEENCRYPTICERTREQUEST
net stop certsvc
net start certsvc