Guide to Windows 2000 Kerberos Settings

Similar documents
Guide to Windows 2000 Kerberos Settings

Guide to Using DoD PKI Certificates in Outlook 2000

Guide to Securing Microsoft Windows 2000 Terminal Services

Guide to Securing Windows NT/9x Clients in a Windows 2000 Network

Guide to Securing Microsoft Windows 2000 Group Policy

NTLM NTLM. Feature Description

Microsoft Windows 2000? Router Configuration Guide

SafeNet Authentication Client

GoldSim License Portal A User s Guide for Managing Your GoldSim Licenses

Nokia Client Release Notes. Version 2.0

NetApp Cloud Volumes Service for AWS

CIS 6930/4930 Computer and Network Security. Topic 7. Trusted Intermediaries

Copyright

Guide to the Secure Configuration and Administration of Microsoft Exchange 2000

PageScope Box Operator Ver. 3.2 User s Guide

Trusted Intermediaries

AIT 682: Network and Systems Security

SafeNet Authentication Client

Guide to Securing Microsoft Windows 2000 Group Policy: Security Configuration Tool Set

NetApp AltaVault Cloud-Integrated Storage Appliances

Guide to Securing Microsoft Windows 2000 Group Policy: Security Configuration Tool Set

MySonicWall Secure Upgrade Plus

Introduction. Trusted Intermediaries. CSC/ECE 574 Computer and Network Security. Outline. CSC/ECE 574 Computer and Network Security.

SafeNet Authentication Client

SafeNet MobilePKI for BlackBerry V1.2. Administration Guide

SafeNet Authentication Client

One Identity Defender 5.9. Product Overview

Copyright PFU LIMITED 2016

Copyright SolarWinds. All rights reserved worldwide. No part of this document may be reproduced by any means nor modified, decompiled,

SNP Launchpad. Version: December SNP Schneider-Neureither & Partner AG

DAP Controller FCO

Installing AudioLinux (Alternative way with GUI)

Documentation Roadmap for Cisco Prime LAN Management Solution 4.2

Avaya VPN Client Software Release 10.05_100

SharePoint Farm Reporter Installation Guide

CISNTWK-11. Microsoft Network Server. Chapter 4

Authentication Services ActiveRoles Integration Pack 2.1.x. Administration Guide

Cloud Access Manager Overview

Intellisync Mobile Suite Client Guide. S60 3rd Edition Platform

Control4/HomeKit Appliance User Manual. User Manual. June Version Varietas Software, LLC.

Watch 4 Size v1.0 User Guide By LeeLu Soft 2013

Migrating Performance Data to NetApp OnCommand Unified Manager 7.2

Carbonite Server Backup Portal 8.5. Administration Guide

TheGreenBow VPN Client ios User Guide

Migrating BlackBerry-enabled mailboxes from Microsoft Exchange 5.5 to Microsoft Exchange 2000

NetApp AltaVault Cloud-Integrated Storage Appliances

TWAIN driver User s Guide

Preface. Audience. Cisco IOS Software Documentation. Organization

OnCommand Unified Manager 7.2: Best Practices Guide

SafeNet Authentication Service

RSA Two Factor Authentication

PDF SHARE FORMS. Online, Offline, OnDemand. PDF forms and SharePoint are better together. PDF Share Forms Enterprise 3.0.

GoldSim License Server Activation Utility Installation and Basic Use

Copyright PFU LIMITED

Carbonite Server Backup Portal 8.6. Administration Guide

Open Source Used In TSP

Volume Disaster Recovery Preparation Express Guide

T-Invoicer User Guide

Authenticating Devices

iphone/ipad Connection Manual

Dell One Identity Cloud Access Manager 8.0. Overview

SonicWall Global VPN Client Getting Started Guide

MagicInfo Express Content Creator

LGR Toolset (beta) User Guide. IDN Program October 2016

SonicWALL CDP 2.1 Agent Tool User's Guide

StorageGRID Webscale NAS Bridge Management API Guide

SafeNet Authentication Client

NetApp AltaVault Cloud-Integrated Storage Appliances

x10data Application Platform v7.1 Installation Guide

Guide to Securing Microsoft Windows 2000 Active Directory

Nokia Intellisync Mobile Suite Client Guide. S60 Platform, 3rd Edition

JD Edwards EnterpriseOne 8.12 Standalone Client Installation Guide. for the Oracle Application Server

Cluster and SVM Peering Express Guide

Quest Enterprise Reporter 2.0 Report Manager USER GUIDE

IETF TRUST. Legal Provisions Relating to IETF Documents. February 12, Effective Date: February 15, 2009

SafeNet Authentication Client

