# Acl abuse

> Acl abuse is an open-source agent skill for security. Walks Active Directory ACL edges to escalate privileges, with bloodyAD and impacket. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ADScanPro/Claude-AD/tree/main/skills/acl-abuse
- **Repository:** https://github.com/adscanpro/claude-ad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** acl-abuse
- **Collection:** https://github.com/ADScanPro/Claude-AD
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-12-02

## About

This skill covers abuse of Active Directory object permissions such as GenericAll, GenericWrite, WriteDACL, WriteOwner, AddMember, ForceChangePassword and replication rights. It is meant to be used after BloodHound CE has mapped an outbound control edge from a principal the tester already controls toward a higher-value object. For each right it describes what the edge allows, then gives the bloodyAD or impacket command that exercises it, such as resetting a password, editing group membership, setting an SPN for targeted Kerberoasting, or rewriting an object's DACL.

The skill also places DCSync correctly as a post-compromise step rather than an entry point. It explains that the ACL weakness is the mis-granted replication right, and that secretsdump or netexec are used only once those rights are held. Alongside the offensive steps it lists Windows event IDs to watch for, including 5136, 4662 and 4728, and a remediation checklist covering ACE audits, replication rights, domain head DACL protection and MachineAccountQuota.

The workflow assumes a valid domain account, the domain controller address and a BloodHound CE graph collected with SharpHound CE, rusthound-ce or nxc. Commands target a Windows domain and rely on bloodyAD, impacket and netexec. The skill is a single SKILL.md with no bundled scripts.

## When your agent uses it

> Abusing Active Directory object ACLs (DACL/ownership) for privilege escalation and lateral movement (GenericAll, GenericWrite, WriteDACL, WriteOwner, AddMember, ForceChangePassword, and replication rights via DS-Replication-Get-Changes-All). Use when BloodHound CE shows an outbound control edge from a principal you own toward a higher-value object, and you want the exact bloodyAD/impacket command to weaponize that ACE, plus detection and remediation. DCSync is covered here strictly as a post-compromise technique, not a user entry path.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ADScanPro/Claude-AD/tree/HEAD/skills/acl-abuse)
- [License: MIT](https://github.com/ADScanPro/Claude-AD/tree/HEAD/skills/acl-abuse)

## Features

- **Control edge walkthroughs:** Explains each outbound AD right, such as GenericAll or WriteDACL, and what it lets a principal do to the target.
- **bloodyAD and impacket commands:** Provides copy-ready commands for password resets, group changes, DACL edits and ownership transfers.
- **Targeted roasting steps:** Shows how to set SPNs or the preauth flag on a user and then request Kerberoast or AS-REP material.
- **DCSync as follow-on:** Frames replication-right abuse as a post-compromise step and shows the secretsdump and netexec usage.
- **Detection event IDs:** Lists Windows events such as 5136, 4662 and 4728 that reveal ACL changes and non-DC replication.
- **Remediation checklist:** Covers auditing ACEs, stripping replication rights, protecting the domain head and setting MachineAccountQuota to zero.

## Good for

- Reset a user's password through a GenericAll edge found in BloodHound
- Add a controlled account to a privileged group using AddMember rights
- Set an SPN on a target user to run a targeted Kerberoast
- Take ownership of an AD object and grant full control with WriteOwner
- Audit Active Directory ACEs for risky permissions on privileged objects

## Install

### Claude Code

This skill ships in the `claude-ad` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ADScanPro/Claude-AD
/plugin install claude-ad@claude-ad
```

Or copy only this skill to `~/.claude/skills/acl-abuse`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/acl-abuse &&
cp -R "$tmp/skills/acl-abuse" ~/.claude/skills/acl-abuse &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/acl-abuse` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/acl-abuse` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/acl-abuse &&
cp -R "$tmp/skills/acl-abuse" ~/.agents/skills/acl-abuse &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/acl-abuse` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/acl-abuse` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/acl-abuse &&
cp -R "$tmp/skills/acl-abuse" ~/.cursor/skills/acl-abuse &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/acl-abuse` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ADScanPro/Claude-AD.git --path skills/acl-abuse
```

Or copy the folder to `~/.gemini/skills/acl-abuse` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/acl-abuse`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/acl-abuse &&
cp -R "$tmp/skills/acl-abuse" ~/.copilot/skills/acl-abuse &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/acl-abuse` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ADScanPro/Claude-AD.git
```

Then copy `Claude-AD/skills/acl-abuse` into your agent's skills folder as `acl-abuse`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Acl abuse can be used?

It assumes BloodHound CE has already drawn an outbound control edge from a principal you own toward a higher-value object, and it uses bloodyAD and impacket commands against the domain controller.

### Is DCSync a way into a domain?

No. The skill says DCSync is a post-compromise technique that requires a principal already holding the directory replication rights, usually after a WriteDACL or WriteOwner chain.

### Which Windows events show this kind of abuse?

The skill points to event 5136 for directory object changes, 4662 for replication access by non-DC principals, and 4728, 4732 and 4756 for group membership additions.

### Does the skill include scripts?

No. It is a single SKILL.md file with no bundled scripts; the commands are shown in the text.

### How do I install Acl abuse in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/acl-abuse to use it in all your projects, or to .claude/skills/acl-abuse in one project. Or install the claude-ad plugin, which includes it: /plugin marketplace add ADScanPro/Claude-AD, then /plugin install claude-ad@claude-ad.

### Does Acl abuse run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Acl abuse?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Acl abuse?

The closest alternatives to Acl abuse are Kerberos attacks, System, Ad opsec telemetry, Ad methodology and Ad environment constraints.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Kerberos attacks](https://ai-powered.com/skills/kerberos-attacks): Kerberos attacks is an open-source agent skill for security.
- [System](https://ai-powered.com/skills/system): System is an open-source agent skill for security.
- [Ad opsec telemetry](https://ai-powered.com/skills/ad-opsec-telemetry): Ad opsec telemetry is an open-source agent skill for security.
- [Ad methodology](https://ai-powered.com/skills/ad-methodology): Ad methodology is an open-source agent skill for security.
- [Ad environment constraints](https://ai-powered.com/skills/ad-environment-constraints): Ad environment constraints is an open-source agent skill for security.
- [Coercion ntlm relay](https://ai-powered.com/skills/coercion-ntlm-relay): Coercion ntlm relay is an open-source agent skill for security.
- [Adcs attacks](https://ai-powered.com/skills/adcs-attacks): Adcs attacks is an open-source agent skill for security.
- [Compliance mapping](https://ai-powered.com/skills/compliance-mapping): Compliance mapping is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/acl-abuse
