Click to Rate and Give Feedback
 Windows Administration: 10 Easy Way...
Related Articles
Waka wakka wakka! ...

Read more!

Active Directory, why it rocks! ...

Read more!

This Tip will explain how to send email from Exchange ...

Read more!

This is teh descriptionBla ...

Read more!

New Tip ...

Read more!

Also by this Author

AGPM, or Advanced Group Policy Management, is a handy tool that lets you work with Group Policy Objects in ways that other tools don't. And it's now available to members of the Microsoft Software Assurance program. Check out how you can use AGPM to edit GPOs offline, delegate administration, track changes, and more.

Derek Melber

TechNet Magazine January 2008

...

Read more!

Getting to the bottom of Group Policy issues can be a difficult process, but understanding how Group Policy works, and where problems can arise, makes things easier. This overview will help you troubleshoot Group Policy issues like a guru.

Derek Melber

TechNet Magazine February 2007

...

Read more!

Derek Melber

TechNet Magazine May • June 2006

...

Read more!

Until now, Windows has allowed only a single password policy per domain. Windows Server 2008, however, lets administrators implement multiple password policies, tailoring different policies for various types of users.

Derek Melber

TechNet Magazine December 2007

...

Read more!

Popular Articles

The latest release of IIS introduces a modular and extensible platform with improved support for common deployment and management scenarios, enabling significant performance improvements. Here’s a look at 10 key areas in IIS 7.0 that provide these improvements.

Mike Volodarsky

TechNet Magazine September 2008

...

Read more!

There are numerous advantages to running your organization’s applications centrally, and getting started is now surprisingly easy. Here’s what you need to know in order to enable Terminal Services on Windows Server 2003 and implement Terminal Services throughout your organization.

James D. Silliman

TechNet Magazine May 2007

...

Read more!

Your users are complaining that a server is running poorly—do you know where to look to diagnose the problem? PerfMon can be an indispensible tool for this as it has numerous diagnostic capabilities. Get an overview of the key indicators you should use to diagnose a variety of common bottlenecks that can slow down your servers.

Steven Choy

TechNet Magazine August 2008

...

Read more!

Far too often, people who are not trained database administrators somehow end up responsible for a database. They lack the proper training and knowledge to maintain their database, and problems begin to develop. Here’s a primer for all those involuntary DBAs who need a crash course in database maintenance best practices.

Paul S. Randal

TechNet Magazine August 2008

...

Read more!

Michael Murgolo is back with an update to his Elevation PowerToys. You'll find enhanced Run as Administrator functionality that works with third-party scripting tools, a way to replace a handy Windows XP feature removed from Windows Vista, and many more useful tools.

Michael Murgolo

TechNet Magazine June 2008

...

Read more!

Our Blog

Last year around this time, TechNet Magazine featured an article about the Microsoft Security Intelligence Report - a comprehensive study by the Microsft Malware Protection Center of the computer security landscape. Well, the latest SIR (volume 5) has just been released, and it's packed with a detailed analysis of current threats, as well as updates on available countermeasures. Head ...

Read more!

Have various workers in your company been showing up with questions about Macs? The odds of having a homogeneous network today are very unlikely. Macs are becoming increasingly popular and chances are if you don't already have some on your network, soon you will. 

Don't consider this a burden. This actually creates a fantastic opportunity for you as an IT professional. Instead of being an administrator who says "I don't ...

Read more!

Did you just go “whoa!” when you saw that title? Bet you never thought you’d see that here! But the times, as they say, are a-changing and we have too. Many organizations today use multiple operating systems. We all have the same goal of providing high-quality, cost-effective IT services to the organization, and one way we can do that is by sharing core software infrastructure like Active Directory. ...

Read more!

In the November 2008 installment of our Windows PowerShell column (which is available online), Don Jones demonstrates how to create a tool that will inventory the operating system build number (this is one of the best ways to determine the OS version) and service pack version number from a list of computers.  ...

Read more!

In the era of Software-plus-Services, Web services play an important role because they decouple hosted back-end environments from on-premise front-end applications. Explore  how the SharePoint platform drives online collaboration, so that Office applications and add-ins can run on local workstations while Web ...

Read more!

Windows Administration
10 Easy Ways To Lock Down Your Computer
Derek Melber
 
At a Glance:
  • Key security settings for Windows-based computers
  • User password security settings
  • User logon and authentication settings
  • User rights security settings
Active Directory
Group Policy
Admini- stration
Security

Did you know you could use a Group Policy Object (GPO) in Active Directory to secure all the computers and user environments in your Windows network? Here, I'll look at 10 critical GPO settings that handle security configurations across four areas: user passwords, user authentication, user privileges and anonymous access, and persistence of GPO settings.

User Password Security
The strength and security of a user password is at the core of your efforts to protect access to a user account on the network. If user accounts have unprotected or vulnerable passwords, there won't be much you can do to protect your network and resources. This is why there are so many security configurations within a GPO that are critical for security. Note that the password settings discussed here represent an exception to normal Group Policy processing order. They are defined at the domain level and will override settings at any other level.

