Rapid7 Vulnerability & Exploit Database

Windows Registry Security Descriptor Utility

Back to Search

Windows Registry Security Descriptor Utility

Created
05/14/2024

Description

Read or write a Windows registry security descriptor remotely. In READ mode, the `FILE` option can be set to specify where the security descriptor should be written to. The following format is used: ``` key: security_info: sd: ``` In WRITE mode, the `FILE` option can be used to specify the information needed to write the security descriptor to the remote registry. The file must follow the same format as described above.

Author(s)

  • Christophe De La Fuente

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use auxiliary/admin/registry_security_descriptor
msf auxiliary(registry_security_descriptor) > show actions
    ...actions...
msf auxiliary(registry_security_descriptor) > set ACTION < action-name >
msf auxiliary(registry_security_descriptor) > show options
    ...show and set options...
msf auxiliary(registry_security_descriptor) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;