adcs
Theadcs command provides tooling for enumerating, analyzing, and exploiting Active Directory Certificate Services (ADCS). It covers certificate authority enumeration, vulnerability detection across ESC1–ESC16, certificate requests, NT hash extraction via PKINIT, and relay attack enumeration.
Usage
Subcommands
adcs find
Enumerate the full ADCS environment and detect vulnerabilities. This is typically the first ADCS command you run — it enumerates all certificate authorities and certificate templates, then evaluates them for known escalation scenarios (ESC1–ESC16).
Flags
What It Detects
Results are stored in the
certificate_authorities, certificate_templates, and adcs_vulnerabilities tables.
adcs req
Request or retrieve certificates from a Certificate Authority.
Flags
adcs relay
Enumerate and support ADCS relay attacks (ESC8).
/certsrv/certfnsh.asp) to request a certificate on behalf of the coerced machine account. R4t’s relay subcommand provides enumeration support for identifying relay targets.
adcs auth (planned)
Authenticate using certificates (PKINIT or Schannel). Not yet fully implemented.
adcs account (planned)
Manage Active Directory accounts via ADCS. Not yet implemented.
adcs ca (planned)
Manage Certificate Authorities (view, configure). Not yet implemented.
adcs cert (planned)
Certificate format conversion utilities (PFX ↔ PEM, extract private key, etc.). Not yet implemented.
adcs forge (planned)
Forge certificates — Golden Certificate attacks using the stolen CA private key. Not yet implemented.
adcs shadow (planned)
Shadow Credentials — manipulate msDS-KeyCredentialLink on target objects for certificate-based authentication without a template. Not yet implemented as a standalone subcommand (shadow credential detection is available via ldap scan).

