how to decipher sddl for useful stuff
i was counting my lucky stars that i never had to give any thought to deciphering SDDLs (security descriptor definition language). some people have written entire diatribes on the subject. for me, i just need a reference. hence, my posting... sddl is broken down into four parts:
sddl string is easier to look at like this since there are no spaces or visible terminators other than the colon:
from this, we know that the first segment is for owner:
sddl string is easier to look at like this since there are no spaces or visible terminators other than the colon:
- o:[sid_string]g:[sid_string]d:[dacl_flags](ace_string)
- [ace_type];[ace_flags];[rights];[object_guid];[inherit_object_guid];[account_sid]
- Administrators - Full Control
- SYSTEM - Full Control
- Users - Read & Execute
O:BAG:DUD:ARAI(A;;FA;;;BA)(A;;FA;;;SY)(A;;0x1200a9;;;BU)(A;ID;FA;;;BA)(A;ID;FA;;;SY)(A;ID;0x1200a9;;;BU)
from this, we know that the first segment is for owner:
- O:BA - builtin administrators
- G:DU - domain users
- D:ARAI - basically inheritance
- A; - allow type
- ; - ace flag
- FA; - file access all
- ; - object guid
- ; - inherit object guid
- BA - builtin administrators
Comments
Post a Comment