|
|||||||||||
|
Re: ssh with diskless machines
From: Crist J. Clark <crist.clark(at)attbi.com>
Date: Tue Mar 18 2003 - 13:04:07 EST
On Tue, Mar 18, 2003 at 09:48:52AM +0100, Peter wrote:
That's one way. The other and slightly more difficult thing to do is a man-in-the-middle and intercept messages while the machine is still up. If you don't use hostkey authentication, what kind of authentication will you use to authenticate the remote host? The r-commands use IP address. Obviously, in the attack outline you give, its even easier for the e\/1L black hat to spoof the remote server for r-commands. He can follow the same process but skip the step where he steals the key. The point is, if there is not some secret stored on the remote machines, there is no way to do authentication. If the black hat knows everything about the remote machine or can get all of the info about it, he can spoof that machine by building a replica, under his control of course, to whatever precision is necessary. > > NFS (heck, might as well give them all the same set of keys) just to
We all know what NFS _really_ stands for, No F*cking Security, right? If the keys are handed out via NFS, the black hat can steal one set just as easily as any other. So you need to weigh two facts:
Also, using one key may server to continually remind you that the keys are pretty much a formality to keep SSH happy and are not providing any real security. > > make SSH happy seems like your only option. This is OK as long as you
You still have the same problems with LDAP and sftp. It all flows back to the problem of not being able to store a secret on the workstations. How can the diskless workstations authenticate themeselve to the LDAP server or sftp server if they can't store a secret? That is, how can you prevent the black hat from relpicating the process the workstations use to fetch the keys if the black hat knows everything that the workstation does? I think what you need to do is build your security policy around the fact that the workstations can never be trusted. Assume that they can be compromise, or worse, completely spoofed. For example, you should never use the same password to log into one of these things that you use on the servers, use host-based authentication or "throw-away" passwords (e.g. some root password shared by all of the workstations). It sounds backwards, but if someone can spoof it, you don't want to be typing your password into it and giving it to the black hat.
--
Crist J. Clark | cjclark@alum.mit.edu
| cjclark@jhu.edu
http://people.freebsd.org/~cjc/ |
cjc(at)freebsd.org
Received on Tue Mar 18 21:47:33 2003This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:55 EDT |
||||||||||
|
|||||||||||