Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

November 22, 2004 12:00 AM

Access Denied: Understanding the Anonymous Enumeration Policies

Get answers to your security-related Windows 2003, XP, and Win2K questions
Windows IT Pro
InstantDoc ID #44413
Rating: (3)

What's the difference between the Network access: Do not allow anonymous enumeration of SAM accounts policy and the Network access: Do not allow anonymous enumeration of SAM accounts and shares policy that I see in Group Policy Objects (GPOs) that appear under Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options when I'm logged on at a Windows Server 2003 or Windows XP computer?

Welcome to the confusing world of Microsoft naming techniques. The Network access: Do not allow anonymous enumeration of SAM accounts and shares policy should be Network access: Do not allow anonymous enumeration of shares. Network access: Do not allow anonymous enumeration of SAM accounts and shares controls the RestrictAnonymous registry value in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa registry subkey. On Windows 2003 and XP systems, RestrictAnonymous simply controls whether anonymous connections (aka null sessions) can obtain a list of shared folders from the computer. RestrictAnonymous also exists on Windows 2000 Server and is set by the Win2K Additional restrictions for anonymous connections policy (as described in the next question and answer).

Network access: Do not allow anonymous enumeration of SAM accounts controls the RestrictAnonymousSAM registry value, which also resides in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa registry subkey. RestrictAnonymousSAM specifies whether anonymous connections can enumerate local user SAM accounts. By default, Windows 2003 and XP disable Network access: Do not allow anonymous enumeration of SAM accounts and shares and enable Network access: Do not allow anonymous enumeration of SAM accounts, which means anonymous connections can enumerate shares but can't list local user accounts. Anonymous enumeration of user accounts is one way attackers can obtain usernames for use in social engineering or for which they can try to guess the passwords. Anonymous enumeration of shares is less of a risk, but it does obviously provide an attacker a list of folders to try to access if he or she succeeds in logging on to the computer.

Related Content:

ARTICLE TOOLS

Comments
  • Aleksandar
    4 years ago
    May 08, 2008

    top

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.