Re:Bug in widely used OpenSSH opens servers to password crac...
by w8rbt on Tuesday July 21, 2015 @06:38PM
(#9926376)
Here's a one-line patch that logs the passwords the bots are trying too. http://w8rbt.org/patches/sshlog.patch
[ Parent
| on HN ]
Re:Bug in widely used OpenSSH opens servers to password crac...
by cillian64 on Tuesday July 21, 2015 @07:29PM
(#9926645)
As I understand it this will log all passwords anyone enters -- even correct ones. This seems like a terrible idea, or at the very least should be used only after careful consideration. Even logging incorrect passwords is a bad idea, due to slight typos by legitimate users.
Re:Bug in widely used OpenSSH opens servers to password crac...
by w8rbt on Tuesday July 21, 2015 @07:41PM
(#9926708)
You are correct. The patch is meant for IT security research and honeypots. The purpose is to see what passwords the SSH brute-force bots are using. It should not be used on production systems where legit users are logging in via SSH. That would be unethical and possibly criminal (depending on location).
Also, with SSH, I use keys, not passwords. I encourage others to do that as well. You could have this patch on a honeypot and by using a SSH key, your account password would not be in play.
Re:Bug in widely used OpenSSH opens servers to password crac...
by angry_octet on Tuesday July 21, 2015 @08:04PM
(#9926803)
Agree 100%. While it might be interesting as an academic study it shouldn't be used on any system with actual users.
It is just the kind of thing I would expect dumb IT mgmt to require so they can ban swear words from passwords.