analyzing-active-directory-acl-abuse

analyzing-active-directory-acl-abuse is a skill for Claude Code from oyi77/1ai-skills. It costs 55 tokens per session (1,353 once invoked), scanned A, a copy of analyzing-active-directory-acl-abuse, MIT.

A procedure for finding dangerous permission settings in Microsoft Active Directory, the system many organisations use to manage users, computers, and access. It uses LDAP queries to identify permissions such as full control or the ability to change ownership on sensitive objects.

In plain words
What is it for?
Use it to inspect Active Directory access-control lists, find risky permission grants, investigate incidents, and identify attack paths for detection or remediation.
Why use it?
Incorrect permissions can let ordinary accounts take control of important groups, domain controllers, or policies. Finding these access paths helps security teams investigate and correct them.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the 1ai-skills plugin — 209 skills, 4 commands shipped together

Good fit Use it to inspect Active Directory access-control lists, find risky permission grants, investigate incidents, and identify attack paths for detection or remediation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oyi77/1ai-skills --skill analyzing-active-directory-acl-abuse
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 209 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyzing-active-directory-acl-abuse

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyzing-active-directory-acl-abuse

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/analyzing-active-directory-acl-abuse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,353 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 84% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.01353
Opus 5 $0.00028 $0.00677
Sonnet 5 $0.00011 $0.00271
Haiku 4.5 $0.00006 $0.00135

Measured 8d ago against content hash e3cd0679e4e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

analyzing-active-directory-acl-abuse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

84% identical to analyzing-active-directory-acl-abuse — 55 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

cybersecurity/analyzing-active-directory-acl-abuse/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Trigger phrases:

  • "analyzing active directory acl abuse"

  • "Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identi"

  • 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 Directory security model and SDDL format

Steps

  1. Connect to Domain Controller: Establish an LDAP connection using ldap3 with NTLM or simple authentication. Use LDAPS (port 636) for encrypted connections in production.

  2. Query target objects: Search the target OU or entire domain for objects including users, groups, computers, and OUs. Request the nTSecurityDescriptor, distinguishedName, objectClass, and sAMAccountName attributes.

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 128 lines · 55 tokens per session scan A e3cd0679e4e5

Subscribe to this mod's changes

analyzing-active-directory-acl-abuse is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 1,353 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 84% identical to analyzing-active-directory-acl-abuse, differing in 55 lines, and is treated as a copy.