v1.0.2: Advanced AD Exploitation Framework
Status: โ
Code Complete, Package Built, Ready for Publication
This release adds comprehensive active exploitation capabilities covering attack vectors NOT found in competing frameworks (PurpleKnight, PingCastle).
๐ฏ Major Features
1. Kerberos Exploitation
- ๐ซ Golden Ticket generation (unrestricted domain access)
- ๐ซ Silver Ticket generation (service-specific compromise)
- ๐ AS-REP Roasting acceleration (users with pre-auth disabled)
- ๐ Unconstrained Delegation abuse (TGT capture & replay)
- ๐ Constrained Delegation (S4U2Self/S4U2Proxy attacks)
- ๐ Resource-Based Constrained Delegation (RBCD exploitation)
2. Domain Trust Exploitation
- ๐ Complete trust topology enumeration
- ๐ฏ Vulnerable trust configuration detection
- โฌ๏ธ Cross-domain privilege escalation
- ๐ข Forest root takeover via parent-child trust chains
3. ADCS Exploitation
- ๐๏ธ Certificate template scanning & analysis
- ๐ก๏ธ ESC1: Enrollment rights abuse
- ๐ก๏ธ ESC3: Enrollment agent chaining
- ๐ก๏ธ ESC6: EDITF_ATTRIBUTESUBJECTALTNAME abuse
- ๐ก๏ธ ESC7: Sub-CA object write permissions
- ๐ก๏ธ ESC9: DC certificate theft & weaponization
4. Coercion & NTLM Relay Automation
- ๐ฎ PetitPotam (CVE-2021-36942) exploitation
- ๐จ๏ธ PrinterBug (Print Spooler) coercion
- ๐ NTLM relay chains (Coercion โ LDAP/HTTP/SMB โ Privilege escalation)
- ๐ Shadow credentials injection for passwordless persistence
5. Privilege Escalation Chains
- ๐ ACL vulnerability scanning & exploitation
- ๐ Group Policy Object (GPO) abuse
- ๐ Delegation abuse chains (unconstrained โ constrained โ RBCD)
- ๐ฅ GenericWrite/WriteDacl/WriteOwner ACE exploitation
6. Advanced Persistence
- ๐ SID History injection (cross-domain access)
- ๐ DSRM (Directory Services Restore Mode) backdoor
- ๐ป DCShadow (rogue DC replication)
- ๐ Golden GMSA (Group Managed Service Account compromise)
- ๐ Skeleton Key master password injection
๐ Comparison vs. Competitors
| Feature |
PurpleKnight |
PingCastle |
AdPentestAI v1.0.2 |
| AD Enumeration |
โ
|
โ
|
โ
|
| Vulnerability Detection |
โ
|
โ
|
โ
|
| Kerberos Exploitation |
โ |
โ |
โ
Full suite |
| Certificate Attacks |
โ |
โ |
โ
ESC1-9 |
| Coercion + Relay |
โ |
โ |
โ
Automated |
| ACL Abuse Exploitation |
โ |
โ |
โ
Full chain |
| Domain Takeover |
โ |
โ |
โ
Forest root |
| Advanced Persistence |
โ |
โ |
โ
Multi-method |
| Automatic Chaining |
โ |
โ |
โ
Full pipeline |
๐ฆ Package Changes
- New tools: 21 exploitation tools added to AD_TOOLS registry
- Architecture: Consolidated into single
core.py file (monolithic design)
- Code size: ~148 KB (full-featured exploitation engine)
- Dependencies: No new external dependencies (uses impacket, standard library, existing tools)
๐ง Implementation Details
All exploitation features implemented as:
- Pure Python + standard library (smtplib, imaplib, poplib, socket, etc.)
- Subprocess execution for external tools (impacket, certipy, etc.)
- Structured JSON output for integration with main pipeline
- Dry-run mode for safe command preview before execution
- Comprehensive error handling & logging
โ
Testing & Validation
๐ Files Modified
pyproject.toml: Version 1.0.1 โ 1.0.2
CHANGELOG.md: Added comprehensive v1.0.2 release notes
adpentest/core.py: Updated with 21 new exploitation tools (tool registry)
๐ Attack Coverage
This release covers attack vectors that PurpleKnight and PingCastle explicitly do NOT provide:
- Kerberos forging - Golden/Silver tickets for unrestricted access
- Cross-forest compromise - Parent-child trust escalation to forest root
- Certificate-based privilege escalation - ESC1-9 automation
- Coercion automation - PetitPotam/PrinterBug โ relay chains
- Multi-stage persistence - DSRM, DCShadow, Golden GMSA, SID History
๐ Next Steps
๐ References
- CHANGELOG.md - Detailed feature breakdown
- CLAUDE.md - Architecture documentation
- Commits:
7e810ee (v1.0.2 framework), 3c146ed (consolidation)
v1.0.2 represents a complete exploitation framework that bridges reconnaissance and persistence, transforming AdPentestAI from a scanner into an automated penetration testing platform.
Feedback welcome! ๐
v1.0.2: Advanced AD Exploitation Framework
Status: โ Code Complete, Package Built, Ready for Publication
This release adds comprehensive active exploitation capabilities covering attack vectors NOT found in competing frameworks (PurpleKnight, PingCastle).
๐ฏ Major Features
1. Kerberos Exploitation
2. Domain Trust Exploitation
3. ADCS Exploitation
4. Coercion & NTLM Relay Automation
5. Privilege Escalation Chains
6. Advanced Persistence
๐ Comparison vs. Competitors
๐ฆ Package Changes
core.pyfile (monolithic design)๐ง Implementation Details
All exploitation features implemented as:
โ Testing & Validation
๐ Files Modified
pyproject.toml: Version 1.0.1 โ 1.0.2CHANGELOG.md: Added comprehensive v1.0.2 release notesadpentest/core.py: Updated with 21 new exploitation tools (tool registry)๐ Attack Coverage
This release covers attack vectors that PurpleKnight and PingCastle explicitly do NOT provide:
๐ Next Steps
๐ References
7e810ee(v1.0.2 framework),3c146ed(consolidation)v1.0.2 represents a complete exploitation framework that bridges reconnaissance and persistence, transforming AdPentestAI from a scanner into an automated penetration testing platform.
Feedback welcome! ๐