
 |
|
MCSE Training Kit (Exam 70-220): Designing Microsoft® Windows® 2000 Network Security
|
|
|
Author
|
|
Microsoft Corporation
|
|
|
Pages
|
864
|
|
Disk
|
2 Companion CD(s)
|
|
Level
|
Int/Adv
|
|
Published
|
01/31/2001
|
|
ISBN
|
9780735611344
|
|
Price
|
$59.99
To see this book's discounted price, select a reseller below.
|
|
|
|
|
 |
|
|
Chapter 3: Designing Authentication for a Microsoft Windows 2000 Network
All access to Microsoft Windows 2000 resources is based on the
credentials that users provide when they authenticate with the network.
This chapter will examine the authentication protocols that are used in
Windows 2000, the ways to authenticate down-level clients, and the
optimum placement of domain controllers (DCs) to facilitate the
authentication process.
To complete this chapter, you must read the chapter scenario. This
scenario is used throughout the chapter to apply the design decisions
discussed in each lesson.
Market Florist is an Internet-based floral delivery company that
allows customers to purchase floral arrangements over the Internet and
have them delivered anywhere in North America. You have been called in
as a security consultant to design an authentication strategy for the
Market Florist internal network that will ensure that user credentials
are protected during the authentication process.
Market Florist's head office is in Seattle, the Canadian office
is in Winnipeg, and the Mexican office is in Monterrey. Market
Florist's marketing department is in San Francisco.
Figure 3.1 shows the network links among Market Florist's four
offices.

Figure 3.1 The Market Florist Wide Area Network
Market Florist's Active Directory directory service design is
comprised of three separate domains: marketflorist.tld,
ca.marketflorist.tld, and mx.marketflorist.tld. The Seattle and San
Francisco sites authenticate in the marketflorist.tld domain and the
Winnipeg and Monterrey sites authenticate with their country's
subdomain,
as shown in Figure 3.2.

