Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a tool to generate SDDL (Security Descriptor Definition Language) strings?

Is there a tool to generate SDDL (Security Descriptor Definition Language) strings? I'd like to create them through Windows' Security property sheet or something similar.

like image 388
Ilya Avatar asked Mar 28 '12 12:03

Ilya


People also ask

What is an SDDL string?

The security descriptor definition language (SDDL) defines the string format that the ConvertSecurityDescriptorToStringSecurityDescriptor and ConvertStringSecurityDescriptorToSecurityDescriptor functions use to describe a security descriptor as a text string.

What is ACL Sddl?

An ACL is a list of ordered Access Control Entries (ACE) that specify DACL and SACLs. A DACL identifies users and groups who are allowed or denied access to an object and in what way the object is accessed. The SACL defines how access is audited on an object.

What is security descriptor ad?

Administrators can control access to AD objects by assigning them security descriptors. The security descriptor consists of information regarding the object's ownership, access control lists (ACLs), and auditing.


2 Answers

One way is to set the ACL on a file (using the standard property sheet -- i.e. right click and choose Properties, then go to the Security tab), then use CACLS filename /S to display the resulting ACL in the SDDL format.

like image 63
Ilya Avatar answered Oct 25 '22 07:10

Ilya


For those who want to get the SDDL string for registry keys permissions you can use PowerShell:

Get-Acl -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | Format-List
like image 31
arminb Avatar answered Oct 25 '22 07:10

arminb