Skip to content

SSZcreate/Pentab_server / .agents/skills/cybersecurity/skills/exploiting-active-directory-certificate-services-esc1

exploiting-active-directory-certificate-services-esc1

Verified

Exploit misconfigured Active Directory Certificate Services (AD CS) ESC1 vulnerability to request certificates as high-privileged users and escalate domain privileges during authorized red team assessments.

FileKindSize
LICENSEother11.0 KB
SKILL.mdskill md7.7 KB
assets/template.mdmarkdown1.3 KB
references/api-reference.mdmarkdown2.1 KB
references/standards.mdmarkdown1.1 KB
references/workflows.mdmarkdown1.9 KB
scripts/agent.pyscript4.6 KB
scripts/process.pyscript7.9 KB

assets/template.md

View on GitHub
# AD CS ESC1 Assessment Template

## Engagement Details

| Field | Value |
|-------|-------|
| Assessment Date | |
| Target Domain | |
| CA Server(s) | |
| Assessor | |

## Certificate Authority Information

| CA Name | Server | Type | OS Version |
|---------|--------|------|------------|
| | | Enterprise / Standalone | |

## Vulnerable Templates Identified

| Template Name | ENROLLEE_SUPPLIES_SUBJECT | Auth EKU | Low-Priv Enroll | No Approval | ESC1 |
|--------------|--------------------------|----------|-----------------|-------------|------|
| | Yes/No | Yes/No | Yes/No | Yes/No | Yes/No |

## Exploitation Evidence

| Step | Action | Result | Screenshot |
|------|--------|--------|------------|
| 1 | CA Enumeration | | |
| 2 | Template Discovery | | |
| 3 | Certificate Request with SAN | | |
| 4 | PKINIT Authentication | | |
| 5 | Privilege Validation | | |

## Remediation Recommendations

| # | Recommendation | Priority | Status |
|---|---------------|----------|--------|
| 1 | Disable Supply in Request on vulnerable templates | Critical | |
| 2 | Enable manager approval for certificate requests | High | |
| 3 | Restrict template enrollment to specific groups | High | |
| 4 | Enable CA audit logging | Medium | |
| 5 | Deploy certificate monitoring | Medium | |
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall