Microsoft Windows Server 2025

Windows Server 2025 must restrict anonymous access to Named Pipes and Shares

STIG ID: WN25-SO-000250 | SRG: SRG-OS-000138-GPOS-00069 | Severity: High | CCI: CCI-001090 | Vulnerability ID: V-278219

Description

Allowing anonymous access to named pipes or shares provides the potential for unauthorized system access. This setting restricts access to those defined in "Network access: Named Pipes that can be accessed anonymously" and "Network access: Shares that can be accessed anonymously", both of which must be blank under other requirements.

Check

C-82749r1181361_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\Services\LanManServer\Parameters\

Value Name: RestrictNullSessAccess

Value Type: REG_DWORD
Value: 0x00000001 (1)

Fix

F-82654r1181362_fix

Configure the policy value for Computer Configuration >> Windows Settings >> Security Settings >> Local Policies >> Security Options >> Network access: Restrict anonymous access to Named Pipes and Shares to "Enabled".