Minimum Password Length
Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy\Minimum Password Length
1 This setting is important for two reasons. First, as long as it is greater than 0, the user account must have a password. This prevents an attacker from gaining access to resources as a user without first trying a password attack. Second, the minimum password length can be set to a large value (as for a pass phrase), which makes it very hard to break with a cracking tool. Passwords are commonly 6 to 8 characters, but pass phrases can be more than 14.

Maximum Password Age
Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy\Maximum Password Age
2 This setting controls how long a password is valid. The longer a password goes unchanged, the greater the chance that it gets cracked or becomes public. But you should weigh user convenience and security. It is reasonable to set the maximum password age between 30 and 60 days. Password age values are 0 = never or 1 – 999 days.

Password Complexity
Computer Configuration\Windows Settings\Security Settings\Account Policies\Password Policy\Password must meet complexity requirements
3 One way to strengthen a password is to make it difficult to guess by making it complex. Complexity means that the password contains more than just alpha characters. With this setting, all passwords must contain a minimum of six characters, use three of the four character types (lower case alpha, upper case alpha, numeric, and special), and may not contain part of the user's account name.

User Login and Authentication
These GPO settings can help control login and authentication in the domain: the LAN Manager Authentication level and storage of LAN Manager hashes.

Last User Logged On
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Interactive logon: Do not display last user name
4 By default, a computer will remember your username for the next time you log in. Therefore, if you log into a shared computer, your username will be remembered on that computer, too. With the username and password being the only two bits of information needed to authenticate to Active Directory®, using this setting to hide the username for the next user makes life more difficult for an attacker.

LAN Manager Authentication Level
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network Security: LAN Manager authentication level
5 The LAN Manager Authentication level ensures that the most secure password authentication level is used for down-level OS authentication. This is a key configuration setting for servers and clients. When Windows® XP Professional communicates with Windows NT® Server, or when Windows Server 2003 communicates with Windows 95, the LAN Manager authentication level should be carefully chosen. The ideal is to configure the LAN Manager to the highest security level possible. The LAN Manager default is very weak, whereas NTLMv2 is the strongest authentication protocol of the LAN Manager family. Therefore, the most secure setting is "Send NTLMv2 response only\refuse LM & NTLM."

Do Not Store LAN Manager Hash
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network Security: Do not store LAN Manager hash value on next password change
6 All operating systems, including Windows XP Professional and Windows Server 2003, store the LAN Manager hash for backward compatibility. This is a security risk because the LAN Manager hash is relatively easy to crack. Unless you are running very old operating systems that are not patched, you won't need to store this hash, so don't.

User Privileges
User privileges control the rights a user account has on a computer. These settings are unique on each computer, but can be controlled through a GPO.

User Privileges Assignment
Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment
7 User privileges are essential to the security of client computers and servers. The primary benefit of the approximately 40 user privileges is that they bypass the security access control list that is configured on a computer. For example, if a user has No Access configured for a file on a server, the user will still be able to back up the file as long as she is given the back up files and directories user privilege. Most of the user privileges are important for servers. Be sure to check which users and groups have been assigned user privileges on all computers.
The anonymous user was created to allow computers to communicate easily with one another without requiring a user account. However, it's easy to exploit this easy access so computers requiring anonymous access must be secured.

Do Not Allow Anonymous Enumeration of SAM Accounts
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network Access: Do not allow anonymous enumeration of SAM accounts
8 Historically, computers running Windows have allowed anonymous access to the Security Accounts Manager (SAM) accounts. This access should be removed, unless there are apps that require anonymous access to the SAM accounts. A similar setting is "Do not allow anonymous enumeration of SAM accounts and shares," which controls the SAM and all shares on the computer.

Let Everyone Permissions Apply to Anonymous Users
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Network access: Let Everyone permissions apply to anonymous users
9 This setting allows the Everyone group to also apply to anonymous users which is insecure. You should therefore not allow the Everyone group permissions to apply to anonymous users accessing the computer.

Persistence of GPO Settings
By default, before the GPO is applied to the computer, the version stored on the domain controller will be compared to the version of the GPO that was last applied to that computer. Sometimes the GPO versions match, but the local computer setting is not the same as the GPO setting. This can occur when the local computer user has administrative control. In this case, the user can modify the Registry value of the GPO setting. This doesn't mean changing the GPO version, just the GPO setting. To eliminate this problem, force the GPO settings to apply regardless of GPO version.

Process Settings in a GPO Even if the GPO Has Not Been Changed
Computer Configuration\Administrative Templates\System\Group Policy\Security policy processing
10 In this setting, you'll find a checkbox that is labeled "Process even if the Group Policy objects have not changed." Checking this box will force the configured settings in the Computer Configuration\Windows Settings\Security Settings section of the GPO to apply at each refresh interval, even if the settings have not changed. This will change all settings back to the GPO-specified configuration even if the local user changed the setting in the Registry.

Derek Melber manages www.auditingwindows.com, the first dedicated Web site for Windows auditing and security. Derek's new book series on Auditing Windows Security is now available. Online training is available at www.auditlearning.org. Reach him at derekm@braincore.net.
© 2008 Microsoft Corporation and CMP Media, LLC. All rights reserved; reproduction in part or in whole without permission is prohibited.
Page view tracker