BaselineWatch
Desk

WN25-SO-000230 Windows Server 2025 must not allow anonymous enumeration of shares.

DISA STIG library V1R4
All changes in this version
first version loaded CAT I

Maps to SC-4 via CCI-001090

Title

Windows Server 2025 must not allow anonymous enumeration of shares.

Control

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: RestrictAnonymous Value Type: REG_DWORD Value: 0x00000001 (1)

Discussion

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.

Related controls

CCI-001090

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".