ACLs Abuse
Last updated
Last updated
An ACL is an ordered list of ACEs (access control entry) that define the protections that apply to an object and its properties. Each ACE identifies a security principal and specifies a set of access rights that are allowed, denied, or audited for that security principal. An object’s security descriptor can contain two ACLs:
A DACL that identifies the users and groups that are allowed or denied access
A SACL that controls how access is audited
When a user tries to access a file, the Windows system runs an AccessCheck and compares the security descriptor with the users access token and evaluates if the user is granted access and what kind of access depending on the ACEs set.
A DACL, Discretionary Access Control List, will contain details that help identify which user or group has access to an object and who is denied access.
Only the access control lists that define the degree of access for users and groups are called DACLs.
Full rights to the object (add users to a group or reset user's password)
Change the password of the user:
Targeted Kerberoasting: You could make the user kerberoastable setting an SPN on the account, kerberoast it and attempt to crack offline:
Targeted ASREPRoasting: You could make the user ASREPRoastable by disabling preauthentication and then ASREProast it:
Update object's attributes (i.e logon script)
This could be abuse with 3 different technics :
shadowCredentials (windows server 2016 or +)
targetKerberoasting (password should be weak enough to be cracked)
logonScript (this need a user connection and to be honest it never worked or unless with a script already inside sysvol)
Claire has GenericWrite over backups-admins group
Change object owner to attacker controlled user take over the object
Tom has WriteOwner on Claire
Modify object's ACEs and give attacker full control right over the object
You can add new ACLs
Ability to change user's password
Another privilege that enables the attacker adding themselves to a group.
SACLs are used for establishing system-wide security policies for actions such as logging or auditing resource access. The SACL attached to a system, directory, or file object specifies
Which security principals (users, groups, computers) should be audited when accessing the object
Which access events should be audited for these principals
Whether a Success or Failure attribute is generated for an access event, depending on the permissions granted in the DACL for the object