Disable Enumeration of SID's

  • Section(s): Security, Security , Security
  • Published on Mar 08, 2005.
  • Last Modified on Mar 08, 2005.
  • Last Modified by Tony Bradley.
  • Rated 4.5 out of 5 based on 40 votes.
One way for an attacker to scope out a target system and, particularly, to identify the Administrator account so they can focus their efforts on the account with the most privileges is to list, or enumerate, the SID's (serial identifiers) on a Windows machine.

One of the tricks of the trade for hackers when scoping out, or "footprinting", a potential target system is to gain access to list out, or "enumerate", the SID's (security identifiers) on the system.

Using freely available tools, an attacker can retrieve the SID of a known user on the domain and use the information to target the Administrator account. The last part of the SID is known as the RID (relative identifier) and is pre-determined for certain accounts such as the Administrator and Guest accounts.

Once the SID for any account or system on the domain is discovered, the attacker could substitute the RID for the Administrator account and use other freely available tools to work backwards and discover what the name of the Administrator user account is.

All of this digging is rather exhausting and amateur or novice hackers may not have the knowledge or patience to successfully enumerate the accounts on your system. But, to protect your computer or network from even the more dedicated attackers, you can disable the ability to enumerate the SID's. Follow these steps:

  1. Click Start, Administrative Tools, Local Security Policy (you can also enter secpol.msc at a command prompt or using Start, Run).
  2. Click on the + next to Local Policies
  3. Click on Security Options
  4. On Windows 2000 systems double-click Additional restrictions for anonymous connections in the details pane and select Do not allow enumeration of SAM accounts and shares from the Local policy setting drop-down list.
  5. On Windows Server 2003 and Windows XP systems select Network access: Allow anonymous SID/Name translation in the details pane and make sure the policy is disabled.
  6. Click OK and close the console.

You can also apply the policy across a domain instead of on one individual computer by following these steps:

  1. Open the Active Directory Users and Computers console screen.
  2. Right-click the domain and select Properties.
  3. Click the Group Policy tab.
  4. Click the Default Domain Policy, and select Edit.
  5. Drill down through the console pane to Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options.
  6. On a Windows 2000 domain, double-click Additional restrictions for anonymous connections. Click the Define this policy option. On the drop-down list, select Do not allow enumeration of SAM accounts and shares.
  7. On a Windows Server 2003 domain, double-click Network access: Allow anonymous SID/Name translation and make sure the policy is disabled.
  8. Click OK and close the console.

Tony Bradley is a consultant and writer with a focus on network security, antivirus and incident response. He is the About.com Guide for Internet / Network Security (http://netsecurity.about.com), providing a broad range of information security tips, advice, reviews and information. Tony also contributes frequently to other industry publications. For a complete list of his freelance contributions you can visit Essential Computer Security (http://www.tonybradley.com).

About Tony Bradley

null


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Anti Spam Hardware solution?

Follow TechGenix on Twitter