The SDDL Parser Tool is a PowerShell script designed to parse and translate SDDL (Security Descriptor Definition Language) strings into human-readable formats. It provides detailed analysis of both the Discretionary Access Control List (DACL) and System Access Control List (SACL), translating rights, audit flags, and security identifiers (SIDs) into understandable descriptions. The tool also supports saving the output to a file for further use.
- Parse SDDL Strings: Splits and interprets DACL and SACL sections.
- Human-Readable Output: Translates rights codes, audit flags, and SIDs into descriptive formats.
- Error Handling: Detects and reports malformatted SDDL strings and untranslatable SIDs.
- Optional File Output: Save the results to a specified file.
- PowerShell 5.1 or later (tested on Windows environments).
Clone the repository or download the script file SDDLParser.ps1 directly.
https://github.com/Stufo76/SDDL-Parser-Tool.gitRun the script from PowerShell with the required parameters:
.\SDDLParser.ps1 -SDDL "<your SDDL string>" [-OutputFile <path to output file>]-SDDL: (Required) The SDDL string to parse.-OutputFile: (Optional) Path to a file where the output will be saved.
.\SDDLParser.ps1 -SDDL "D:(A;;RPWP;;;AU)(A;;RP;;;S-1-5-21-1234567890-1234567890-1234567890-12345)S:(AU;FA;RP;;;WD)" -OutputFile "C:\Temp\SDDL_Output.txt"This will parse the provided SDDL string and save the output to C:\Temp\SDDL_Output.txt.
=== DACL (Discretionary Access Control List) ===
Raw DACL Entry: A;;RPWP;;;AU
ACE Type: Allow
Rights: ReadProperty, WriteProperty
Security Identifier: NT AUTHORITY\Authenticated Users
=== SACL (System Access Control List) ===
Raw SACL Entry: AU;FA;RP;;;WD
Audit Flags: Failure
Rights: ReadProperty
Security Identifier: Everyone
This project is licensed under the GPLv3 License. See the LICENSE file for details.
Contributions are welcome! Feel free to fork this repository and submit a pull request with your improvements or bug fixes.
- Diego Pastore (Stufo76)
- Email: stufo76@gmail.com
- Script URL: SDDLParser.ps1
For any questions, issues, or suggestions, feel free to create an issue in this repository or contact the author via GitHub.