Windows 2000 Server Baseline Security Checklist

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

This checklist outlines the steps you should take to improve the security of computers running Windows 2000 Server either on their own or as part of a Windows NT, or Windows 2000, or Windows Server 2003 domain. These steps apply to Windows 2000 Server and Windows 2000 Advanced Server.

Important: The purpose of this checklist is to give instructions for configuring a baseline level of security with Windows 2000 Server computers. Security settings can be configured and applied to local servers through the Security Configuration Tool Set. Domain security policies can be created by using the Security Configuration Tool Set and distributed and applied through Group Policy. This guide outlines recommended security settings for Windows 2000. A step-by-step guide to configuring enterprise security policies by using the Security Configuration Tool Set is located on the Microsoft TechNet Security Web site.

This checklist contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.

On This Page

Windows 2000 Server Configuration
Windows 2000 Server Configuration Checklist Details

Windows 2000 Server Configuration

Steps

 

box

Verify that all disk partitions are formatted with NTFS

 

box

Verify that the Administrator account has a strong password

 

box

Disable unnecessary services

 

box

Disable or delete unnecessary accounts

 

box

Protect files and directories

 

box

Make sure the Guest account is disabled

 

box

Protect the registration from anonymous access

 

box

Apply appropriate registry ACLs

 

box

Restrict access to public Local Security Authority (LSA) information

 

box

Set stronger password policies

 

box

Set account lockout policy

 

box

Configure the Administrator account

 

box

Revoke the Debug programs user right

 

box

Remove all unnecessary file shares

 

box

Set appropriate ACLs on all necessary file shares

 

box

Enable security event auditing

 

box

Set log on warning message

 

box

Install anti-virus software and updates

 

box

Install service packs and critical patches

 

box

Automate patch deployment

 

box

Scan system with the Baseline Security Analyzer

 

box

Additional security settings

 

box

Install the latest Service Pack

 

box

Install the appropriate post-Service Pack security hotfixes

Windows 2000 Server Configuration Checklist Details

Verify that all Disk Partitions are Formatted with NTFS

NTFS partitions offer access controls and protections that aren't available with the FAT, FAT32, or FAT32x file systems. Make sure that all partitions on your server are formatted using NTFS. If necessary, use the convert utility to non-destructively convert your FAT partitions to NTFS.

Warning: If you use the convert utility, it will set the ACLs for the converted drive to Everyone: Full Control. Use the fixacls.exe utility from the Windows NT Server Resource Kit to reset them to more reasonable values.

Verify that the Administrator Account has a Strong Password

Windows 2000 allows passwords of up to 127 characters. In general, longer passwords are stronger than shorter ones, and passwords with several character types (letters, numbers, punctuation marks, and non-printing ASCII characters generated by using the ALT key and three-digit key codes on the numeric keypad) are stronger than alphabetic or alphanumeric-only passwords. For maximum protection, make sure the Administrator account password is at least nine characters long and that it includes at least one punctuation mark or non-printing ASCII character in the first seven characters. In addition, the Administrator account password should not be synchronized across multiple servers. Different passwords should be used on each server to raise the level of security in the workgroup or domain.

Disable Unnecessary Services

After installing Windows 2000 Server, you should disable any network services not required for the computer. In particular, you should consider disable the following services if possible:

  • (Internet Information Server) IIS services: FTP Publishing Service, IIS Admin Service, Network News Transport Protocol (NNTP), Simple Mail Transport Protocol (SMTP), and the World Wide Web Publishing Service.

  • Server service. Disable if server is not being used for file and print sharing.

  • SNMP service. Disable if SNMP monitoring is not required.

You should also avoid installing applications on the server unless they are absolutely necessary to the server's function. For example, don't install e-mail clients, office productivity tools, or utilities that are not strictly required for the server to do its job.

After installing Windows 2000 Server, you should disable any network services not required for the server role. In particular, you should consider whether your server needs any IIS components and whether it should be running the Server service for file and print sharing.

You should also avoid installing applications on the server unless they are absolutely necessary to the server's function. For example, don't install e-mail clients, office productivity tools, or utilities that are not strictly required for the server to do its job.

Disable or Delete Unnecessary Accounts

You should review the list of active accounts (for both users and applications) on the system in the Computer Management snap-in, and disable any non-active accounts, and delete accounts which are no longer required.

Protect Files and Directories

Clean-installed Windows 2000 systems have secure default ACLs on the file system. However, upgrades from previous versions (e.g., Windows NT 4.0) do not modify the previous security settings and should have the default Windows 2000 settings applied. Refer to https://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/security/secdefs.mspx document on the Microsoft TechNet Security Web site for details on the default Windows 2000 file system ACLs and how to make any necessary modifications.

Make Sure the Guest Account is Disabled

