
Herramienta para la enumeración y abuso de Active Directory Certificate Services
Este repositorio contiene un fork de ly4k/Certipy con muchos pull requests abiertos fusionados, hechos compatibles entre sí y probados (hasta cierto punto).
Como esto es un trabajo en curso, algunas funciones pueden o no funcionar como se espera y las cosas podrían romperse.
pipx (Recomendado)Si prefieres la comodidad de los entornos virtuales gestionados automágicamente, usa pipx:
pipx install git+https://github.com/zimedev/certipy-merged.git@main
Si necesitas soporte para LDAP Channel Binding, debes inyectar la librería ldap3 parcheada en el venv de Python:
pipx inject --force certipy-ad git+https://github.com/ly4k/ldap3
pip con un entorno virtualSi quieres gestionar tu instalación manualmente, usa pip de Python con venv para instalar en el directorio que elijas, como /opt:
cd /opt
git clone https://github.com/zimedev/certipy-merged
cd certipy-merged
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install .
Si estás en Arch Linux, puedes añadir el repositorio dadevel/archpkgs, que usa certipy-merged por defecto e incluye soporte para LDAP Channel Binding de serie.
Para añadir el repositorio archpkgs, consulta las instrucciones de configuración oficiales.
A continuación, puedes instalar archpkgs/certipy:
sudo pacman -Sy archpkgs/certipy
/opt/archpkgs/bin/certipy
Certipy v4.8.2 - by Oliver Lyak (ly4k)
usage: certipy [-v] [-h] {account,auth,ca,cert,find,forge,ptt,relay,req,shadow,template} ...
Active Directory Certificate Services enumeration and abuse
positional arguments:
{account,auth,ca,cert,find,forge,ptt,relay,req,shadow,template}
Action
account Manage user and machine accounts
auth Authenticate using certificates
ca Manage CA and certificates
cert Manage certificates and private keys
find Enumerate AD CS
forge Create Golden Certificates
ptt Inject TGT for SSPI authentication
relay NTLM Relay to AD CS HTTP Endpoints
req Request certificates
shadow Abuse Shadow Credentials for account takeover
template Manage certificate templates
options:
-v, --version Show Certipy's version number and exit
-h, --help Show this help message and exit
Estas funciones son nuevas y se han fusionado directamente en certipy-merged.
No hay un PR en el repositorio original, porque la base de código ha divergido demasiado.