Figure 3.2 The Market Florist Active Directory structure
Market Florist has Windows 2000 servers distributed across its
network as shown in Table 3.1.
Table 3.1 Windows 2000 Servers in the Market Florist Network
| Location |
Windows 2000 Servers |
| Seattle |
Three Windows 2000 DCs for the marketflorist.tld domain.
Two of the DCs are configured as Active Directory-integrated Windows 2000 DNS servers hosting the marketflorist.tld DNS zone.
Two of the Windows 2000 DCs are configured as global catalog servers.
One Windows 2000 member server configured as a WINS server. |
| San Francisco |
Two Windows 2000 DCs for marketflorist.tld.
One of the Windows 2000 DCs is configured as a global catalog server. |
| Winnipeg |
Three Windows 2000 DCs for the ca.marketflorist.tld domain.
One of the DCS is configured as an Active Directory-integrated Windows 2000 DNS servers hosting the ca.marketflorist.tld zone. |
| Monterrey |
Two Windows 2000 DCs for the mx.marketflorist.tld domain.
One of the DCS is configured as an Active Directory-integrated Windows 2000 DNS server hosting the mx.marketflorist.tld zone. |
Market Florist Client Computers
The Market Florist network uses a mix of Microsoft Windows 95,
Windows NT 4.0 workstation, and Windows 2000 Professional client
computers. All client computers were updated to the latest service pack
version before January 1, 2000, to ensure that the Market Florist
network was Year 2000 compliant.
Table 3.2 shows how the client computers are distributed across the
network.
Table 3.2 Market Florist Client Computer Distribution
| Location |
Client Computers |
| Seattle |
700 Windows 2000 Professional clients |
| San Francisco |
200 Windows 95 clients
300 Windows NT 4.0 workstations
100 Windows 2000 Professional clients |
| Winnipeg |
200 Windows NT 4.0 clients
300 Windows 2000 Professional clients |
| Monterrey |
300 Windows 95 clients
100 Windows 2000 Professional clients |
Authentication allows network administrators to determine who is
accessing the network and to design restrictions so that each
authenticated user can access only desired areas of the network. If you
don't have a good authentication design, trusted users might be
unable to access the network at all times.
After this lesson, you will be able to
- Determine business and technical requirements that will
affect your authentication design for a Windows 2000 network
Estimated lesson time: 20 minutes
When designing authentication for your Windows 2000 network, you
must meet certain business and technical requirements. These
requirements define how you can make sure that authentication
mechanisms are secured within a Windows 2000 network. The business
requirements include these areas:
- Many organizations require that all projects should
ultimately reduce the company's total cost of ownership. You can do
this by using Group Policy to enforce standardized security
configurations. In a Windows NT 4.0 network, you had to edit the
registry manually to apply many advanced security settings. This
required an administrator either to connect to each computer in the
domain or to configure each computer in the domain manually. With Group
Policy, Windows 2000 can ensure that common registry modifications are
enforced centrally using Active Directory.
- Identify security risks in the network. In a Windows NT
network, many client computers were unable to use more secure methods
of authentication. (Unless otherwise noted, "Windows NT"
refers to versions 3.51 and 4.0.) For example, Windows 95 and Windows
98 clients used LAN Manager (LM) authentication. LM authentication
gives attackers an easy way to crack passwords. LM passwords are easily
solved because they can be attacked in seven character sections. With
the installation of the Directory Services Client in a Windows 2000
network, Windows 95 and Windows 98 clients use the NTLMv2
authentication protocol, which gives higher authentication security and
reduces the risk of password cracking.
In addition to business requirements, technical requirements also
play a part in the design of your network's authentication
strategy. These technical requirements might include the following:
- Network authentication must be available even if WAN links
are not. By deploying Domain Name System (DNS) servers, DCs, and global
catalog servers at each remote site, you ensure that each site has the
services needed to provide local authentication. While only Windows
2000 clients are site-aware by default, installing the Directory
Services Client software on Windows 95, Windows 98, and Windows NT 4.0
clients makes these down-level client systems site-aware.
- Network authentication must occur quickly. When
authentication takes place over WAN links, authentication performance
suffers. By ensuring that all clients are site-aware, you ensure that
the clients will attempt to find network services on their local
segment of the network. This solution requires you to deploy the
Directory Services Client software to all down-level clients and to
deploy Active Directory sites correctly.
- DCs must not be overloaded with authentication requests.
Microsoft provides a tool known as the Active Directory Sizer
(ADSizer), which helps you plan the optimal number of DCs that you
require for your network. This includes determining the ideal number of
DCs and the processor and memory requirements for each one.
NOTE You can get the ADSizer tool by going to
www.microsoft.com and searching for "ADSizer tool."
You must design authentication for your network to meet all business
and technical objectives defined by your organization. These objectives
will provide the framework for your design. If you don't meet all
objectives, it's quite possible that you will face a redesign in
the near future. Ensure that you have collected all business and
technical objectives before completing your authentication design.
Windows 2000 is designed to use Kerberos v5 as the default
authentication protocol. Kerberos v5 provides more flexibility in
authentication than the NTLM authentication protocol did.
After this lesson, you will be able to
- Design a network to support Kerberos authentication for
Windows 2000–based clients
Estimated lesson time: 45 minutes
Reviewing Kerberos Components
This lesson examines in detail how Kerberos authentication is used
as the default authentication mechanism for Windows 2000–based
computers. Before we start looking into design considerations of how
Kerberos authentication works and how you can optimize and secure
Kerberos authentication, let's look at the core components of
Kerberos authentication. The components of the Kerberos v5 protocol
include
- Key distribution center (KDC). A network service that
supplies both ticket-granting tickets (TGTs) and service tickets to
users and computers on the network. The KDC manages the exchange of
shared secrets between a user and a server when they authenticate with
each other. The KDC contains two services: the Authentication Service
and the Ticket Granting Service. The Authentication Service provides
the initial authentication of the user on the network and provides the
user with a TGT. Whenever users request access to a network service,
they supply their TGT to the Ticket Granting Service. The Ticket
Granting Service then provides the user with a service ticket for
authentication with the target network service. In a Windows 2000
network, the KDC service is run at all Windows 2000 DCs.
NOTE In some cases, a computer account must also request a TGT. Because a computer is also a security principal in a Windows 2000
network, the process proceeds in the same manner as user
authentication, except that a computer account is being
authenticated.
- TGT. Provided to users the first time they authenticate
with the KDC. The TGT is a service ticket for the KDC. Whenever the
user needs to request a service ticket for a network service, she
presents the TGT to the KDC to validate that she has already
authenticated with the network.
NOTE For additional security, Windows 2000 by default always verifies that the user account is still active every time a TGT is
presented to the KDC. In other words, the KDC verifies that the account
hasn't been disabled. If the account has been disabled, the KDC
won't issue any further service tickets to the user.
- Service ticket. The user provides a service ticket
whenever he connects to a service on the network. The user acquires the
service ticket by presenting the TGT to the KDC and requesting a
service ticket for the target network service. The service ticket contains the target
server's copy of a session key and also contains information about
the user who's connecting. This information is used to verify that
the user is authorized to access the desired network service by
comparing the authentication informationnamely, the user's
Security Identifier (SID) and their group SIDs against the
Discretionary Access Control List (DACL) for the object that the user
is seeking access to. The service ticket is encrypted using the key
that's shared between the KDC and the target server. This ensures
that the target server is authenticated because only the target server
can decrypt the session key.
- Referral ticket. Issued anytime a user attempts to
connect to a target server that's a member of a different domain.
The referral ticket is actually a TGT to the domain where the resource
is located that's encrypted using the interdomain key between the
initial domain and the target domain.
These four components allow Kerberos authentication to take place
between Windows 2000 clients and Windows 2000 DCs.
Kerberos provides the following advantages over the NTLM
protocol:
- Mutual authentication. For all Kerberos transactions,
both the user and the server are authenticated. This prevents identity
spoofing of both the user and the server and ensures that only the
desired communications take place. For example, if a client computer is
connecting to a server and is protecting the data transmission using
IPSec, Kerberos can be used to authenticate both ends of the data
transmission.
- Single sign-on. Within a forest, a user who
authenticates to the network using Kerberos v5 authentication won't
have to provide any other credentials when accessing any resources in
the forest.
- Ticket caching. After acquiring a service ticket from
the KDC, the user then caches the service ticket in the client's
personal ticket cache. This reduces the number of times that a user
must contact DCs for authentication. For the lifetime of the service
ticket, the user can simply present the ticket anytime she is required
to authenticate with the server. The user needs to contact a DC to
acquire another service ticket only when the ticket expires.
TIP You can view your ticket cache at any time by using
Microsoft Windows 2000 Server Resource Kit utilities. Klist.exe
provides a text-based listing of your currently cached TGTs and STs.
The Kerbtray.exe utility provides a graphical viewing of the currently
cached tickets. The Kerbtray.exe utility loads an easily accessible
icon in the system tray.
- Delegation. Kerberos lets services impersonate
connecting users when the service connects to services located on other
servers. For example, if a user is connecting to an application server
using his network credentials, that application server can then query a
database under the security context of the connecting user.
- Standards-based protocol. Kerberos is an industry
standard authentication protocol. The Windows 2000 implementation of
Kerberos v5 is compliant with Request for Comment (RFC) 1510 and RFC
1964.
NOTE Kerberos v5 is defined in RFC 1510. You can obtain a copy
of this RFC by going to http://www.ieft.org/rfc and searching for
"RFC 1510."
- Interoperability. You can use Kerberos authentication
to provide interop-erable authentication between Windows 2000 domains
and Kerberos realms in a UNIX environment. This allows ease of access
to resources using a secure authentication protocol.
Three different message exchanges are used within Kerberos. All
Kerberos authentication transactions will be composed from these three
message exchanges.
The Kerberos message exchanges are
- Authentication Service Exchange. Used by the KDC to
provide a user with a logon session key and a TGT for future service
ticket requests. The Authentication Service Exchange is comprised of a
Kerberos Authentication Service Request (KRB_AS_REQ) sent from the user
to the KDC and a Kerberos Authentication Service Reply (KRB_AS_REP)
returned by the KDC to the user.
- Ticket Granting Service Exchange. Used by the KDC to
distribute service session keys and service tickets. The service ticket
that's returned is encrypted using the master key shared by the KDC
and the target server so that only the target server can decrypt the service ticket. A Ticket Granting Service Exchange is comprised of a Kerberos Ticket-Granting Service
Request (KRB_TGS_REQ) sent from the user to the KDC and a Kerberos
Ticket-Granting Service Reply (KRB_TGS_REP) returned by the KDC to the
user.
- Client/Server Authentication Exchange. A user uses
this message exchange when presenting a service ticket to a target
service on the network. The message exchange is comprised of a Kerberos
Application Request (KRB_AP_REQ) sent from the user to the server and a
Kerberos Application Response (KRB_AP_REP) returned by the target
server to the user.
NOTE In the case of a failed authentication, all three message
exchanges would replace the response sent from the KDC or the target
server to the client with a Kerberos Error message (KRB_ERROR) that
explains why the authentication attempt failed.
Kerberos authentication is used in a Windows 2000 network in many
circumstances. The following sections outline the transactions that
occur as Kerberos authentication takes place.
Initial Authentication with the Network
The Authentication Service Exchange is used when a user initially
logs on to the network. This exchange provides the user with a logon
session key and a TGT that will be used to acquire service tickets
during the session. The process involves a message sent from the client
computer to the server (KRB_AS_REQ) and a response sent from the server
to the client (KRB_AS_REP). The information contained within the
KRB_AS_REP is encrypted with the user's long-term key so that only
the user can decrypt the session key and the TGT within the response
message. Each user shares a long-term key with the KDC. The long-term
key is derived from the account's password.
|