[1279] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Storing tickets safely

daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Mon Mar 4 13:00:39 1991

Date: Mon, 4 Mar 91 12:33:40 -0500
From: Theodore Ts'o <tytso@ATHENA.MIT.EDU>
To: hilary@snll-arpagw.llnl.gov
Cc: hilary@snll-arpagw.MIT.EDU, kerberos@ATHENA.MIT.EDU
In-Reply-To: Hilary Jones's message of Sun, 3 Mar 91 16:22:28 -0800,
Reply-To: tytso@ATHENA.MIT.EDU

   Date: Sun, 3 Mar 91 16:22:28 -0800
   From: hilary@snll-arpagw.llnl.gov (Hilary Jones)

   I was hoping that the next release of Kerberos would in fact have some
   form of ticket caching that didn't depend on the file system.  Perhaps
   some sort of shepherd process so that Kernel mods wouldn't have to be made.
   Without this, I still think the ticket is just a glorified password. 
   I will admit I am being the gadfly here, but this is the one part of
   Kerberos that I haven't completely bought off on.

Well... no.  It's not like your password in that 1) you can't use a
ticket to change your password, 2) you can't use a ticket file on
another workstation without at least some amount of work, and 3) as
shipped, Kerberos V4's maximum ticket lifetime is 21 hours.  

Kerberos V5 will have longer-lived tickets, but it also has provisions
for renewable tickets.  In Kerberos V4, you still can have batch jobs
that may take many days to run --- you just need to modify the programs
to Kerberos authenticate with whatever services they need to at the
beginning of the batch run.  As long as you can maintain some sort of
association (i.e., TCP connection) with the server, and you're not
afraid that someone will be able to hijack the association, you'll be
fine.  So there are some ways to make life more convenient, but in the
long-run you always have a trade-off between security and convenience.

Also note that if a ticket thief has broken root on your workstation,
there really isn't that much difference between grabbing the file out of
/tmp and grabbing it out of /dev/mem.  One's only just a little bit more
difficult that the other.  Also, as you have yourself pointed out, a
ticket thief who has broken root will probably just replace /bin/login
with one that logs passwords and then forwards everything else along to
the real login program.

						- Ted

home help back first fref pref prev next nref lref last post