News for hackers. Stuff that matters.
Re:Security Notice: Linode Manager Password Reset by mrb on Friday April 12, 2013 @08:43PM (#5542014)
I have said it before: I have a hard time trusting Linode after the major March 2012 security incident (HN thread: https://news.ycombinator.com/item?id=3654110 ; my comment: https://news.ycombinator.com/item?id=5339799)

At the time they did not give much information. They did not do a follow up. They did not discuss plans to prevent the same type of breach. I am not surprised that today, they got breached again! sigh

And again, they are making the same mistakes. They are not giving much information. They are not going to do a follow up. Etc.

Re:Security Notice: Linode Manager Password Reset by zhoutong on Saturday April 13, 2013 @01:20AM (#5542661)
As a former developer of Bitcoinica, the most affected customer in the previous Linode incident at that time, I have to say that Linode's communication was extremely unresponsive. It took them 15 days to write a reply that is still full of ambiguity.

In the end they offered Bitcoinica one-year worth of services, which are basically nothing compared to the huge losses. I can expect 7 other customers to be treated similarly.

There were no details available at all. Not only they didn't follow up to the public, there's a shockingly lack of transparency to their affected customers as well.

Re:Security Notice: Linode Manager Password Reset by harshreality on Friday April 12, 2013 @11:13PM (#5542387)
In addition, the web interface lacks:

- 2-factor auth [1]

- X-Frame-Options [2]

- HSTS [2]

- Redirect from http to https prior to login. (if someone bookmarks the http url, for example, they can be mitm'd anytime they use that bookmark) [2]

These have been pointed out on the forums long ago (see cites) but have not been implemented.

[1] http://forum.linode.com/viewtopic.php?f=7&t=7639

[2] http://forum.linode.com/viewtopic.php?f=7&t=8764

Re:Security Notice: Linode Manager Password Reset by JshWright on Saturday April 13, 2013 @12:28AM (#5542536)
It doesn't always redirect...

If you visit http://manager.linode.com/session/index it'll happily let you log in via HTTP.

Re:Security Notice: Linode Manager Password Reset by flebron on Friday April 12, 2013 @08:51PM (#5542036)
Why do you think in both cases this was the result of some sort of mistake on Linode's part, versus an oversight on the part of the target?

That is, you use the expression 'they {linode} got breached', versus the more correct 'they {the customers} got breached'. How do you know that in both cases this was the case?

Re:Security Notice: Linode Manager Password Reset by asdfaoeu on Friday April 12, 2013 @09:06PM (#5542088)
The wording they use makes it sound like the attackers compromised some Linode service to gain access to a specific customers machine rather than that customer themselves being exploited. If it was just a compromise of that customer there would obviously be no need for this announcement or resetting of passwords. At the very least they don't know which it was.
Re:Security Notice: Linode Manager Password Reset by mrb on Friday April 12, 2013 @09:37PM (#5542176)
In March 2012, Linode acknowledged it was a breach of their internal systems, not the customers'.

Today, they are reseting the password of all customers, making it pretty certain this is another breach at the Linode level, not at the customer's level.

Re:Security Notice: Linode Manager Password Reset by raquo on Friday April 12, 2013 @08:56PM (#5542051)
If it was one customer's fault, why reset all Linode users' passwords?
Re:Security Notice: Linode Manager Password Reset by flebron on Friday April 12, 2013 @10:25PM (#5542280)
If you knew there was a cracker actively using your network, would you not take any other precautions other than changing the one password you know he used?

One could argue Linode was overzealous in resetting all passwords. Reasonable minds can differ.

Re:Security Notice: Linode Manager Password Reset by JshWright on Friday April 12, 2013 @10:50PM (#5542328)
That depends completely on the method of compromise...

If the compromise was due to a weak password that was brute forced, or obtained from the end user in some other way, then there is absolutely no need to reset every user's password.

The only time a 'reasonable mind' would think to reset everyone's password is if the attacker exploited some flaw in the underlying system, which could have given them access to arbitrary passwords.

Re:Security Notice: Linode Manager Password Reset by StavrosK on Friday April 12, 2013 @11:10PM (#5542380)
Yeah, it does sound like there's something to the story that they aren't disclosing, and it doesn't inspire confidence.
Re:Security Notice: Linode Manager Password Reset by mnordhoff on Friday April 12, 2013 @11:16PM (#5542397)
Malicious traffic doesn't make routers burst into flame. Customers get compromised on a daily basis at any large provider due to bad SSH passwords or WordPress vulnerabilities or whatever.

Assuming the virtualization system is trustworthy (which it is), that's not a problem. Assuming it's not trustworthy, they shouldn't be running a virtual hosting company and letting random strangers sign up in the first place!

Re:Security Notice: Linode Manager Password Reset by ceejayoz on Saturday April 13, 2013 @08:29AM (#5543193)
Any decently sized web host is almost certain to have crackers actively using their network at any time. AWS probably has thousands of instances running old WP installs that've been compromised.
Re:Security Notice: Linode Manager Password Reset by seany on Friday April 12, 2013 @08:59PM (#5542057)
The lack of transparency from them makes it impossible to know one way or the other.

The xen security issue is another example of this kind of opaqueness.

Re:Security Notice: Linode Manager Password Reset by akkartik on Friday April 12, 2013 @09:42PM (#5542186)
It just occurred to me that https://www.schneier.com/blog/archives/2012/04/password_secu... was in response to last year's breach.
Re:Security Notice: Linode Manager Password Reset by jameswyse on Friday April 12, 2013 @10:31PM (#5542292)
One of the comments[1] on that post has an interesting idea:

> "A server that I use for mail etc., deals with protecting its users from themselves by regularly attempting dictionary and bruteforce attacks upon its own password file. Any passwords that get broken get expired (forcing a change next login) and the user gets a (mostly polite) email explaining why their password was expired and how to avoid it happening again."

Thoughts?

[1] http://www.schneier.com/blog/archives/2012/04/password_secur...

Re:Security Notice: Linode Manager Password Reset by harshreality on Friday April 12, 2013 @11:31PM (#5542423)
If they're using pbkdf2, scrypt, bcrypt, etc., there's a much better option than attempting to brute force a database of salted passwords.

You could check a lot (depending on language speed) of common passwords whenever a password is chosen, or during login, when you still have the password in cleartext. When it passes the checks, set a flag for that user so that the check doesn't have to be repeated.

If it takes to long to do during login, have a counter that keeps track of where in a list of passwords the checker is at, and do N more each login.

Re:Security Notice: Linode Manager Password Reset by kijin on Saturday April 13, 2013 @02:03AM (#5542722)
According to [1], the 100 most frequently used passwords are used by 40% of people, and the 500 most frequently used passwords are used by 71% of people. So you can increase security for over half of your users simply by disallowing the 200 most commonly used passwords. This set of passwords is small enough to fit in an in-memory list, so you don't even need to use a database for that.

I don't think there's much need to check for common passwords at each login, provided that none of your users are allowed to use such passwords in the first place. You might get more security by banning IPs that try more than a few of those common passwords in a short time (it's a useful way to detect brute-force attempts), but in fact you should be banning any IP that generates more than a few failed logins in a short time.

[1] http://xato.net/passwords/more-top-worst-passwords/

Another measure I use on my webapps is calculating how many bits of entropy a password contains, and ban anything less than ~40 bits (the threshold depends on the target demographic). An 8-digit number has 10^8 = 26.5 bits of entropy. An 8-char lowercase string has 26^8 = 37.6 bits of entropy (unless it's a common word). A mixed-case 8-char string that also contains numbers has (26+26+10)^8 = 47.6 bits of entropy. This method has the advantage that I don't need to specify annoying rules like "one lowercase, one uppercase, one symbol, etc." Simpler passwords can be allowed if they are long enough, and complex passwords can be banned if they are too short.

Re:Security Notice: Linode Manager Password Reset by drostie on Saturday April 13, 2013 @04:35AM (#5542926)
The "unless it's a common word" thing is the problem, really. I tried to do a more Markovian filter at my work and it bombed -- nobody enjoyed trying to get around its entropy restrictions. All it did was assume that your next letter would be predictably "like" your last one, so "password1" would have just one domain change in it. I didn't even go through, e.g., John the Ripper's dictionary to build an optimized order for going through letters.
Re:Security Notice: Linode Manager Password Reset by kijin on Saturday April 13, 2013 @11:19AM (#5543490)
Ban common words. Ban common words with 1-2 numbers attached to the end. Ban common words with 1-2 letters replaced with similar-looking numbers. But unless your website deals with very sensitive information, I don't think it's an efficient use of resources to try to use a more sophisticated filter. Simply imposing a logarithmic delay between login attempts, and banning IPs / disabling accounts after a certain number of failed attempts, go a long way toward protecting any password that isn't in the top 1000.

"password1" is too easy to brute-force. "pAssword072" is not even in the top 10000, and therefore it is already stronger than at least 98.8% of passwords that are out there.

The idea is to allow weaker passwords for the sake of convenience, but compensate for their weakness by adding protections in other areas. For example, you might require users with weaker passwords to change their passwords more often, disable their accounts more aggressively when a brute-force attack is suspected, or use more rounds of bcrypt to encrypt their passwords. Some of these measures will be helpful even in the case of a database breach.