News for hackers. Stuff that matters.
Re:Bug in widely used OpenSSH opens servers to password crac... by Someone1234 on Tuesday July 21, 2015 @05:34PM (#9925987)
It is all fun and games until you ban yourself for a couple of million seconds...

Far too many people ban themselves with fail2ban.

Re:Bug in widely used OpenSSH opens servers to password crac... by kazinator on Tuesday July 21, 2015 @09:11PM (#9927101)
I rolled my own log-monitoring solution. I have it so that there have to be N unsuccessful attempts in M seconds. There are multiple such thresholds (different combinations of N and M) with different banishment periods. The system will react to an acute flood, like when > 30 attempts are made in just a few seconds, say (which you would never do if you're clumsily mis-typing your password). The software also discriminates whether the same account is being tried multiple times, versus different accounts. If the same client IP address is trying different user ID's, it will be banned more easily than a client trying the same account. Someone trying three or more accounts is almost certainly an intruder, since a legit user on my system knows at most two accounts: their personal one and possibly root. Trying root is punished more swiftly than non-root, also. All these inputs contribute to a score, and the score determines the position on the banishment scale which translates to a period.

Oh, and a successful login will clear the record: the software scrubs all records of that IP from its cache, so then if you make new logins from the same IP with mistyped passwords, you're starting with a clean slate.

I've never locked myself out.

Re:Bug in widely used OpenSSH opens servers to password crac... by middleclick on Tuesday July 21, 2015 @05:57PM (#9926157)
I use key-based authentication and fail2ban. Since that won't fail like passwords, it works wonderfully and the chances of my being banned are nil.
Re:Bug in widely used OpenSSH opens servers to password crac... by jasonjayr on Tuesday July 21, 2015 @06:32PM (#9926340)
* Until you have too may keys on your agent

* Until you have a script repeatedly attempt w/o your keys unlocked

* Until you try from a new computer on the same network and fail to setup your keys first.

Ask me how I know :)

Re:Bug in widely used OpenSSH opens servers to password crac... by gtaylor on Tuesday July 21, 2015 @06:45PM (#9926410)
Important to note: You can whitelist IPs if you are worried about getting locked out from work/home. They may change periodically, but that's pretty easy to update as well.
Re:Bug in widely used OpenSSH opens servers to password crac... by praseodym on Tuesday July 21, 2015 @06:13PM (#9926243)
Just make sure to whitelist known-good IPs.
Re:Bug in widely used OpenSSH opens servers to password crac... by zacharydanger on Tuesday July 21, 2015 @05:49PM (#9926085)
Sharp tools are sharp.
Re:Bug in widely used OpenSSH opens servers to password crac... by rlpb on Wednesday July 22, 2015 @04:35AM (#9928362)
Why are you using a circular saw to cut your fingernails?