Lesson 8 of 13 · 15m
ACL Abuse: WriteDACL, GenericAll, and the Ownership Rewrite
How directory object permissions — not group membership — carry most escalation paths, and how ForceChangePassword plus WriteDACL chains reach DA.
Ask most admins how privilege works in AD and they will point at group membership. That is the wrong mental model. AD objects are secured by ACLs on the objects themselves — GenericAll, WriteDACL, WriteOwner, WriteProperty, ExtendedRight ACEs attached to every user, group, computer, GPO, and the domain object. Group membership is just one edge. The ACL graph is the rest of the map, and attackers walk it because defenders rarely audit it.
The primitives that matter
GenericAll— full control. On a user: reset the password, add SPNs, writemsDS-AllowedToActOnBehalfOfOtherIdentity. On a group: add yourself as a member (net group "Domain Admins" attacker /addworks — theAddMemberright is inside it). On a computer: RBCD.WriteDACL— rewrite the object's DACL. Grant yourselfGenericAll. One hop to full control.WriteOwner— take ownership of the object; owners can rewrite the DACL regardless of its contents. Same outcome as WriteDACL by a longer path.ExtendedRight: ForceChangePassword(DS-Replication-Get-Changesis a different ER — see DCSync) — reset a user's password without knowing the old one. Helpdesk gets this legitimately. Helpdesk group misconfigurations are how attackers take DA accounts.GenericWrite/WritePropertyon GPOs — edit the GPO, link applies to the OU, code runs as every computer in scope. GPO abuse is ACL abuse with extra reach.
PowerSploit's PowerView (Find-InterestingDomainAcl, Get-DomainObjectAcl) and BloodHound's ingest both surface these edges. Mimikatz lsadump::dcsync needs the replication ERs — which arrive here via ACL grants, not group membership.
A real chain
Finance-Helpdesk has ForceChangePassword on all OU=Users objects — common, legitimate. JDoe is in Finance-Helpdesk. JDoe also has WriteDACL on GG-ServerMgmt because someone gave him rights to "fix delegation" in 2020 and the ACE never got cleaned. GG-ServerMgmt has GenericAll on svc-backup. svc-backup is in Backup Operators — read any DC volume, copy ntds.dit. Four hops, zero vulnerabilities, all ACLs. This is what BloodHound exists to show you, and why "we don't have unconstrained delegation" misses the point — your DACL graph is the actual privilege map.
Evidence from the field
ACL paths are the backbone of nearly every BloodHound-published escalation — the SpecterOps team's "An ACE Up the Sleeve" (2017) documented the abuse surface, and DCSync via granted replication rights (Mimikatz, 2015) is the canonical endpoint of most chains. Ransomware crews — Conti playbook leaks in 2021 literally included WriteDACL instructions — walk this graph to domain dominance before deploying.
The abuse itself is plain LDAP writes. PowerView's Add-DomainObjectAcl -Rights All or Set-DomainObjectOwner, plus Add-DomainGroupMember, cover the common cases — no exploit code, just directory edits the DC accepts because the ACE says the caller may.
Breaking the chains
- Audit DACLs, not just groups.
Get-DomainObjectAclexports; BloodHound maps. Look for non-admin objects holdingWriteDACL,GenericAll,ForceChangePasswordon high-value targets (DA users, the domain head, GPOs covering Tier 0). - Prune stale ACEs — the grant nobody removed is the adversary's next hop.
- AdminSDHolder awareness: AD's SDProp runs every 60 minutes and copies the
AdminSDHolderobject's ACL onto protected groups' members. An attacker withWriteDACLonAdminSDHoldereffectively owns every protected account — check who holds rights onCN=AdminSDHolder,CN=System,DC=corp,DC=local. - Delegate the minimum. Helpdesk
ForceChangePasswordscoped to non-privileged OUs only; never on DA/Protected Users objects.
Reading raw ACEs is tedious but doable: Get-Acl "AD:\CN=JDoe,OU=Users,DC=corp,DC=local" | Select -ExpandProperty Access lists each ActiveDirectoryRights entry with its trustee. ObjectAceType GUIDs distinguish ForceChangePassword (00289570-…) from generic writes — the GUID is the right, not the flag name. That is also how PowerView and SharpHound decode the graph: LDAP read of ntSecurityDescriptor on every object, GUID-to-edge translation, done.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
A Password-Free Path to Root: Inside the macOS Screen Sharing Vulnerability Now Under Attack
A logic bug in screensharingd let attackers skip authentication entirely and land as root — no password required. Here's how it was found, patched, reverse-engineered, and finally weaponized.
CVE-2026-31431 "Copy Fail": How a 9-Year-Old Linux Kernel Bug Gives Any Local User Root in 732 Bytes
CVE-2026-31431 chains AF_ALG, splice(), and authencesn's ESN scratch write into a deterministic 4-byte page cache write that gives an unprivileged local user root. Full technical breakdown, exploit mechanics, detection, mitigation, and patch status per distro.
BlueHammer: The Unpatched Windows Zero-Day That Weaponizes Microsoft Defender Against Your Own System
BlueHammer is an unpatched, publicly released Windows local privilege escalation exploit that chains Microsoft Defender's update workflow, Volume Shadow Copy, Cloud Files callbacks, and opportunistic locks to reach NT AUTHORITY\SYSTEM from a standard user account.
What is Privilege Escalation? How Attackers Go From Foothold to Full Control
An attacker starts with a low-privileged shell or user account and escalates to root or Administrator using misconfigurations, SUID binaries, kernel exploits, and Active Directory attacks. Here's every technique, the tools professionals use, and how to harden against it.