Computer Performance, Windows Server 2003

Guy recommends :
Free Solarwinds
VM Console

Solarwinds VM Console Free Download

Find out which of your VMs are a waste of space and which VMs need more resources.



 

Kerberos Security in Windows Server 2003

Introduction to Kerberos Security in Windows Server 2003

My goal on this page is to introduce you to the basics of Kerberos.  Rather like subnet mask and DNS, Kerberos is a complex topic where you need to read three separate accounts, or have three different people explain the concepts, before you truly appreciate all its security ramifications.

My aim is to help you understand what Kerberos will do for your security and to show you where to check or configure the settings.

Topics for Kerberos Security?

  ‡

Where Kerberos came from?

In Greek mythology, Kerberos was a three headed dog that guarded Hell.  Fast forward to 1981 and MIT (Massachusetts Institute of Technology), where a researcher coined the name Kerberos to describe a security system he was developing.  Microsoft's involvement with Kerberos came much later when they decided it was time to replace NT 4.0's NTLM security.  So Windows 2000 was Microsoft's first system to implement this Kerberos security standard.

How Kerberos works

The principle behind Kerberos authentication is this: the domain controller's Active Directory knows the user's password and naturally the user know their password.  So at logon, a hashed version of their password is sent to the domain controller, if it matches the stored password in Active Directory, authentication is successful and the desktop appears.

The point is that the domain controller must store an encrypted version of the password - plain text is taboo for storing passwords.  The level of encryption is 56bit by default and can be increased to 128bit at least in the US.

Terms you need to know

Kerberos uses a single key to encrypt and decrypt the password. Other terms for this process are private key, single key, or shared secret. When the server stores the password it is said to be hashed and one way encrypted.

User accounts and computer accounts are referred to as security principals, indeed, everything that has a password is known as a security principal.

When it comes to configuring Kerberos you will see that it has two aliases.  On domain controllers, when you check the Services, you see not Kerberos but the alias Key Distribution Center (KDC).  Technically Kerberos is implemented as SSP and SSPI (Security Service Provider Interface).  In addition to logon authentication, SSP ensures that data is not read or modified during transit.  (SSP has no easy configuration interfaces.)

Kerberos TicketsKerberos Security

Once the user has been authenticated by the server, they are given a ticket.  I think of the ticket as being attached to the Explorer, so where ever you explore your ticket gains (or denies) entry. 

Just as a theatre ticket is printed for a particular seat \ show and time, so a Kerberos ticket is 'printed' with the user's Domain UserName and the time that the ticket is valid.Kerberos Security in Windows Server 2003

Your logon password gets you a ticket, when the user wants resources it presents this ticket rather than risking sending a password.  This method allows for stronger encryption on the ticket than a password allows.  For instance the ticket encryption includes time based elements which makes it difficult to intercept.

In the literature you may see reference to Ticket Granting Ticket and Session Tickets.  The idea is that once the user logs on they get a master ticket or Ticket Granting Ticket.  Kerberos Security in Windows Server 2003

If users want resources from a different server they get a second Session Ticket which is only valid for a limited time for a particular purpose.

 Provided the user remains logged on the tickets are renewed automatically.  All of this underlying technology is hidden from the user and indeed from the administrator.

The default ticket lifetimes are controlled at the domain level by using domain policy. The defaults are:
MaxServiceTicketAge: 10 hours
MaxTicketAge: 10 hours
MaxRenewAge: 7 days
MaxClockSkew: 5 minutes

Kerbtray

If you need to see more details of the tickets get Kerbtray from the resource kit. Or Click here

Guy Recommends:  Solarwinds' Log & Event Management ToolSolarwinds Log and Event Management Tool

LEM will alert you to problems such as when a key application on a particular server is unavailable.  It can also detect when services have stopped, or if there is a network latency problem.  Perhaps this log and event management tool's most interesting ability is to take corrective action, for example by restarting services, or isolating the source of a maleware attack.

Yet perhaps the killer reason why people use LEM is for its compliance capability, with a little help from you, it will ensure that your organization complies with industry standards such as CISP or FERPA.  LEM is a really smart application that can make correlations between data in different logs, then use its built-in logic to take corrective action, to restart services, or thwart potential security breaches.

Download your FREE trial of Solarwinds Log & Event Management tool.

Troubleshooting Kerberos and DNS records

At login, clients need to contact their domain controllers.  DNS provides the IP address of the domain controllers.  When troubleshooting connection problems, I would first check that the client's TCP/IP settings.  In particular I would use IPCONFIG /all to make sure the client can query the DNS server. 

The next place I would examine is the SRV records on the DNS server.  Windows 2003 clients use DNS's SRV records to locate domain controllers, in particular they attempt to resolve the _ldap._tcp.dc._msdcs SRV records.  Windows 2000/3 domain controllers also publish SRV records for _kerberos and _kpasswd services. The list of published SRV records can be found on a domain controller in the following file:
%Windir%\System32\Config\Netlogon.dns

Time Configuration

Time Synchronization is crucially important for Kerberos, fortunately the built in Windows Time Service on XP and Windows 2000 Professional synchronises automatically with the PDC Emulator.  (This is a special domain controller see FSMO)  So, there is no need to create a special logon script for XP and W2K Pro clients.

KDC Service (Key Distribution Center)

Check that the KDC service has started on Domain Controllers, Administration Tools, Services.

Note Telnet and FTP do not use Kerberos

CatTools - Free downloadGuy's Challenge - Download this free device backup utility

(CatTools)

CatTools is a free program for backing up configuration settings on hardware devices.  Here is Guy's challenge.  If you download CatTools, then it will not only take care of backups, but also it will show you something new about the hardware on you network. I could give you a money back guarantee - but CatTools is already free!  Thus, I just make a techie to techie challenge, you will learn more about your network if you:

Download your free configuration backup tools

If you like this page then please share it with your friends

 


Related topics

Accounts   • Auditing  • IPSec  • Kerberos Tickets  • Windows RIS Server

LT2P and Certificates   • Security Snap-in   • Remote Shutdown

 *


Custom Search

Guy Recommends:
Orion's NPM - Network Performance MonitorReview of Orion NPM

Orion's performance monitor is designed for detecting network outages.  NPM makes it easy to see what's working, and what needs your attention.

This utility guides you through creating network maps.  It also helps troubleshooting by indicating whether the root cause is faulty equipment, or resource overload.

Download a free trial of Network Performance Monitor

 

Home Copyright © 1999-2012 Computer Performance LTD All rights reserved

Please report a broken link, or an error.