Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


January 31, 2000

Kerberos Security in Windows 2000


RSS
Subscribe to Windows IT Pro | See More Security Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

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!

End of Article



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

Jennifer Thompson January 31, 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????

Mike Marschmeyer February 01, 2000


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

flacco April 27, 2004


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Security Whitepapers The Impact of Messaging and Web Threats

Why SaaS is the Right Solution for Log Management

Protecting (You and) Your Data with Exchange Server 2007

Related Events Top 10 Email Security Challenges and Solutions

Introduction to Identity Lifecycle Manager "2"

SQL Server Security: How to Secure, Monitor & Audit Your Databases

Check out our list of Free Email Newsletters!

Security eBooks Spam Fighting and Email Security for the 21st Century

Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

Related Security Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing