analyzing-active-directory-acl-abuse

Analyze Active Directory ACLs for dangerous permissions and output a JSON remediation report.

2|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Acczdy/MoZiSec --skill analyzing-active-directory-acl-abuse
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyzing-active-directory-acl-abuse
Source: https://github.com/Acczdy/MoZiSec/tree/main/iam/.claude/skills/analyzing-active-directory-acl-abuse
Command: npx skills add https://github.com/Acczdy/MoZiSec --skill analyzing-active-directory-acl-abuse

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ldap3, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Analyzing Active Directory ACLs to identify dangerous permissions granted to non-admin principals, enabling rapid detection of risky configurations.

Core Features & Use Cases

  • Parses AD security descriptors from nTSecurityDescriptor using ldap3 and maps SIDs to human-readable principals.
  • Detects dangerous ACEs such as GenericAll, WriteDACL, and WriteOwner on high-value or critical objects (Domain Admins, GPOs, etc.).
  • Produces a structured remediation JSON report suitable for incident response, threat hunting, and compliance validation.

Quick Start

Run the analyzer against your AD environment to scan AD objects for dangerous ACLs and generate a remediation JSON report.

Frequently Asked Questions about analyzing-active-directory-acl-abuse

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify dangerous Active Directory ACLs granted to non-admin users?

To identify dangerous Active Directory ACLs, you parse nTSecurityDescriptor security descriptors to detect risky permissions like GenericAll, WriteDACL, and WriteOwner on critical objects such as Domain Admins and GPOs, mapping SIDs to human-readable principals.

What is Active Directory ACL abuse detection and how does it work?

Active Directory ACL abuse detection parses SDDL from nTSecurityDescriptor, resolves SIDs to principals, and flags risky ACEs granted to non-admin users. It exposes dangerous misconfigurations that enable privilege escalation across domain controllers, users, groups, and OUs.

How do I parse nTSecurityDescriptor SDDL using ldap3 for threat hunting?

You can parse nTSecurityDescriptor SDDL using ldap3 by validating and extracting the security descriptor, resolving object SIDs to human-readable principal names, and evaluating Access Control Entries for high-risk permissions during threat hunting operations.

Does this Active Directory ACL analyzer require administrator privileges to run?

The analyzer targets dangerous permissions granted to non-admin principals by scanning domain controllers, users, groups, and OUs. It requires sufficient directory read access to retrieve nTSecurityDescriptor attributes and resolve SIDs for accurate threat hunting analysis.

What is the best way to generate a remediation report for AD ACL misconfigurations?

The best way to generate a remediation report for AD ACL misconfigurations is to scan critical objects, validate SDDL, resolve SIDs, flag risky ACEs like WriteOwner, and output a structured JSON document suitable for incident response and compliance validation.

Can I use ldap3 to detect GenericAll and WriteDACL permissions on Domain Admins?

Yes, you can use ldap3 to retrieve nTSecurityDescriptor and detect GenericAll, WriteDACL, and WriteOwner permissions on Domain Admins. The analyzer validates SDDL, resolves SIDs, and flags these risky ACEs for privilege escalation detection.