About This Guide. and with the Cisco Nexus 1010 Virtual Services Appliance: N1K-C1010

User s Manual LOC8ING. Air Travel Tag Ver TM. LOC8ING LTD. Unit 1016 Houston Centre, 63 Mody road, T.S.T East, Kowloon HONG KONG

Ecma International Policy on Submission, Inclusion and Licensing of Software

1.0. Quest Enterprise Reporter Discovery Manager USER GUIDE

Ecma International Policy on Submission, Inclusion and Licensing of Software

Intel Stress Bitstreams and Encoder (Intel SBE) 2017 AVS2 Release Notes (Version 2.3)

Quest Collaboration Services 3.6. Installation Guide

LGR Toolset (beta) User Guide. IDN Program 24 October 2017

SafeNet Authentication Client

NetApp AltaVault Cloud-Integrated Storage Appliances

SafeNet Authentication Service

SafeNet Authentication Service

Expires: December 8, 2011 June 10, IPsec anti-replay algorithm without bit-shifting draft-zhang-ipsecme-anti-replay-01

Oracle Plug-in Version 6.85 for Microsoft Windows User s Guide

Cisco TEO Adapter Guide for Microsoft System Center Operations Manager 2007

Edge Security Pack (ESP)

SolarWinds. Migrating SolarWinds NPM Technical Reference

OnCommand Cloud Manager 3.2 Provisioning NFS Volumes Using the Volume View

DHIS 2 Android User Manual 2.22

Turtle Art User Guide. OLPC Pakistan Documentation Project

One Identity Quick Connect for Base Systems 2.4. Administrator Guide

E-Series Cabling E-Series Hardware

Oracle Plug-in for Windows Agent 7.2 User Guide

Authentication Manager Self Service Password Request Administrator s Guide

Transcription:

Report Number: C4-018R-01 Guide to Windows 2000 Kerberos Settings Architectures and Applications Division of the Systems and Network Attack Center (SNAC) Author: Updated: June 27, 2001 David Opitz Version 1.1 National Security Agency 9800 Savage Rd. Suite 6704 Ft. Meade, MD 20755-6704 W2Kguides@nsa.gov

This Page Intentionally Left Blank ii

Warnings Do not attempt to implement any of the settings in this guide without first testing in a non-operational environment. This document is only a guide containing recommended security settings. It is not meant to replace well-structured policy or sound judgment. Furthermore this guide does not address site-specific configuration issues. Care must be taken when implementing this guide to address local operational and policy concerns. Warnings The security changes described in this document only apply to Microsoft Windows 2000 systems and should not be applied to any other Windows 2000 versions or operating systems. SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This document is current as of June 27, 2001. See Microsoft's web page http://www.microsoft.com/ for the latest changes or modifications to the Windows 2000 operating system. iii

This Page Intentionally Left Blank iv

Trademark Information Microsoft, MS-DOS, Windows, Windows 2000, Windows NT, Windows 98, Windows 95, Windows for Workgroups, and Windows 3.1 are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A. and other countries. All other names are registered trademarks or trademarks of their respective companies. Trademark Information v

This Page Intentionally Left Blank vi

Table of Contents Warnings...iii Trademark Information...v Table of Contents...vii Table of Figures...viii Table of Tables...ix Table of Contents Introduction...1 Getting the Most from this Guide...1 About the Guide to Windows 2000 Kerberos Settings...1 Chapter 1 Windows 2000 Kerberos Settings...3 Finding More Information...3 Kerberos Settings in Group Policy...4 Kerberos in User and Computer Properties...5 Other Guidance...8 Appendix A Further Information... 10 Appendix B References... 12 vii

Table of Figures Table of Figures Figure 1 Parameters in Group Policy MMC Snap-in Tool...4 Figure 2 Property Tabs...6 Figure 3 Trust Computer for Delegation Option...8 viii

Table of Tables Table 1 Default Parameter Settings...5 Table 2 Default Settings for Account Options...7 Table of Tables ix

This Page Intentionally Left Blank x

Introduction Getting the Most from this Guide Introduction The following list contains suggestions to successfully use Kerberos in Windows 2000: WARNING: This list does not address site-specific issues and every setting in this book should be tested on a nonoperational network. Read the guide in its entirety. Omitting or deleting steps can potentially lead to an unstable system and/or network that will require reconfiguration and reinstallation of software. Perform pre-configuration recommendations: o o Perform a complete backup of your system before implementing any of the recommendations in this guide. Ensure that the latest Windows 2000 service pack and hotfixes have been installed. For further information on critical Windows 2000 updates, see the Windows Update for Windows 2000 web page http://www.microsoft.com/windows2000/downloads/default.asp. Follow the security settings that are appropriate for your environment. About the Guide to Windows 2000 Kerberos Settings This document consists of the following chapters: Chapter 1, Windows 2000 Kerberos Settings, contains general guidance on Kerberos, Kerberos settings in Group Policy, and Kerberos in User and Computer properties. Appendix A, Further Information, contains a list of the hyperlinks used throughout this guide. Appendix B, References, contains a list of resources cited. 1

