Windows Server 2025 must not allow anonymous enumeration of Security Account Manager (SAM) accounts.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-278216 | WN25-SO-000220 | SV-278216r1181354_rule | CCI-000366 | high |
| 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. | ||||
| STIG | Date | |||
| Microsoft Windows Server 2025 Security Technical Implementation Guide | 2026-02-20 | |||
Details
Check Text (C-278216r1181354_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: RestrictAnonymousSAM
Value Type: REG_DWORD
Value: 0x00000001 (1)
Fix Text (F-82651r1181353_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".