By default, the Guest account is disabled on systems running Windows 2000 Server. If the Guest account is enabled, disable it.

Protect the Registry from Anonymous Access

The default permissions do not restrict remote access to the registry. Only administrators should have remote access to the registry, because the Windows 2000 registry editing tools support remote access by default. To restrict network access to the registry:

  1. Add the following key to the registry:

    Hive

    HKEY_LOCAL_MACHINE \SYSTEM

    Key

    \CurrentControlSet\Control\SecurePipeServers

    Value Name

    \winreg

  2. Select winreg, click the Security menu, and then click Permissions.

  3. Set the Administrators permission to Full Control, make sure no other users or groups are listed, and then click OK.

The security permissions (ACLs) set on this key define which users or groups can connect to the system for remote registry access. In addition, the AllowedPaths subkey contains a list of keys to which members of the Everyone group have access, notwithstanding the ACLs on the winreg key. This allows specific system functions, such as checking printer status, to work correctly regardless of how access is restricted via the winreg registry key. The default security on the AllowedPaths registry key grants only Administrators the ability to manage these paths. The AllowedPaths key, and its proper use, is documented in Microsoft Knowledge Base article 153183.

Apply Appropriate Registry ACLs

Clean-installed Windows 2000 systems have secure default ACLs on the registry. However, upgrades from previous versions (e.g., Windows NT 4.0) do not modify the previous security settings and should have the default Windows 2000 settings applied. Refer to Default Access Control Settings in Windows 2000 document on the Microsoft TechNet Security Web site for details on about the default Windows 2000 registry ACLs and how to make any necessary modifications.

Restrict Access to Public Local Security Authority (LSA) Information

You need to be able to identify all users on your system. Therefore, you should restrict anonymous users so that the amount of public information they can obtain about the LSA component of the Windows NT Security Subsystem is reduced. The LSA handles aspects of security administration on the local computer, including access and permissions. To implement this restriction, create and set the following registry entry:

Hive

HKEY_LOCAL_MACHINE \SYSTEM

Key

CurrentControlSet\Control\LSA

Value Name

RestrictAnonymous

Type

REG_DWORD

Value

1

Set Stronger Password Policies

