Attacking and Defending Active Directory with OpenSSL
summary
OpenSSL is shown as a practical attack and audit tool that fully enumerates and often exploits eight of sixteen ADCS escalation paths using crafted CSRs and certificate parsing rather than exotic tooling, with certify.exe noted as an OpenSSL‑based offensive binder and GitHub scripts plus a PowerShell lab builder provided. Examples include crafting a CSR to supply any SAN and impersonate administrator, using a request agent to become a subordinate CA, and brute forcing via wildcard UPN mapping; mitigations include manager approvals and strict certificate‑to‑account mapping.
AI-written summary · about
chapters (21)
- 0:00Introduction to OpenSSL in AD
- 1:47ADCS and Windows PKI
- 3:12ADCS Enterprise Mode
- 6:01Certificate Templates and EKUs
- 7:50OpenSSL as PKI Swiss Army Knife
- 9:35OpenSSL Use Cases in Red/Blue Teams
- 11:02ADCS Vulnerabilities ESC1-16
- 12:27Highlighted ESC Vulnerabilities
- 13:08ESC1 Enrollment with Custom SAN
- 15:33Offensive Workflow with ESC1
- 18:21ESC2 Any Purpose EKU Abuse
- 21:58ESC3 Certificate Request Agent
- 23:44Attacker Workflow for ESC3
- 26:31ESC6 Weak Certificate Authority Settings
- 29:01ESC9 Missing Security Extensions
- 30:07ESC10 Weak Certificate Mapping
- 34:05Offensive Workflow for ESC10
- 38:40ESC13 Issuance Policy Abuse
- 40:25ESC15 Arbitrary Application Policy
- 42:10Red vs Blue Team OpenSSL Tools
- 43:14Demo and Script Resources
