Microsoft Windows SMB LsaQueryInformationPolicy Function SID Enumeration

info Nessus Plugin ID 10859
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

It is possible to obtain the host SID for the remote host.

Description

By emulating the call to LsaQueryInformationPolicy(), it was possible to obtain the host SID (Security Identifier).

The host SID can then be used to get the list of local users.

Solution

You can prevent anonymous lookups of the host SID by setting the 'RestrictAnonymous' registry setting to an appropriate value.

Refer to the 'See also' section for guidance.

See Also

http://technet.microsoft.com/en-us/library/bb418944.aspx

Plugin Details

Severity: Info

ID: 10859

File Name: smb_host2sid.nasl

Version: 1.45

Type: local

Agent: windows

Family: Windows

Published: 2/13/2002

Updated: 10/4/2019

Dependencies: smb_hotfixes.nasl, smb_login.nasl, netbios_name_get.nasl

Vulnerability Information

Required KB Items: SMB/name, SMB/login, SMB/password, SMB/transport