Microsoft Windows Server 2022

Windows Server 2022 must not allow anonymous enumeration of Security Account Manager (SAM) accounts

STIG ID: WN22-SO-000220 |   SRG: SRG-OS-000480-GPOS-00227 |   Severity: High |   CCI: CCI-000366 |   Vulnerability ID: V-254466

Description

Anonymous enumeration of SAM accounts allows anonymous logon users (null session connections) to list all accounts names, thus providing a list of potential points to attack the system.

Check

C-57951r849212_chk

If the following registry value does not exist or is not configured as specified, this is a finding:Registry Hive: HKEY_LOCAL_MACHINE Registry Path: \SYSTEM\CurrentControlSet\Control\Lsa\Value Name: RestrictAnonymousSAMValue Type: REG_DWORDValue: 0x00000001 (1)

Fix

F-57902r849213_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 to "Enabled".