0x6d69636b / windows_hardening

HardeningKitty and Windows Hardening Settings
MIT License
2.36k stars 315 forks source link

Add NullSessionShares to Multistring Registry entries #166

Closed Maggsi closed 6 months ago

Maggsi commented 6 months ago

When the NullSessionShares Registry Key in HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters is set as a normal String it breaks the Powershell Get-SMBServerConfiguration cmdlet with a "data of this type is not supported" Error message.

This PR just adds NullSessionShares to the list of Multi Strings.

NullSessionShares is String: FB9U0artIr

NullSessionShares is Multi String: mstsc_jnr5jA9ybi