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: Logging attempted passwords |
|---|---|
| Date: | Mon, 25 Oct 2004 02:48:43 +0900 |
On Fri, Oct 22, 2004 at 08:03:19AM -0400, Greg Wooledge wrote:
On Fri, Oct 22, 2004 at 02:57:24PM +0900, Derek Martin wrote:David appears to be asking for the PASSWORD the user used on a failed attempt. I'm not 100% positive, but I believe OpenSSH does not provide a mechanism to get the password.Logging failed passwords is a Very Bad Idea if you actually *use* password authentication.
In general, I agree. It's also not really cool for the admins to be able to see what passwords people are using. But on the other hand, that does not mean there might not be legitimate reasons to want to see the passwords that people are trying... In some rare and extreme cases, I can even conceive of it being possible to know passwords that people are successfully using... such as (perhaps) when tracking a cracker illegally accessing your systems. As others have pointed out, desirable or not, it's not that hard to get this by making small modifications to the source code... In any event, that was what the OP asked for, and that was the question I addressed.
Suppose your password is 'Open*SSH-3.9' (without the quotes). But that's pretty hard to type on some keyboards with hyperactive Shift keys, so maybe you fail by accidentally typing 'OPen*SSH-3.9', and that gets logged. Now, someone gets hold of your logs (by whatever means). Do you think your password is "safe" any more?
No, but even if my password is not logged in some log, I would think my password was not safe if I knew that someone had gotten a hold of the logs... If the system is compromised, then all bets are off. It's that simple. Under such circumstances, you'd better change your password, regardless (and re-install the OS from known-clean media, and apply all updates before re-connecting it to the network, and)... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0x81CFE75D
pgpams41jeh4U.pgp
Description: PGP signature
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Logging attempted passwords, Bartek Krajnik |
|---|---|
| Next by Date: | Re: port forwarding and oracle, C. Linus Hicks |
| Previous by Thread: | Re: Logging attempted passwords, Greg Wooledge |
| Next by Thread: | Re: Logging attempted passwords, Greg Wooledge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |