Re: How to verify Privilege Separation is working?
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 09/26/04
- Next message: Darren Tucker: "Re: "Unable to authenticate using any of the configured authentication methods?" to Debian"
- Previous message: Darren Tucker: "Re: Disable the server's login banner for a user"
- In reply to: Philip Le Riche: "How to verify Privilege Separation is working?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 26 Sep 2004 00:52:12 +0000 (UTC)
In article <705712dd.0409230535.4c98a4a7@posting.google.com>,
Philip Le Riche <p.j.le.r@virgin.net> wrote:
>Is there a simple way to positively demonstrate that privilege
>separation is working? Running ps -fe shows all sshd processes running
>as root. If /var/empty doesn't exist, sshd still seems to work, but
>presumably without privilege separation. There may be other
>configuration errors which could have the same effect.
Yes, "ps" will show 2 sshd's per user, one with a uid of root and
the other of the logged-in user. If the platform has setproctitle or
equivalent (I can't remember if AIX does) then the processes will have
annotations like:
root 17663 707 1 10:50 ? 00:00:00 sshd: dtucker [priv]
dtucker 17665 17663 1 10:50 ? 00:00:00 sshd: dtucker@pts/0
>(The reason I ask is that a vulnerability assessment has shown that I
>need to upgrade to OpenSSH 3.7.1 to avoid known vulnerabilities.
>However, rebuilding from source has run into problems with
>incompatible libraries since we're on an old version of AIX.
How old an AIX and what error? I built 3.8p1 on AIX 4.2.1 and I suspect
the newer OpenSSHs should be easy to get working if they don't already.
(My disk with 4.2.1 on it is dying with a bad bearing, but if it will
help I can see if it still spins :-)
>No doubt
>these are fixable, given time my management may not allow me, but if I
>could positively demonstrate that privilege separation is working, I
>could argue that the risk is low and limited to DoS. Agreed?)
What version do you have? If I were paranoid I would upgrade anyway.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Darren Tucker: "Re: "Unable to authenticate using any of the configured authentication methods?" to Debian"
- Previous message: Darren Tucker: "Re: Disable the server's login banner for a user"
- In reply to: Philip Le Riche: "How to verify Privilege Separation is working?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|