
Ferramenta para enumeração e abuso do Active Directory Certificate Services
Este repositório contém um fork do ly4k/Certipy com muitas pull requests abertas mescladas, tornadas compatíveis entre si e testadas (até certo ponto).
Como este é um trabalho em andamento, alguns recursos podem ou não funcionar conforme o esperado e coisas podem quebrar.
pipx (Recomendado)Se você prefere a conveniência de ambientes virtuais gerenciados automaticamente, use pipx:
pipx install git+https://github.com/zimedev/certipy-merged.git@main
Se você precisar de suporte para LDAP Channel Binding, será necessário injetar a biblioteca ldap3 corrigida no venv do Python:
pipx inject --force certipy-ad git+https://github.com/ly4k/ldap3
pip com um Ambiente VirtualSe você quiser gerenciar manualmente sua instalação, use o pip do Python com venv para instalar em um diretório de sua escolha, 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 .
Se você estiver no Arch Linux, pode adicionar o repositório dadevel/archpkgs, que usa certipy-merged por padrão e inclui suporte a LDAP Channel Binding de fábrica.
Para adicionar o repositório archpkgs, consulte as instruções de configuração oficiais.
Em seguida, você pode 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
Estes recursos são novos e foram mesclados diretamente no certipy-merged.
Não há PR no repositório original, porque a base de código divergiu demais.