Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 19, 2004

Access Denied: Controlling SAM Accounts and Shares

RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In an effort to prevent attackers and other curious folks from viewing lists of SAM user accounts and share names on my servers and workstations, I opened Local Security Policy on each machine and set Additional restrictions for anonymous connections to Do not allow enumeration of SAM accounts and shares, as you described in "Protecting the Administrator Account," November 2000, InstantDoc ID 16093. I recently did a vulnerability scan and confirmed that my Windows XP workstations aren't giving up SAM account names and shares, but my Windows 2000 computers are. What's going on?

When you setAdditional restrictions for anonymous connections toDo not allow enumeration of SAM accounts and shares, Win2K still lets anonymous connections translate a supplied SID to its username and vice versa, which causes some vulnerability scanners to report that the Win2K machine allows full enumeration of all accounts and shares. Although the vulnerability report isn't fully accurate in this case, it does highlight a risk—namely that attackers can still figure out the name of built-in accounts such as Administrator and Guest because such accounts have predictable SIDs.

The scan didn't flag your XP computers because in XP, Microsoft replaced Additional restrictions for anonymous connections with three new settings: Network access: Allow anonymous SID/name translation; Network access: Do not allow anonymous enumeration of SAM accounts; and Network access: Do not allow anonymous enumeration of SAM accounts and shares. (You'll find all these settings in any Group Policy Object—GPO—under Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options.) The Network access: Allow anonymous SID/name translation setting defaults to disabled, which explains why your scanner didn't flag the XP computers. To learn how to use the same GPO to maintain both XP's and Win2K's settings, see "Using One GPO to Control Both Windows XP and Windows 2000 Settings," InstantDoc ID 42328.

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Security Whitepapers Reducing the Costs and Risks of Branch Office Data Protection

Solving Desktop Management Challenges in Healthcare

Solving Desktop Management Challenges in Education

Related Events Troubleshooting Group Policy, eLearning series

Introduction to Identity Lifecycle Manager "2"

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement