1.1.1.2.1.14 Set 'Network access: Restrict anonymous access to Named Pipes and Shares' to 'Enabled'

Information

When enabled, this policy setting restricts anonymous access to only those shares and pipes that are named in the Network access: Named pipes that can be accessed anonymously and Network access: Shares that can be accessed anonymously settings. This policy setting controls null session access to shares on your computers by adding RestrictNullSessAccess with the value 1 in the HKLM\System \CurrentControlSet\Services\LanManServer\Parameters registry key. This registry value toggles null session shares on or off to control whether the server service restricts unauthenticated clients' access to named resources. Null sessions are a weakness that can be exploited through shares (including the default shares) on computers in your environment. Null sessions are a weakness that can be exploited through shares (including the default shares) on computers in your environment.

Solution

To implement the recommended configuration state, set the following Group Policy setting to 1.

Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network access- Restrict anonymous access to Named Pipes and Shares

Impact- You can enable this policy setting to restrict null session access for unauthenticated users to all server pipes and shared folders except those that are listed in the NullSessionPipes and NullSessionShares entries. If you choose to enable this setting and are supporting Windows NT 4.0 domains, you should check if any of the named pipes are required to maintain trust relationships between the domains, and then add the pipe to the Network access- Named pipes that can be accessed anonymously setting. Previous to the release of Windows Server 2003 with Service Pack 1 (SP1) some named pipes were allowed anonymous access by default, but with the increased hardening in Windows Server 2003 with SP1 more pipes must be explicitly added if needed.

See Also

https://workbench.cisecurity.org/files/42

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6(10), CCE|CCE-8091-1

Plugin: Windows

Control ID: c80ebfb90e4f1f2e558f8f1addcc19f6ee7e5f397edbf8f967ba7b3d526d7434