Home > Store

Kerberos: A Network Authentication System

Register your product to gain access to bonus material or receive a coupon.

Kerberos: A Network Authentication System

Book

  • Sorry, this book is no longer in print.
Not for Sale

About

Features

Brian Tung is a computer scientist at the University of Southern California's Information Sciences Institute, where he is currently designing and implementing public key extensions to Kerberos. An acknowledged Kerberos expert, Mr. Tung is the author and keeper of the much-respected and often-visited Kerberos Web page The Moron's Guide to Kerberos.

Description

  • Copyright 1999
  • Dimensions: 5-3/8" x 8-1/4"
  • Edition: 1st
  • Book
  • ISBN-10: 0-201-37924-4
  • ISBN-13: 978-0-201-37924-2

This handbook is a complete step-by-step guide to working with Kerberos, one of the most popular network authentication systems used by network administrators and programmers. Kerberos provides a clear explanation of network security principles and basic concepts, while taking you through each element of the Kerberos system.

Written by a network security professional who has worked with Kerberos extensively, this practical guide reveals the experience-based tips that will help you avoid pitfalls and maximize the system's capabilities. The text shows you how to obtain, install, optimize, use, and administer Kerberos, and covers important information for developing Kerberized applications.

You will find thorough explanations of such key topics as:

  • Basic cryptography and hash functions
  • Mutual authentication
  • Establishing and changing passwords
  • Manipulating credentials
  • Installing the Key Distribution Center (KDC)
  • Optimizing configuration
  • Creating and administering a Kerberos database
  • Adding, deleting, and modifying a principal
  • Setting up cross-realm authentication
  • Extensible function calls
  • The GSS-API
  • The various versions of Kerberos and their operational differences

In addition to these topics, Kerberos also discusses the effect of public key cryptography on the Kerberos protocol, its incorporation into Windows NT 5.0, and its use with smart cards and PC cards.

With this book in hand, the security, flexibility, and convenience of Kerberos is brought within easy reach of today's time-constrained administrator.



0201379244B04062001

Extras

Web Resources

Click below for Web Resources related to this title:
The Moron's Guide to Kerberos

Sample Content

Table of Contents



Preface xi.


1. Overview: A Kerberos FAQ.

What Is Kerberos?

What Is Kerberos Good For?

What Versions Are Available?

Where Can I Get Kerberos?

What On-Line Information Is There?

How Is Kerberos Used for Security?



2. Kerberos for Users.

Using Kerberos.

Manipulating Credentials.

Changing Your Kerberos Password.

Performing Basic Kerberos Operations.

Using MIT-Kerberized Applications.

Encrypting Your Session.

Forwarding Tickets.

Specifying the User.

Knowing When Something Isn't Right.

Using the Windows 95/NT Interface.

Using Eudora.



3. Kerberos for Administrators.

Knowing What You're Trying to Protect.

Building the Kerberos Distribution.

Installing the KDC.

The krb5.conf Configuration File.

The kdc.conf Configuration File.

Creating the Kerberos Database.

Setting Up the Administrative Principals.

Starting the KDC and the Admin Server.

Accessing the Database.

Adding a New Principal.

Deleting a Principal.

Modifying a Principal.

Changing a Password.

Retrieving a Principal's Database Entry.

Listing the Database Entries.

Compiling a Keytab File.

Removing Principals from a Keytab File.

Finding Out What Commands Are Available.

Quitting.

Setting Up Cross-Realm Authentication.

Administering an Application Server.



4. Kerberos for Developers.

Contents of a Kerberized Application.

Example of a Kerberized Application.

The Client.

The Server.

Extensible Function Calls.

Error Handling.

Replay Caches.

A Password-Changing Program.

Other Kerberos API Calls.

GSS-API.

Understanding How the GSS-API Calls Work.

Taking Advantage of GSS-API.



5. The Basics of Kerberos.

The Origins of Kerberos.

Principals.

A Primer on Cryptography.

Ciphers.

One-Way Hashes.

Authentication with Kerberos.

The (High-Level) Details.

Mutual Authentication.

KDC = AS + TGS.

Cross-Realm Authentication.

The Kerberos Environment.

A Note about Passwords.

Local Security.



6. Other Versions of Kerberos.

Pre-V5 and Commercial Versions.

Kerberos V1, V2, V3.

Kerberos V4.

Bones, E-Bones, and Heimdal.

TrustBroker.

V4 and V5 Operational Differences.

kinit.

klist.

kdestroy.

V4 and V5 Anatomical Differences.

Byte Ordering.

Ticket Lifetimes.

Delegation.

Password Hashing.

Preauthentication.

Cryptographic Algorithms.



7. New Directions for Kerberos.

Public Key Cryptography.

The Basics of Public Key Cryptography.

The Strength of Public Key Cryptography.

Public Key Certification.

Effect on the Kerberos Protocol.

Use in Cross-Realm Authentication.

Public Key Kerberos Today.

Kerberos and Windows 2000.

Smart Cards and Other Portable Devices.

Smart Cards and PC Cards.

PC Cards and the Kerberos Protocol.



Appendix A. Glossary.


Appendix B. Annotated Bibliography.

Books.

Papers.

Internet Specifications.

On-Line References.



Index. 0201379244T04062001

Preface

Kerberos is a security product--specifically, an authentication system--that verifies who you are. Authentication is used for a wide range of security services: authorization, privacy, auditing, and so forth. Freely available, Kerberos has gained in popularity. With its recent addition as part of the security support in Windows 2000 (previously known as Windows NT 5.0), Kerberos is sure to gain importance in the coming years.

