← ClaudeAtlas

analyzing-active-directory-acl-abuselisted

Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths
26zl/cybersec-toolkit · ★ 11 · AI & Automation · score 85
Install: claude install-skill 26zl/cybersec-toolkit
# Analyzing Active Directory ACL Abuse ## Overview Active Directory Access Control Lists (ACLs) define permissions on AD objects through Discretionary Access Control Lists (DACLs) containing Access Control Entries (ACEs). Misconfigured ACEs can grant non-privileged users dangerous permissions such as GenericAll (full control), WriteDACL (modify permissions), WriteOwner (take ownership), and GenericWrite (modify attributes) on sensitive objects like Domain Admins groups, domain controllers, or GPOs. This skill uses the ldap3 Python library to connect to a Domain Controller, query objects with their nTSecurityDescriptor attribute, parse the binary security descriptor into SDDL (Security Descriptor Definition Language) format, and identify ACEs that grant dangerous permissions to non-administrative principals. These misconfigurations are the basis for ACL-based attack paths discovered by tools like BloodHound. ## When to Use - When investigating security incidents that require analyzing active directory acl abuse - When building detection rules or threat hunting queries for this domain - When SOC analysts need structured procedures for this analysis type - When validating security monitoring coverage for related attack techniques ## Prerequisites - Python 3.9 or later with ldap3 library (`pip install ldap3`) - Domain user credentials with read access to AD objects - Network connectivity to Domain Controller on port 389 (LDAP) or 636 (LDAPS) - Understanding of Active Dire