1.228 WN16-SO-000270

Information

Anonymous enumeration of shares must not be allowed.

GROUP ID: V-225046
RULE ID: SV-225046r958524

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.

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/23093