Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: rsalz@osf.org (Rich Salz)
Subject: Re: certified vs validated identity
Date: 23 Nov 1994 17:21:51 GMT	[thread overview]
Message-ID: <3avtnf$m87@paperboy.osf.org> (raw)
In-Reply-To: 3apnsv$lqj@ibch10.inf.tu-dresden.de

In <3apnsv$lqj@ibch10.inf.tu-dresden.de> winkler@ibc.inf.tu-dresden.de (Matthias Winkler) writes:
>With 'dce_login -c' you can certify a principals identity.
>what is the difference between a certified and a validated
>principal's identity?

Actually, dce_login "-c" doesn't certify the principal's identity, but
rather certifies the security server that gave returned the identity.
In most cases you don't need a certified server.  If the server is bogus,
then it will not know the keys of the servers you want to talk to, so it
will be unable to give you session keys, etc., so you will be unable to
make authenticated RPC's to the servers that you want to.  This is annoying,
(and a denial of service attack) but it isn't dangerous.

The DCE security server also gives a "login context" that contains not
just network credentials, but local host credentials.  (In essence, the
/etc/passwd file vanishes, replaced by the DCE registry.)  Now, the login
program wants to certify the security server so that it just doesn't blindly
accept a login context that says "rich salz has local userid 0."

How can this happen?  Imagine that a badguy sidles up to an important machine
(one that holds the payroll), taps into the network, and inserts a utility
host that is running a bogus server.  The badguy starts to login; the bogus
server hands back a login contex that says "rsalz:0:0" as the local id.
Since the server and the badguy agree on the badguy's password, it seems valid.

The solution is to "certify" the security server by requiring it to give
you a ticket to talk to a trusted entity.  In this case, it's sec_clientd
(or dced in DCE 1.1) that maintains the identity of the machine, and is
a DCE principal (machine_name/self).  Since login trusts sec_clientd to
not have given away its password, if the security server in question can
give the login program data to make an authenticated RPC to sec_clientd,
login knows the security server is a valid one, so it can trust the rest
of the information there, and give the user the local identity that the
registry says.

It's a bit subtle and VERY clever.
	/r$


      reply	other threads:[~1994-11-23 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-21  9:05 certified vs validated identity Matthias Winkler
1994-11-23 17:21 ` Rich Salz [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox