Click to Rate and Give Feedback
 Windows Administration: 10 Easy Way...
Tips
In the Exchange Management Shell, you can modify the filters and conditions associated with a dynamic distribution group using the Set-DynamicDistribution-Group cmdlet. This cmdlet has several other uses as well! ...

Read more!

We show you how to use the Get-MailboxStatistics cmdlet to view who last logged in to a mailbox, last logon date and time, and message count. ...

Read more!

With Windows 7, you can easily protect the data stored on removeable drives. See how BitLocker To Go allows you to keep USB drives more secure. ...

Read more!

Windows Server 2008 simplifies the Disk Management user interface by using one set of dialog boxes and wizards for both partitions and volumes. ...

Read more!

Here are seven best practices that will help you get the most out of your servers hosting the Hyper-V role. ...

Read more!

Related Articles

Jesper M. Johansson

TechNet Magazine July 2009

...

Read more!

In the first part of a two-part series on the standard procedures and tools for maintaining SharePoint security accounts, Pav Cherny explores the architectural details and the complicated process of accomplishing password changes.

Pav Cherny

TechNet Magazine February 2009

...

Read more!

Security principals underlie so much of Windows security that it is essential for any administrator to have at least a basic understanding of how the various types of Security principals work and how they are used. Here's what you need to know.

Jesper M. Johansson

TechNet Magazine January 2009

...

Read more!

As IM becomes ever more popular, it is increasingly important that administrators have a way to keep it secure. Forefront Security for Office Communication Server provides effective protection against instant messaging-targeted malware or other prohibited content within an OCS 2007 environment.

Molly Gilmore

TechNet Magazine May 2009

...

Read more!

The second of a two-part series, this installment discusses how automating password changes for SharePoint security accounts is complicated despite the fact that the SharePoint object model includes the necessary logic to carry out credential updates.

Pav Cherny

TechNet Magazine March 2009

...

Read more!

Also by this Author

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!

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!

The new Group Policy Preferences feature found in Windows Server 2008 and Windows Vista provides more than 3,000 settings, greatly expanding what administrators can do with Group Policy. Here’s a guide to using Group Policy Preferences to manage your environment.

Derek Melber

TechNet Magazine January 2009

...

Read more!

Derek Melber

TechNet Magazine May • June 2006

...

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!

Popular Articles

Raymond Chen looks at the skewed relationship bugs have to errors, and explains why it's important that programmers suffer as well as give results.

Raymond Chen

TechNet Magazine October 2008

...

Read more!

Without too much effort, you can deploy a terminal server to host the applications you need in your environment. But there are some important decisions you’ll need to make to ensure your implementation meets user expectations. Greg Shields discusses the various options you have and explains how they will affect you.

Greg Shields

TechNet Magazine January 2009

...

Read more!

Drivers fail, files get corrupted, disks crash--there are numerous uncontrollable reasons why Windows might fail. But all is not lost. Wes Miller explores the kinds of things that can go wrong in a Windows system, and explains how you can troubleshoot them to get your system working again.

Wes Miller

TechNet Magazine January 2009

...

Read more!

Take a close look at SharePoint Security Accounts to see how a weak configuration can give an attacker full control over all site collections and sites.

Pav Cherny

TechNet Magazine January 2009

...

Read more!

The new Group Policy Preferences feature found in Windows Server 2008 and Windows Vista provides more than 3,000 settings, greatly expanding what administrators can do with Group Policy. Here’s a guide to using Group Policy Preferences to manage your environment.

Derek Melber

TechNet Magazine January 2009

...

Read more!

Our Blog

NAP monitors the health of specified computers when they attempt to connect to a network and includes a number of mechanisms to enforce health requirements. In this article, Geek of All Trades Greg Shields gives readers an overview of these enforcement mechanisms and, as an example, takes a closer look at setting ...

Read more!

Use Windows PowerShell to Manage Virtual Machines Here are a few examples of how you can use Windows PowerShell scripts to manage virtual machines running on a Server Core installation. Note that these scripts are presented as samples and may need to be customized to work in your environment.

Create a New ...

Read more!

Disabling an Unused Part of Group Policy Objects One way to disable a policy is to disable an unused part of the GPO. By disabling part of a policy that isn’t used, the application of GPOs and security will be faster.

Administer Windows Server 2008 Server Core from the Command Prompt ...

Read more!

In the August 2008 issue of TechNet Magazine, Paul Randal wrote an article Top Tips for Effective Database Maintenance.  It was geared toward "involuntary  DBAs" (IT pros who inadvertently wind up responsible for a SQL Server instance).  The article had a great response from our readers so Paul has written another ...

Read more!

Microsoft Forefront is designed to deliver an integrated security solution that makes it much easier to deploy and manage security across an organization’s IT infrastructure. In this, our annual security issue, we feature two articles that describe how Forefront Security protects instant messaging and e-mail.

Protect ...

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