From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,4ddd910751288984 X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-11-23 09:21:51 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!gatech!bloom-beacon.mit.edu!paperboy.osf.org!rsalz From: rsalz@osf.org (Rich Salz) Newsgroups: comp.unix.osf.misc Subject: Re: certified vs validated identity Date: 23 Nov 1994 17:21:51 GMT Organization: Open Software Foundation Distribution: world Message-ID: <3avtnf$m87@paperboy.osf.org> References: <3apnsv$lqj@ibch10.inf.tu-dresden.de> NNTP-Posting-Host: sulphur.osf.org Keywords: dce_login, principal's identity, certifying 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$