๐Ÿ›‚Domain ACLs

Access Control Lists (ACLs)

Types of ACLs

ACL
Description

Discretionary Access Control List (DACL)

This defines which security principals are granted or denied access to an object.

System Access Control Lists (SACL)

These allow administrators to log access attempts made to secured objects.

ACL Abuse

Set-DomainUserPassword

ForceChangePassword

Add-DomainGroupMember

Add Members

Set-DomainUserPassword or Add-DomainGroupMember

GenericAll

Set-DomainObject

GenericWrite

Set-DomainObjectOwner

WriteOwner

Add-DomainObjectACL

WriteDACL

Set-DomainUserPassword or Add-DomainGroupMember

AllExtendedRights

Enumerating ACLs

Get-ADUser (ACL for a Single Domain User)

Code

All Users with WriteProperty or GenericAll Rights Over the Target User

Code

Get-DomainObjectAcl

Code

Find-InterestingDomainAcl

Code

File Shares ACLS

Code

Example

Code

Example

Enumerate DCSync User

A common attack called DCSyncarrow-up-right requires a user to be delegated a combination of the following three rights:

  • Replicating Directory Changes (DS-Replication-Get-Changes)

  • Replicating Directory Changes All (DS-Replication-Get-Changes-All)

  • Replicating Directory Changes In Filtered Set (DS-Replication-Get-Changes-In-Filtered-Set)

Code

Last updated