Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: How to verify Privilege Separation is working? |
|---|---|
| Date: | Mon, 25 Oct 2004 08:45:08 -0700 (PDT) |
You can try to startup sshd manually on the command line in debug mode on another port. i.e. /path/to/sshd -D -p 9999 or whatever port you like. Once you connect to this daemon and disconnect it will die. Restart it to continue testing. Optionally, pass it the config file, or the specific config option. This will help you diagnose if you are even reading the config file you think you are. Jerry QX19 --- Philip Le Riche <philip.leriche@virgin.net> wrote:
Thanks! Just a few servers out of several dozen had neither the sshd user nor /var/empty set up. I fixed that (sshd with login and remote login disabled, /var/empty 755 root system) and rebooted. Launching a login attempt having blanked the auto-login user name in putty still shows the new process running as root. (Correctly set up systems show it nicely running as sshd.) What more can I do to make sshd notice the corrected config than a reboot? Do the sshd user and /var/empty need to exist before installation? (I'm running AIX, by the way.) - Philip David Walker wrote:ssh into your server to an account that requires apassword or a non-existingaccount that prompts for a password. Don't enter apassword at this time butrun your ps command (from another shell of course).If privilege separationis operational then you will see an sshd processrunning under the separationaccount such as "sshd" On Friday 24 September 2004 02:59 am, Philip LeRiche wrote:Hi - Is there a simple way to positively demonstratethat privilegeseparation is working? Running ps -fe shows allsshd processes runningas root. If /var/empty doesn't exist, sshd stillseems to work, butpresumably without privilege separation. There maybe otherconfiguration errors which could have the sameeffect.(The reason I ask is that a vulnerabilityassessment has shown that Ineed to upgrade to OpenSSH 3.7.1 to avoid knownvulnerabilities.However, rebuilding from source has run intoproblems withincompatible libraries since we're on an oldversion of AIX. No doubtthese are fixable, given time my management maynot allow me, but if Icould positively demonstrate that privilegeseparation is working, Icould argue that the risk is low and limited toDoS. Agreed?)- Philip
*******************************************************
This email has originated from Steria Limited, Registration No: 2706218. Privileged, confidential and/or copyright information may be contained in this email, and is only for the use of the intended addressee. To copy, forward, disclose or otherwise use it in any way if you are not the intended recipient or responsible for delivering to him/her is prohibited. If you receive this email by mistake, please advise the sender immediately, by using the reply facility in your email software. We may monitor the content of emails sent and received via our network for the purposes of ensuring compliance with policies and procedures. This message is subject to and does not create or vary any contractual relationships between Steria Limited and the recipient. Office registered at: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire, HP2 7AH www.steria.co.uk
****************************************************** __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Logging attempted passwords, pleriche |
|---|---|
| Next by Date: | Re: port forwarding and oracle, Mauricio Araya V. |
| Previous by Thread: | Re: How to verify Privilege Separation is working?, Philip Le Riche |
| Next by Thread: | Password auth turned off in OpenSSH, C. Linus Hicks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |