Pcornel
Windows · Permissions & Access Control

ACE

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

Back to the Topic

Answer

An ACE is one entry inside an ACL. It identifies a trustee (normally by SID), an ACE type such as allow/deny/audit, the access rights involved and flags controlling inheritance and object applicability.

Remember

  • An ACE targets a SID, not a friendly name string.
  • Allow/deny type and access mask determine what the entry means.
  • Inheritance/application flags decide which objects the ACE affects.
  • One ACE is not the whole access decision; all applicable entries and token SIDs 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

ACE = SID + allow/deny + rights + inheritance flags

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.

ACE fields

ItemMeaningBoundary
TrusteeSID/security principalwho the entry targets
TypeAllow / Deny / Auditwhat kind of rule it is
RightsAccess maskwhich operations are affected
Inheritance flagsPropagation/applicabilitywhere the rule applies
PositionDACL ordercontext for evaluation

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

Confirmation

Confirm action

Continue?