Kerberos was developed as open software. That is, its development was open to review, and many individuals contributed to it. Open development has ensured that a wide variety of viewpoints and needs are addressed in Kerberos.

Unfortunately, its open history is also curiously lacking documentation. Although the developers of Kerberos have been careful to log its changes and evolution, no general text on Kerberos has existed. This book fills that void.

This book is for any user of Kerberos. A user could mean someone who has to go through Kerberos in order to access his or her login account or to read e-mail. Another user might be an administrator who uses Kerberos to protect a computer network. Another user might be someone developing applications that use Kerberos to secure file transfers and transactions. Parts of this book are of interest to all of those users.

This book is divided into two parts. The first part explains how to set up Kerberos V5 and how to use it. Chapter 1 is an introduction to Kerberos, and gives some pointers to other sources of information. Chapter 2 is a Kerberos user's manual; users and system administrators alike are urged to read this chapter. The chapter explains how to manage your Kerberos identity, defines the various options, explains how to use "Kerberized" applications, and discusses differences in the various user interfaces.

Chapter 3 describes Kerberos from the system administrator's perspective. The chapter covers making sure that Kerberos is the right tool for the job; installing the Kerberos servers; setting them up so that you'll be able to manage them easily; adding, modifying, and removing users from the Kerberos database; making optimizations; and configuring your server to talk to other Kerberos servers.

Chapter 4, for developers, explains how to get applications to use Kerberos to authenticate users and servers. A step-by-step example explains how to make use of the Kerberos API (application programmer's interface). The chapter also explains how to write an application so that it can make use of any one of a number of security systems, not just Kerberos.

The second part of this book describes the basic principles behind Kerberos and is recommended reading for anyone with an interest in how network security works. Chapter 5 describes the algorithms and protocols of Kerberos: how it started, what its basic parts are, how they work together, and so forth. The chapter is designed to give you a working knowledge of what goes on inside Kerberos--what Kerberos can and cannot do.

Chapter 6 describes the various versions of Kerberos--how earlier versions differ from V5, in terms of how they work and what the user interface looks like. System administrators should download and use the latest version of Kerberos, but because many sites still use an older version, a brief user's manual is provided.

Finally, Chapter 7 explores some new areas of research into expanding Kerberos and its capabilities. The use of public key cryptography and smart-card and related technology are discussed as ways to expand and to facilitate the use of Kerberos.

This book has something of a curious history. I first came in contact with Kerberos a little more than four years ago, when I began work at the USC Information Sciences Institute. I had heard of Kerberos before but didn't know much about it, and I suddenly found myself, fresh out of graduate school, working for one of Kerberos's principal developers, Clifford Neuman. Armed with a handful of technical papers, I tried to make sense of the security system I would soon be helping to extend.

I soon discovered that if I didn't keep careful notes, I got confused among all the various notations used to describe the algorithms that Kerberos uses. Kerberos deals with encryption keys and electronic messages sent back and forth on a computer network, and I found it easier to understand the mechanism if I viewed it in terms of messages written on real paper, locked in real boxes with real keys and handed back and forth by a possibly unreliable courier. After I felt that I had a sufficiently good grasp of Kerberos, I thought that my notes might be useful to others, so I neatened them up a little and put them on the Web under the offhand title The Moron's Guide to Kerberos. The Moron in the title referred to me during those first few days when I was struggling to understand Kerberos.

That work became a minor hit, at least to my own eyes, and I am admittedly not overburdened with modesty. A few dozen people sent e-mail to thank me for providing them with an accessible introduction to Kerberos, and there are links to The Moron's Guide from a number of general security clearinghouses.

In late 1997, I got a call from Mary Hart, an editor at Addison-Wesley. Apparently, she had seen my Web page, found it provocative, and asked whether I would be interested in expanding the material into a technical book. Certainly I would. The outline of the book was duly proposed and approved, and I spent a year or so working at completing the book. And so, here it is.

They say that success has many fathers; they mean that many people are ready to claim credit for anything that goes well, but in this particular case the credit is due. First, I have to thank Mary Hart, without whom this book would never even have been conceived, let alone undertaken. She has been extremely understanding and forgiving of my lapses and delays in delivering chapters of this book.

I would also like to thank the Information Sciences Institute, and Clifford Neuman in particular, for giving me the opportunity to work on Kerberos; the MIT development team, for making a sophisticated security system freely available and thereby giving me something to write about; and the companies, past and present, that provided extra functionality to Kerberos.

I would like to thank Don Knuth and Leslie Lamport for developing the TeX and LaTeX typesetting languages, respectively, without which typesetting this book would have been significantly more difficult; and William Cheng, who wrote TGiF, which is responsible for some of the figures in this book.

I also have to thank the following reviewers of this book for correcting my errors, updating me on new developments, and improving the overall usability of this book: Jeffrey Altman, Derrick Brashear, Tom Damon, Christopher Hylands, Joe Kovara, Carrie Ledford, Dave McGuire, Clifford Neuman, and Tom Yu.

Finally, I want to thank my wife, Debby. This book has taken a large chunk of my time over the past year, and without her patience, love, and understanding, I probably would never have finished it. Indeed, that the book has seen the light of day at all surely owes a lot to her gentle but persistent motivation during those times when I didn't think I had the time to work on it. It has been worth it.

--Brian Tung
Santa Monica, California



0201379244P04062001

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020