This Page Intentionally Left Blank 2

Chapter 1 Windows 2000 Kerberos Settings Kerberos version V is the default Windows 2000 authentication mechanism. It is used for logon, domain trusts, and authentication for individual services. Kerberos is an Internet standard, described in the IETF RFC 1510 (see http://www.ietf.org/rfc/rfc1510.txt), and has been widely analyzed. The protocol is considered to be cryptographically sound, which is one of the reasons why Microsoft chose to use it. Windows 2000 Kerberos Settings Chapter 1 Finding More Information Microsoft has written many documents on Kerberos, however the paper titled "Authentication for Administrative Authority", published on July 28, 2000, seems to be particularly comprehensive. This paper was used extensively as a reference while writing this guide, and can be downloaded from http://www.microsoft.com/technet/security/authent.asp. The following topics are covered in the paper: Kerberos protocol overview Role of Kerberos How Kerberos fits into the logon scheme Kerberos management Interoperability with other Kerberos versions Trust configuration Planning for various environment sizes For more details of the Kerberos protocol, Microsoft has also written a detailed white paper on the Kerberos protocol titled Windows 2000 Kerberos Authentication. It was was published on July 9, 1999 and can be downloaded from http://www.microsoft.com/windows2000/library/howitworks/security/kerberos.asp. There are also several other valuable Kerberos papers available from Microsoft. On the Microsoft technet web site, there is a link in the IT Solutions area, under the Security section, for Best Security Practices for Enterprise Security. 3

Kerberos Settings in Group Policy r 1 Chapte Windows 2000 Kerberos Settings The Microsoft Best Security Practices for Enterprise Security document contains a section titled " How to Configure Kerberos in Windows 2000 and begins with the following sentences. The primary thing to remember about configuring Kerberos is that the default is good. Only about a half dozen items can be changed in Kerberos on Windows 2000. Unless there is some specific reason to change one of the parameters, you should leave the parameters alone." NSA agrees with this assessment. Before changing any of the Kerberos settings, the user should have a thorough understanding of the protocol, and a good reason why a setting should be changed. The Best Security Practices for Enterprise Security document does provide some possible reasons why a user might want/need to change the parameter(s). The parameters settings can be found in the Group Policy MMC snap-in tool. Select Computer Configuration? Windows Settings? Security Settings? Account Policies? Kerberos Policy A window should appear that looks similar to Figure 1. A domain administrator must make any changes to the Kerberos settings. Once changes are configured on one domain controller, the settings will replicate to all the other domain controllers along with the normal Active Directory replication. Figure 1 Parameters in Group Policy MMC Snap-in Tool 4

There are five parameters that can be set. Table 1 lists the recommended settings. The first option can be enabled at the price of slower logons. For the last four settings in Table 1, the default values, or anything approximately close to those values, are adequate. Policy Enforce user login restrictions Forces the Key Distribution Center (KDC) to check if a user requesting a service ticket has either the Log on locally (for local machine service access) or Access this computer from the network user right on the machine running the requested service. If the user does not have the appropriate user right, a service ticket will not be issued. This prevents a disabled account from obtaining new service tickets. The TGT will expire in 10 hours (if the default for the user ticket lifetime is used), but this user logon restriction eliminates that small window of opportunity. Enabling this option provides increased security, but may slow network access to servers. Maximum lifetime for service ticket Determines the number of minutes a Kerberos service ticket is valid. Values must be between 10 minutes and the setting for Maximum lifetime for user ticket. Maximum lifetime for user ticket Determines the number of hours a Kerberos ticket-granting ticket (TGT) is valid. Upon expiration of the TGT, a new one must be obtained or the old one renewed. Maximum lifetime for user ticket renewal Sets the maximum number of days that a user s TGT can be renewed. Maximum tolerance for computer clock synchronization Sets the maximum number of minutes by which the KDC and client machine s clocks can differ. Kerberos makes use of time stamps to determine authenticity of requests and aid in preventing replay attacks. Therefore, it is important that KDC and client clocks remain synchronized as closely as possible. Recommended Settings Enabled 600 minutes 10 hours 7 days 5 minutes Windows 2000 Kerberos Settings Chapter 1 Table 1 Recommended Kerberos Settings Kerberos in User and Computer Properties There are a few other Kerberos options available. From the Active Directory Users and Computers window, select a user (probably in the Users folder), and click Properties. A window appears with numerous tabs, as shown in Figure 2. 5

Chapte r 1 Windows 2000 Kerberos Settings Figure 2 Property Tabs Click on the Account tab. The default settings for account options are shown in Table 2. By default, these account options settings are all turned off. 6

Account Options Smart Card is required for interactive logon Requires a user to use a smart card for successful logon. See the Other Guidance section for more information on smart cards. Account is trusted for delegation Provides a service running under a user account (as many, but not all, services do) the ability to forward Kerberos tickets. There are many services where this is needed, but this should only be turned on for accounts that run those services. An example service requiring delegation is when a user connects to a web server and retrieves his mail from an Exchange server. Account is sensitive and cannot be delegated Enabling this option means that a user cannot have his/her credentials forwarded. While selecting this option is a more secure setting, the administrator needs to be aware that enabling this option could break several useful services. It should be selected for administration accounts - although the domain administrator has the ability to reset it if needed. Use DES encryption for this account Allows for the use of 56-bit DES encryption instead of the much more secure 128-bit RC4 used in Microsoft Kerberos. This option was included to interoperate with an older Unix-based Kerberos implementations. Due to the susceptibility of DES to cryptographic exhaustion attack, the use of DES is not recommended. This does lead to a security weakness if the administrator is attempting to interoperate with a Unix based Kerberos, since DES is the only encryption that will work in this configuration. Until Microsoft decides to include 3DES as a Kerberos encryption option (and 3DES is supported in all other Kerberos distributions), there will be no secure way to interoperate. Related to this, the administrator should ensure the high encryption pack is installed so not to result in weakened cryptography, possibly without the administrator s knowledge. Do not require Kerberos pre-authentication Requiring pre-authentication makes it slightly more difficult for an attacker to gather information on which to run password-guessing attacks. If pre-authentication is used (which is the default, when the option is disabled), an attacker has to sniff the logon for each user to collect data for password guessing. Without this option, the attacker could send bogus messages to the KDC, pretending to be every valid user one at a time, and collect the data sent in reply. With this, the attacker could do off-line password guessing on all of the users passwords at once. Default Value Disabled Disabled Disabled Disabled Disabled Windows 2000 Kerberos Settings Chapter 1 Table 2 Default Settings for Account Options The final Kerberos option, Trust computer for delegation (See Figure 3), is also available from the Active Directory Users and Computers window and can be reached by performing the following steps: Right -click on a specific computer and select Properties Click the General tab and locate the checkbox for Trust computer for delegation 7

Chapte r 1 Windows 2000 Kerberos Settings Figure 3 Trust Computer for Delegation Option By default, this option is unchecked. This is similar to the Account is trusted for delegation button, but many services run as the local administrator instead of as a user, so this is a way of controlling ticket forwarding on those services. This should be enabled only when needed. Other Guidance Smart Cards There is one Kerberos related issue that the Microsoft Best Security Practices for Enterprise Security paper fails to discuss completely. It does mention the well-known fact that the security of Kerberos is based on the user's password. Thus, users should choose passwords that are difficult to guess, authentication failures should be logged, and multiple failures in a short time should cause a user account to be locked out. However, the paper does not talk about one countermeasure to this weakness smart cards. Windows 2000 can use smart cards for logon. The user's certificate and private key are stored on this smart card. When the user logs in by inserting the smart card, instead of using the password to protect the first pair of Kerberos messages, the user's public key is used to protect them. It is much more difficult to attack the key pair on a smart card than to guess a password. Adding smart card logons can be a large feature to deploy, but it does eliminate the password weakness of Kerberos. 8

Non-Windows 2000 Clients Windows 2000 domain controllers can support Windows 2000, Windows NT, or Windows 9x clients. Windows 2000 clients can take advantage of the full functionality of Kerberos authentication. Windows NT or 9x clients, however, cannot, and must use the weaker NTLM authentication method. To ensure that only the stronger Kerberos authentication method is being used, upgrade non-windows 2000 clients to Windows 2000. Windows 2000 Kerberos Settings Chapter 1 9

r 1 Chapte Windows 2000 Kerberos Settings Appendix A Further Information http://www.microsoft.com/ http://www.ietf.org/rfc/rfc1510.txt http://www.microsoft.com/technet/security/authent.asp http://www.microsoft.com/windows2000/library/howitworks/security/kerberos.asp 10

Appendix A Further Information This Page Intentionally Left Blank 11

Appendix B References "Authentication for Administrative Authority", Microsoft white paper, July 2000. 12