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


June 2004

Limiting Risk Associated with Local Accounts


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

We view local user accounts on workstations and member servers as security risks. Can we disable the local accounts feature and force all our server and workstation administrators to use domain accounts?

Local accounts can expose you to additional risk for several reasons. Local accounts can't use Kerberos and must rely on the Windows NT LAN Manager (NTLM) authentication protocol, which is much easier to sniff and crack. And although local accounts are subject to the centralized password and lockout policies defined for Active Directory (AD), logon failures and account lockouts don't appear in the domain controllers' (DCs') security logs. Instead, you must monitor each computer's security log. Finally, maintenance checks (e.g., looking for dormant accounts) that you perform on AD accounts don't detect outdated local accounts. To catch such accounts, you need to perform the same checks on each computer's local accounts.

You can't completely remove the ability to have local accounts on Windows, but some techniques can limit the risk that local accounts pose. First, I show you two methods you can use on Windows 2000 and later, then I show you a method that only Windows Server 2003 and Windows XP support. Remember that local administrators can't effectively override anything that's defined in Group Policy.

In any AD Group Policy Object (GPO) under the Computer Configuration\Windows Settings\Security Settings\Restricted Groups folder, you can mandate the membership of local groups. You can use Restricted Groups to limit the Administrators group so that it contains only the Domain Admins and any server administrators groups. This technique prevents administrators from giving administrator authority to local users. Although a server administrator can temporarily add a local user account to the Administrators group, Windows will remove the account the next time the OS applies Group Policy. You can similarly limit the membership of other local groups, such as Users and Backup Operators.

Another way to lock down local users is through logon rights. Windows has different logon rights for each type of logon, such as interactive (at the console), network, and Win2K Server Terminal Services logons. You can control these rights assignments from any GPO—open the Microsoft Management Console (MMC) Local Computer Policy snap-in and navigate to Computer Configuration, Windows Settings, Security Settings, Local Policies, User Rights Assignment. For example, you can create a GPO on servers that assigns the Access this computer from the network right to Domain Users only. The Domain Users group includes all users of the domain but excludes local user accounts. If you make this change, legitimate domain accounts can still connect to the server and access shared folders and other resources according to each object's permissions, but no one can use the computer's local accounts to connect to the computer.

The third way to limit local account risk is through a feature new to Windows 2003 and XP. Under Computer Configuration, Windows Settings, Security Settings, Local Policies, Security Options, you'll see the Network access: Sharing and security model for local accounts policy. This policy controls how the computer handles connection attempts from people elsewhere on the network who try to log on with a local account. As Figure 1 shows, you can set this policy to Classic or Guest only. When a user connects as Administrator and successfully authenticates in Classic mode, Windows treats the user as Administrator and lets the user perform whichever tasks the Administrator has authority to perform. But when a user connects as Administrator and successfully authenticates in Guest only mode, Windows treats the user as a guest, even if he or she correctly authenticates as Administrator. In Windows, the Guest account has very limited access. I used Administrator as an example, but this approach applies to all other local user accounts as well.

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
Kon-Boot Lets You Bypass Logon for Windows and Linux

Kon-Boot looks like a very interesting tool since it can get you into a system without having to logon first. ...

Google to Take On Windows with New OS

It's official: Google will compete head-to-head with Microsoft's dominant Windows OS with a new system called Google Chrome OS. Based on the Google Chrome browser and not its previous OS effort, the smart phone-based Android system, Google Chrome OS will ...

Q. How can I continually check a performance counter from Windows PowerShell?

...


Active Directory (AD) Whitepapers Sustainable Compliance: How to reconnect compliance, security and business goals

Addressing the Insider Threat with NetIQ Security and Administration Solutions

Why SaaS is the Right Solution for Log Management

Related Events WinConnections and Microsoft® Exchange Connections

Check out our list of Free Email Newsletters!

Active Directory (AD) eBooks The Essentials Series: Active Directory 2008 Operations

Keeping Your Business Safe from Attack: Monitoring and Managing Your Network Security

Windows 2003: Active Directory Administration Essentials

Related Active Directory (AD) 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

Test Drive IT Solutions and Get Free Music Downloads
Solve your toughest IT problems with these free downloads and receive 5 free music downloads!


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 | Reprints and Licensing