Pcornel
Windows · Permissions & Access Control

ACL (Access Control List)

Cheat sheet · https://pcornel.dk/topic.php?topic=2995

Back to the Topic

Answer

An ACL is an ordered list of ACEs in a Windows security descriptor. The DACL controls discretionary access; the SACL primarily controls auditing and related security information. The DACL’s presence and contents directly influence access checks.

Remember

  • DACL and SACL are different ACLs with different purposes.
  • A DACL contains allow/deny ACEs used for discretionary access decisions.
  • A SACL can request auditing of selected access attempts.
  • A NULL DACL is not the same as an empty DACL: NULL permits unrestricted access; empty grants no discretionary access.
  • ACE order and applicability matter.

First checks

  • Get-Acl <path> | fl — owner and ACL
  • icacls <path> — ACEs with inheritance flags
  • whoami /groups — groups in the current token
  • Get-SmbShareAccess <share> — share permissions

Verify in this order

security descriptor → owner, DACL, SACL → ACEs evaluated

Where it usually breaks

First mismatch in identity/token/certificate → policy source → security provider/enforcement → target resource → audit/detection evidence; preserve identity/native error/pre-state before mutation.

DACL vs SACL

ItemMeaningBoundary
DACLDiscretionary authorizationallow/deny access ACEs
SACLSecurity auditingaudit ACEs and related security semantics
NULL DACLNo DACL presentunrestricted discretionary access
Empty DACLDACL present with no ACEsno discretionary access granted
ACE orderOrdered entriesaffects access evaluation semantics

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2995

Confirmation

Confirm action

Continue?