Use the Domain Security Policy (or Local Security Policy) snap-in to strengthen the system policies for password acceptance. Microsoft suggests that you make the following changes:

  • Set the minimum password length to at least 8 characters. Recommended value: 8.

  • Set a minimum password age appropriate to your network (typically between 1 and 7 days). Recommended value: 2.

  • Set a maximum password age appropriate to your network (typically no more than 42 days). Recommended value: 42.

  • Set a password history maintenance (using the "Remember passwords" option) of at least 6. Recommended value: 24.

  • Set a password complexity requirement (using the Passwords must meet complexity requirements option.

  • Disable the Store passwords using reversible encryption option (disabled by default).

Set Account Lockout Policy

Windows 2000 includes an account lockout feature that will disable an account after an administrator-specified number of logon failures. This decreases the risk of an attacker using a brute-force method to identify valid login credentials by trying a large number of possible passwords. However, it creates a denial-of-service vulnerability: an attacker could cause accounts to be locked out, causing legitimate users to be denied access.

The recommended configuration settings for maximum security against brute force attacks that compromise user credentials are: enable lockout after 3three to 5five failed attempts, reset the count after not less than 30 minutes, and set the lockout duration to 30 minutes. The recommended configuration for maximum security against denial of service attacks is to disable account lockout entirely.

Windows 2000 includes an account lockout feature that will disable an account after an administrator-specified number of logon failures. For maximum security, enable lockout after 3 to 5 failed attempts, reset the count after not less than 30 minutes, and set the lockout duration to "Forever (until admin unlocks)."

The Windows NT Server Resource Kit includes a tool that allows you to adjust some account properties that aren't accessible through the normal management tools. This tool, passprop.exe, allows you to lock out the administrator account:

  • The /adminlockout switch allows the administrator account to be locked out

Configure the Administrator Account

Because the Administrator account is built in to every copy of Windows 2000, it presents a well-known objective for attackers. To make it more difficult to attack the Administrator account, do the following both for the domain Administrator account and the local Administrator account on each server:

  • Rename the account to a nonobvious name (e.g., not "admin," "root," etc.).

  • Establish a decoy account named "Administrator" with no privileges. Scan the event log regularly looking for attempts to use this account.

  • Enable account lockout on the real Administrator accounts by using the passprop utility

  • Disable the local computer's Administrator account.

Revoke the Debug Programs User Right

By default, Windows 2000 grants administrators the Debug programs user right. This right can be exploited by trojans to capture sensitive system information from the system memory, such as hashed passwords. Microsoft suggests that you revoke this right for all users except specific user accounts that require debug privileges.

Remove all Unnecessary File Shares

All unnecessary file shares on the system should be removed to prevent possible information disclosure and to prevent malicious users from using the shares as an entry to the local system.

Set Appropriate ACLs on all Necessary File Shares

By default all users have Full Control permissions on newly created file shares All shares that are required on the system should have the ACL restricted such that users have the appropriate share-level access (e.g., Everyone = Read).. All shares that are required on the system should be ACL'd such that users have the appropriate share-level access (e.g., Everyone = Read).

Note: The NTFS file system must be used to set ACLs on individual files in addition to share-level permissions.

Enable Security Event Auditing

By default, Windows 2000 server does not log successful or failed login attempts. Logging these attempts is useful for proactively determining that an attack is occurring, and reactively determining how and when an attack took place. It is tempting to enable all types of auditing; however, that configuration results in unmanageable log files and a performance impact. Microsoft recommends enabling only Success and Failure auditing for the Audit account logon events policy.

With auditing enabled, event log size and retention policies should be adjusted. The size of all event logs should be set so that they can retain several weeks of events. Microsoft recommends the maximum security log size be set to a value of 184,320 KB,; the maximum application log size be set to 10,240 KB,; and the maximum system log size to 10,240 KB. For all event logs, set the retention method for event logs to Overwrite events as needed.

Set Log on Warning Message

Though setting a log on warning message does not technically restrict an attacker, it significantly increases an organization's ability to prosecute attacks. Not displaying a warning message reduces the liability assumed by an attacker, which can increase an attackers comfort when initiating attacks. The specific wording of the message should be provided by your legal counsel; however, Microsoft recommends the following:

  • Set Message text for users attempting to log on to the following message value: This system is restricted to authorized users. Individuals attempting unauthorized access will be prosecuted. If unauthorized, terminate access now! Clicking on OK indicates your acceptance of the information in the background.

  • Set Message title for users attempting to log on to: IT IS AN OFFENSE TO CONTINUE WITHOUT PROPER AUTHORIZATION.

Install Antivirus Software and Updates

It is imperative to install antivirus software and keep up-to-date on the latest virus signatures on all Internet and intranet systems.

More security antivirus information is available on the Microsoft TechNet Security Web site.

Install Service Packs and Critical Patches

From time to time, Microsoft releases service packs and critical updates to resolve newly discovered security vulnerabilities in components included with Windows 2000. The Microsoft Update site is a tool for identifying critical updates not specifically identified in this document.

Apply all service packs and critical updates listed for your system at the Microsoft Update site. Microsoft Update may not be able to apply all critical updates at one time. If necessary, return to the site after rebooting the system and repeat the above process until all critical updates and service packs have been applied.

Each Service Pack for Windows includes all security fixes from previous Service Packs. Microsoft recommends that you keep up-to-date on Service Pack releases and install the correct Service Pack for your servers as soon as your operational circumstances allow. The current Service Pack for Windows 2000, SP2, is available on the Microsoft Web site.

Service Packs are also available through Microsoft Product Support. Information about contacting Microsoft Product Support is available on the Microsoft Web site.

Install the Appropriate Post-Service Pack Security Hotfixes Automate Patch Deployment

Use Automatic Updates to automatically notify you of the availability of new security fixes. If possible, configure Automatic Updates to automatically download updates and install then without manual intervention. Microsoft issues security bulletins through its Security Notification Service. When these bulletins recommend installation of a security hotfix, you should immediately download and install the hotfix on your member servers.

Larger organizations should use Microsoft Software Update Services, Microsoft Systems Management Server, or a similar solution to reduce the labor associated with deploying patches.

Scan System with the Baseline Security Analyzer

The Baseline Security Analyzer (BSA) evaluates your system's configurations and provides a report with specific recommendations to improve the security. BSA will recommend missing hotfixes and configuration changes related to both the core operating system and optional services such as Internet Information ServerIIS, SQL Server, and Internet Explorer. Use BSA to identify vulnerabilities in your systems initial configuration, and run it regularly to find new vulnerabilities.

When you run the Baseline Security AnalyzerBSA after installing the security baseline described above, the BSA results will show many security fixes are not installed. This is true and expected. The document only provides only a baseline from which to start. It is recommended you take the necessary steps to ensure all the critical security patches are installed.

You should run this tool against all the computers that you are securing on a daily basis until you are confident that all the recommended fixes have been applied. You can lower the frequency, but should continue to check regularly to detect fixes that have been uninstalled or overwritten. As you deploy new security fixes, you should continue to run the tool to verify and detect missing security patches.

Additional Security Settings

There are additional security features not covered in this document that should be leveraged when securing servers running Windows 2000. Information about these security features, such as Encrypting File System (EFS), Kerberos, IPSEC, PKI, and IE, security is available on the Microsoft TechNet Security Web site.

© 2001 Microsoft Corporation. All rights reserved.