Microsoft Windows 11
Anonymous enumeration of shares must be restricted
STIG ID: WN11-SO-000150 | SRG: SRG-OS-000138-GPOS-00069 | Severity: High | CCI: CCI-001090 | Vulnerability ID: V-253454
Description
Allowing anonymous logon users (null session connections) to list all account names and enumerate all shared resources can provide a map of potential points to attack the system.
Check
C-56907r829444_chk
If the following registry value does not exist or is not configured as specified, this is a finding:Registry Hive: HKEY_LOCAL_MACHINERegistry Path: \SYSTEM\CurrentControlSet\Control\Lsa\Value Name: RestrictAnonymousValue Type: REG_DWORDValue: 1
Fix
F-56857r829445_fix
Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> Security Options >> "Network access: Do not allow anonymous enumeration of SAM accounts and shares" to "Enabled".