Chris Kite Programming, Computer Security, Etc.

Are You a Brute-Force Enabler?

03.29.2009 · Posted in Passwords, Security

Jimmy Ruska has taken the time to combine data from 3 compromised-password lists, and the results are pretty interesting.

If an attacker can try just a single password against every user on your web application, he’ll compromise about 1% of them. Even with a fairly stringent 3-attempt lockout policy, about 2-3% of your users will be compromised.

More complex password requirements aren’t the answer here; many of the most popular passwords are at least 7 characters, and have 1 or more digits. Disallowing any passwords appearing on one of these lists would alleviate the issue, but seems like a pretty shoddy user-experience.

There is one way to prevent this site-wide brute force attack: do not give away a list of log-in usernames for your site! This attack only works if the attacker can enumerate all logins to your web app. This is an easy task for many sites, like Digg, where usernames are publicly plastered all over the site. Sites like Mint on the other hand, which use e-mail addresses for log-in, are immune.

The key point is that you should never reveal whether a particular e-mail/username is registered with your site. That means your “log-in failed” page should not indicate whether or not the username was correct, for example. If there is any way to determine if a given username is registered, an attacker can leverage that to pull off a site-wide brute force.

So, is your site enabling brute-force attacks? If so, now is the time to go change your architecture to stop this attack in its tracks.

5 Responses to “Are You a Brute-Force Enabler?”

  1. […] Chris Kite Posted in […]

  2. I am wondering which plugins you’re utilizing to prevent spam on your blog, as I didn’t see any here.
    I’m having small security problems on my most recent blog site and I would appreciate knowing about something more risk-free. Any pointers? Thanks.

  3. According to a blog update on IXWebHosting, they are currently experiencing issues where there is a brute force attack on the default WordPress login pages of their customers.

    • Why do people want to be wealthy? So they can buy everything they want and not have to work. Nothing wrong with that. So they can do good things for people they like, and bad things to people they do;n#8217&t like. Makes sense to me.The Tao of Frank

  4. Pretty! This was an incredibly wonderful post. Thank you for providing this info.

    Here is my homepage … test

Leave a Reply

SEO Powered by Platinum SEO from Techblissonline