Access Control Lists and Entries (ACL & ACE)
ACL Enumeration
Find Interesting ACL
# Find ACL
Find-IntrestingDomainAcl
# More Effectively, filter by user(s) we have control
$sid = Convert-NameToSid <username>
Get-DomainObjectACL -Identity * | ? {$_.SecurityIdentifier -eq $sid}
# Reverse GUID (ObjectAceType)
$guid= <ObjectAceType-Value>
Get-ADObject -SearchBase "CN=Extended-Rights,$((Get-ADRootDSE).ConfigurationNamingContext)" -Filter {ObjectClass -like 'ControlAccessRight'} -Properties * |Select Name,DisplayName,DistinguishedName,rightsGuid| ?{$_.rightsGuid -eq $guid} | fl
# Powerview All in 1 Command
Get-DomainObjectACL -ResolveGUIDs -Identity * | ? {$_.SecurityIdentifier -eq $sid} Show All Rights That User Has
# Create Variable
$user-priv = Convert-NameToSid damundsen
# Show Rights
Get-DomainObjectACL -ResolveGUIDs -Identity * | ? {$_.SecurityIdentifier -eq $user-priv2} -Verbose | select AceType, ObjectDN, ActiveDirectoryRightsEnumerate Nested Group
Abusing ACL
Change Password
Create Fake SPN - GenericWrite
Cleaning Up
DCSync
Manual
Enumeration Steps
Exploitation Steps
Mimikatz
Last updated