/security-agent-skills:hunting-active-directory-acl-abuse-pathsfrom security-agent-skills
Hunts privilege escalation paths in Active Directory where a low-privileged principal holds a dangerous ACL right (password reset, group write, generic write, write owner) over a privileged object, enabling account takeover or chained control.
Ships in security-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Every object in an Active Directory carries an access control list, and the rights on it decide who may change it. Most of those rights are mundane, but a handful hand control of the object to whoever holds them: the right to reset a password logs you in as that account, the right to write group membership adds you to a privileged group, a generic write lets you set a logon script or a delegation the account will honor, and taking ownership lets you rewrite the permissions to grant yourself anything. When one of these rights sits on a privileged object and is held by a low-privileged principal, that principal owns the object; when the object it then controls holds a right over a further object, the control chains. The bug is a right over a more privileged object held by a principal who should not control it. You hunt these by reading the permissions on privileged objects and tracing each dangerous right to the account it seizes.
Test object-permission abuse only in directories you own or are authorized to assess, on non-production or a lab domain, making only reversible changes to test objects you are permitted to modify and never seizing a real privileged account outside the authorization. A confirmed chain yields control of a privileged account, so keep every probe within scope. If you can't name the authorization, stop.
Establish which dangerous right the low-privileged principal actually holds over a privileged object first. For each privileged object, read its permissions and determine whether a low-privileged principal holds a right that seizes control: reset-password, write-membership, a generic write, write-owner, or take-ownership. This is the false-positive killer: a right to read the object, or a write over an object no more privileged than the principal, is not an escalation. Name the specific right and the object it controls before claiming a path.
Enumerate privileged objects and their permissions. List the privileged users, groups, computers, and organizational units, and read the principals and rights on each object's access control list. Note every right held by a principal less privileged than the object itself.
Classify each dangerous right by what it seizes. Reset-password takes the account directly; write-membership adds the principal to the group; a generic write sets a logon script, a delegation, or a service principal name the account will act on; write-owner and take-ownership let the principal become the owner and then rewrite the whole access control list. Decide which control each right yields.
Trace the chain. A right that seizes one object matters more when that object holds a right over a further object; follow the edges from the low-privileged principal through each seized object to the highest-privileged account reachable. The finding is the whole path, not only the first hop.
Check the constraints that break the chain. Protected accounts whose permissions are reset by policy, inheritance blocked at a boundary, or a right that looks dangerous but is scoped to a property that grants no control can stop a link. Determine whether each hop actually authorizes the operation it appears to, against the object's live permissions.
Confirm and record. Confirm one link with a reversible change to a test object you are permitted to
modify on an isolated lab domain, observing the control the right grants, then undo it. Kill the lead if the
principal holds no controlling right over a more privileged object, if a protected-account policy resets
the permission, or if the apparent right is scoped to a property that grants no control. Record the
principal, the right, the object, the chain to the privileged account, and the reversible proof, or set a
kill_reason.
Confirm. A low-privileged principal holds the reset-password right over an account that is a member of a group with delegated control over a privileged organizational unit. Resetting the intermediate account's password on an isolated lab domain yields its context, from which the delegated control reaches a privileged object, all with reversible changes to test objects. Confirmed privilege escalation through an object- permission chain,
high, remediation = remove the reset-password and control rights from principals that do not require them, enforce protected-account policy on privileged objects, and audit delegated control on organizational units that contain privileged objects.Kill. The same privileged objects grant the low-privileged principal read rights only, protected-account policy resets their permissions on a schedule, and the delegated control on the organizational unit is scoped to non-privileged property sets that grant no account control. No held right seizes a more privileged object. Killed,
kill_reason= "the principal holds only read and scoped-property rights over more privileged objects, and protected-account policy resets any drift; no right seizes control of a privileged account."
You need the access control list of every privileged object, the rights each low-privileged principal holds, and the delegated control on organizational units that contain privileged objects. For each dangerous right, name what it seizes and trace the chain to the highest-privileged account reachable, checking each hop against the live permissions. Reading the permissions and following the edges settles most leads; a reversible change to a permitted test object that demonstrates one link on an isolated lab domain settles the rest.
hunting-adcs-certificate-template-abuse - a write over a certificate template or its enrollment rights is
one of the object-permission abuses this skill traces, leading into that certificate escalation.hunting-kerberos-and-ad-delegation-abuse - a generic write that sets a service principal name or a
delegation feeds the ticket-based escalation that skill pursues.auditing-group-policy-and-sysvol-trust - a write over a group policy object or its link is an object-
permission abuse whose payload that skill covers from the policy-content side.auditing-windows-token-and-privilege-abuse - once a chain yields a privileged account, the privileges that
account holds are the next lever, which that skill audits.What SKILL.md sets; muted values are Claude Code's defaults
194 skills in this plugin
/adjudicating-dependency-cve-reachabilityDecide whether a CVE in a dependency actually exposes your application before you scramble to patch: is the vulnerable function on a real call path from your code, do the trigger preconditions hold, and can an attacker control the input that reaches it. Use when an advisory, SCA scan, or dependency bot flags a CVE and you must separate a genuine exposure from unreachable noise, or justify why you are or are not affected. Covers pinning the vulnerable symbol, call-path reachability, precondition checks, and taint from your entry points./adjudicating-taint-pathsDecide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive.npx claudepluginhub unboundcompute/security-agent-skills --plugin security-agent-skillsOther plugins' skills for the same job