ACL (Access Control List)
They define permissions on objects in AD, specifying who has access and at what level.
ACL Types
- DACL (Discretionary): controls explicit permissions (Allow/Deny). If no DACL exists, everyone has full access.
- SACL (System): logs access attempts.
ACE (ACL Components)
- Types: Access Denied, Access Allowed, System Audit.
- Components: SID, ACE type, inheritance, access mask.
Common Attack Vectors
- ForceChangePassword: reset passwords without knowing the current password.
- GenericWrite: modify object attributes.
- AddSelf: add yourself to a group.
- GenericAll: full control over an object.
Tools: PowerView (Set-DomainUserPassword, Add-DomainGroupMember, Set-DomainObject), BloodHound (relationships and permissions), secretsdump (extract hashes with privileged credentials).
Examples
- Kerberoasting with GenericWrite: if you have GenericWrite over a service account, assign an SPN and request a TGS to crack its hash.
- Escalation to Domain Admin with GenericAll: if you have GenericAll over an administrative group, add yourself to the group.
DCSYNC
When a user has DCSync permissions, they can dump all hashes with secretsdump:
terminal
secretsdump.py -outputfile inlanefreight_hashes -just-dc INLANEFREIGHT/adunn@172.16.5.5