Skip to main content

Active Directory Certificate Services enumeration and abuse

Project description

Certipy - AD CS Attack & Enumeration Toolkit

PyPI version Python License

Certipy is a powerful offensive and defensive toolkit for enumerating and abusing Active Directory Certificate Services (AD CS). It helps red teamers, penetration testers, and defenders assess AD CS misconfigurations - including full support for identifying and exploiting all known ESC1-ESC16 attack paths.

[!WARNING] Use only in environments where you have explicit authorization. Unauthorized use may be illegal.


🔍 Features

  • 🔎 Discover Certificate Authorities and Templates
  • 🚩 Identify misconfigurations
  • 🔐 Request and forge certificates
  • 🎭 Perform authentication using certificates
  • 📡 Relay NTLM authentication to AD CS HTTP(S)/RPC endpoints
  • 🗝️ Support for Shadow Credentials, Golden Certificates, and Certificate Mapping Attacks
  • 🧰 And much more!

📚 Full Wiki & Documentation

Read the full step-by-step usage guide, including installation, vulnerability explanations, examples, and mitigations in the 📘 Certipy Wiki.


⚙️ Installation

See the Installation Guide for instructions on how to install Certipy.


🚀 Quick Start

See the Quick Start Guide for a quick overview of the most common commands and usage examples.


🎯 Supported AD CS Vulnerabilities

Certipy supports detection and exploitation of AD CS vulnerabilities across the full range of ESC1-ESC16.

For detailed explanations and exploitation steps, refer to the Certipy Wiki.


📎 Resources

See the Resources for selection of key resources related to AD CS security.


🤝 Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines on reporting issues, improving documentation, or submitting pull requests.


🌟 Sponsors

Thanks to these generous sponsors for supporting the development of this project. Your contributions help sustain ongoing work and improvements.

User avatar: Henri SaloUser avatar: mxrchUser avatar: ClipsUser avatar: User avatar: John HancockUser avatar: Sergio CUser avatar: x7331

👤 Author

Developed by @ly4k, with valuable contributions from the community.


📘 Wiki

📖 Visit the Certipy Wiki for detailed documentation, usage examples, ESC vulnerability breakdowns, and mitigation advice.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

certipy_ad-5.0.3.tar.gz (153.8 kB view details)

Uploaded Source

Built Distribution

certipy_ad-5.0.3-py3-none-any.whl (176.2 kB view details)

Uploaded Python 3

File details

Details for the file certipy_ad-5.0.3.tar.gz.

File metadata

  • Download URL: certipy_ad-5.0.3.tar.gz
  • Upload date:
  • Size: 153.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for certipy_ad-5.0.3.tar.gz
Algorithm Hash digest
SHA256 20b38b97e882d7231cebd3e815342616332775c1cd90263cbe2abd0d16233be6
MD5 ebe5bee165f27b9914ebbaf53f8bdb4e
BLAKE2b-256 cc269e281318067afbf2222df546eb41ce763bb8cc2070337bb29b3de409631c

See more details on using hashes here.

File details

Details for the file certipy_ad-5.0.3-py3-none-any.whl.

File metadata

  • Download URL: certipy_ad-5.0.3-py3-none-any.whl
  • Upload date:
  • Size: 176.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for certipy_ad-5.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 480be98fe0bb7ac611a89a477f63f0bce7eb469e11202af871614b07d0a82250
MD5 e0ae64dd7d2af1fd1ca0e3c1851f6377
BLAKE2b-256 5e723f1f43bc8e2e311bd36d31e196cec4f7b7774f973e9cfb1c3289d4acd710

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page