ACL misconfigurations are not CVEs — scanners miss them. They’re administrator mistakes layered over years of delegation, nested groups, and “temporary” fixes. Chain the right ACEs and a help-desk user becomes Domain Admin without dropping a single binary.
Mental model
Every AD object has a DACL made of ACEs. Each ACE binds a SID (who) to an access mask (what they can do) on that object. Find ACEs where “who” is a principal you control and “what” lets you pivot — then walk the graph.
Dangerous ACEs — Primitives & Abuses
ACE
Target
What it gives you
GenericAll
user
Full control → reset pwd, set SPN, write msDS-KeyCredentialLink, add to groups
GenericAll
group
Add arbitrary members (incl. yourself)
GenericAll
computer
LAPS read (if ext.right present), RBCD, Shadow Credentials
Grant yourself any further ACE (e.g. DCSync rights) then abuse
WriteOwner
any
Set owner → implicit WriteDACL → full control
AddMember / Self-Membership (AddSelf)
group
Add principal to the group
ForceChangePassword
user
Reset password without knowing the old one
ReadLAPSPassword / ms-Mcs-AdmPwd read
computer
Cleartext local admin password
AllExtendedRights
user
Includes ForceChangePassword + ReadLAPS
AllExtendedRights
domain
Includes DS-Replication-Get-Changes[-All] → DCSync
DS-Replication-Get-Changes + -All
domain root
DCSync
WriteProperty on servicePrincipalName
user
Targeted Kerberoast
WriteProperty on msDS-KeyCredentialLink
user/computer
Shadow Credentials → PKINIT TGT
WriteProperty on msDS-AllowedToActOnBehalfOfOtherIdentity
computer
RBCD → S4U2self/proxy → SYSTEM
Enumerating ACLs
BloodHound (primary)
Collect with SharpHound/bloodhound.py, then run:
Shortest Paths to Domain Admins — shows the chain for you.
Mark any principal you control as Owned, then Shortest Paths from Owned.
Node queries: Outbound Object Control → every ACE you hold on anything.
Edges to care about: GenericAll, GenericWrite, WriteDacl, WriteOwner, AddMember, ForceChangePassword, AllExtendedRights, GetChanges, GetChangesAll, ReadLAPSPassword, AddKeyCredentialLink, AllowedToAct.
PowerView (Windows)
Import-Module .\PowerView.ps1# What does my user have power over?$sid = Convert-NameToSID wleyGet-DomainObjectACL -Identity * -ResolveGUIDs | ? {$_.SecurityIdentifier -eq $sid}# Who has rights OVER my target?Get-DomainObjectACL -Identity adunn -ResolveGUIDs# Broad sweep (noisy)Find-InterestingDomainAcl -ResolveGUIDs
Accounts with UAC bit ENCRYPTED_TEXT_PWD_ALLOWED (128) store passwords RC4-encrypted — secretsdump decrypts them to cleartext in *.ntds.cleartext. Enumerate:
Write a key credential onto a target user/computer → authenticate as them via PKINIT with the paired certificate. Requires GenericAll / GenericWrite / WriteProperty on msDS-KeyCredentialLink. Works against users and computers, no password reset — far stealthier than ForceChangePassword.
pywhisker.py -d inlanefreight.local -u forend -p 'Pass123!' --target adunn --action addgettgtpkinit.py -cert-pfx adunn.pfx -pfx-pass <pw> inlanefreight.local/adunn adunn.ccacheexport KRB5CCNAME=adunn.ccache# Grab the NT hash from PKINIT via UnPAC-the-hashgetnthash.py -key <AS-REP key from gettgtpkinit> inlanefreight.local/adunn
Cleanup: pywhisker ... --action remove.
Resource-Based Constrained Delegation (RBCD)
If you have GenericAll/GenericWrite/WriteProperty on a computer object, write your own controlled account into its msDS-AllowedToActOnBehalfOfOtherIdentity. Then S4U2self + S4U2proxy lets you request a service ticket to that computer as any user (including a DA) → SYSTEM on the host.
Prereq: controlled computer account
Any domain user can create up to MachineAccountQuota computers (default 10):
Reverse your chain in LIFO order. If you change a password, add a group member, then write an SPN — remove the SPN first, then the group member, then restore the password. Otherwise you can lock yourself out of your own cleanup.
Remove any SPN you wrote (Set-DomainObject -Clear serviceprincipalname).
Remove added group members (Remove-DomainGroupMember).