analyzing-active-directory-acl-abuse
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
Detect dangerous ACL misconfigurations in Active Directory using ldap3
How to install analyzing-active-directory-acl-abuse
install analyzing-active-directory-acl-abuse
# install the Anthropic-Cybersecurity-Skills pack with the skills CLI
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-active-directory-acl-abuse/
# into
~/.claude/skills/analyzing-active-directory-acl-abuse/ (all projects)
.claude/skills/analyzing-active-directory-acl-abuse/ (one project)
1# Analyzing Active Directory ACL Abuse23## Overview45Active 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.67This 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.8910## When to Use1112- When investigating security incidents that require analyzing active directory acl abuse13- When building detection rules or threat hunting queries for this domain14- When SOC analysts need structured procedures for this analysis type15- When validating security monitoring coverage for related attack techniques1617## Prerequisites1819- Python 3.9 or later with ldap3 library (`pip install ldap3`)20- Domain user credentials with read access to AD objects21- Network connectivity to Domain Controller on port 389 (LDAP) or 636 (LDAPS)22…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
- ▸analyzing-certificate-transparency-for-phishing
