Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

January 31, 2000 12:00 AM

Kerberos Security in Windows 2000

Windows IT Pro
InstantDoc ID #8061
Rating: (0)

When it comes to security, Windows 2000 (Win2K) offers many improvements over Windows NT. Probably the biggest advance has been in the OS's primary authentication protocol. NT LAN Manager (NTLM) has been primary authentication protocol for all versions of NT. Win2K supports NTLM and Secure Socket Layer/Transport Layer Security (SSL/TLS) authentication protocols. But Win2K's primary authentication protocol is Kerberos 5, which takes its name from Cerberus, Greek mythology’s three-headed dog that guarded the gates of Hades. Let's take a closer look at Kerberos 5 and how Kerberos security works in Win2K.

Kerberos emerged from an MIT project called Athena, which ran from the 1980s through the early 1990s. Athena's purpose was to establish a method to design and implement distributed computing environments. The project sought to improve upon traditional authentication methods and develop a strong authentication method that was less susceptible to hackers who monitor network packets and capture passwords. Instead of sending clear-text passwords over the wire, Kerberos uses encryption to authenticate clients and grant access to resources on the network. Kerberos refers to several things: Kerberos is the Authentication Service (AS), the protocol that AS uses, and the code that implements AS. Kerberos version 5 authentication issues tickets for accessing services on the network. Kerberos is also an Internet standard (see Request for Comments— RFC—1510).

The Kerberos security protocol uses the Data Encryption Standard (DES) shared-secret key concept for authentication. A secret key can be either private (known to one party only) or shared (known to two or more parties). In Kerberos, both the client and the Kerberos service share the encrypted password, which is known as a session key. The Kerberos service issues the ticket (or certificate) that contains, among other things, the user’s name, a session key, and the expiration time for the ticket. If the ticket expires during an active session, the Kerberos service informs the client and the server that the ticket has expired and generates a new session key so that the session can resume. The initial ticket lets Win2K authenticate the client on the network so that the client can access resources anywhere on the enterprise network using one logon and password.

Kerberos consists of several subprotocols and can operate across domains. The key distribution center (KDC), the Kerberos authentication service, runs as a service on each domain controller. The Kerberos client resides on each Win2K client and server. The Kerberos protocol consists of three main components:

  • The AS, the central database containing all the information about the users
  • The principle (or client)
  • The verifier (or server)

Kerberos clients can prove their identity to the server without sending passwords across the wire. Let’s say that a client wants to access a shared folder on a resource server, such as a file server. Here’s how the process works:

  1. A client requests authentication from an authentication server, such as a domain controller.
  2. The server creates two copies of the session key and sends them to the client in an encrypted message that contains the client’s private key and resource server’s encrypted private key. The session key contains a time-stamp that prevents someone from capturing packets with a protocol analyzer and playing them back to fool the server.
  3. The client sends copies of the session key to the resource server, which uses its private key to open the encrypted key.
  4. The verified client can now communicate with the server because both the client and the server have the shared-secret session key.
  5. In an optional step, the client might ask Kerberos to verify the server as well.

Win2K's Kerberos security model has several advantages over earlier authentication protocols, including

  • Transitive-trust relationships for authentication between domains— Kerberos services accept authentication credentials that any Kerberos service in a domain tree issues, or any domain tree in a forest issues. (A domain tree is a hierarchical organization of domains. A forest consists of one or more domain trees.) The trusts are transitive and hierarchical; if Domain A trusts B, and B trusts C, then A also trusts C.
  • Efficient authentication— Any Win2K server can verify a client’s credentials without checking with the Kerberos service on the domain controller.
  • Mutual client and server authentication— Kerberos doesn't authenticate just the client; the client can request that Kerberos verify the server as well.
  • Delegated authentication— If the client transaction needs to go through multiple servers, the verifying server can authenticate the client to the requested server on behalf of the client. You can set up an unlimited number of consecutive servers to delegate authentication.

Kerberos represents a major change in the way an OS authenticates clients on a Windows network. Kerberos interoperability lets Win2K authenticate even non-Microsoft clients from other platforms (e.g., UNIX), as long as the clients implement Kerberos 5. Kerberos offers enhanced security, efficient authentication, and flexibility. It’s amazing what a three-headed dog can do!

Related Content:

ARTICLE TOOLS

Comments
  • flacco
    8 years ago
    Apr 27, 2004

    how do you authenticate windows 2000 clients against an existing unix-based kerberos server?

  • Mike Marschmeyer
    12 years ago
    Feb 01, 2000

    Automatic trust is a dangerous thing. In the "if Domain A trusts B, and B trusts C, therefore A trusts C" scenerio, not only do you have to worry about your business partners security but you have a potential hole through any of their business partners, or their partner's partners. I realize the algorithm is tough to beat, but in years down the road if someone found a hack ... the world would be at their feet. Paranoia aside, sounds like this type of authentication would generate much more traffic. If each user needs to have his session key renewed multiple times per unit time(10's, 100's or 1000's of times? ... the article doesn't mention the duration of each ticket)it comes at an expense. Current LAN/WAN configurations have their high bandwidth pipes between servers only, while the connection on the client side is typically only 10Mbps. Since the client is now actively involved in this process, it has to tax the wire. Am I wrong????

  • Jennifer Thompson
    12 years ago
    Jan 31, 2000

    Excellent article! It clearly defines Kerberos Security, and gives excellent examples of how it is applied.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.