02 November 2010

Password and Account Lockout Better Practices

OWASP Podcast Episode 76 with Bill Cheswick is a great discussion about using passwords for authentication and how account lockout affects both usability and user support costs.

Photograph of hundreds of keys apparently floating in mid-air inside an old building, one piece in Jilly Morris' exhibition 1,728,231 Steps at Highgreen, Tarset as VARC artist in residence 2009-2010

I can't recommend the OWASP Podcasts highly enough—Jim Manico's efforts combined with some guest hosts provide a steady stream of fascinating insights from application security experts. In Episode 76, Matt Tesauro interviewed Bill Cheswick (AT&T Labs) following his keynote at OWASP AppSec US 2010.

I recently mentioned password economics and use of popular passwords, and in both of those there is a common theme that password strength alone is not a sufficient measure of authentication security. Bill Cheswick gives a lively discussion of why passwords are often a "pain in the neck" and why they don't have to be like this; in fact "more fun, safer and easier".

He said users are not facing dictionary attacks on the passwords. Instead, they have to deal with key stroke loggers and phishing sites where it doesn't matter how complex your password is, and site owners should consider:

  • account lockout after something like 3, 4 or 5 incorrect guesses
  • use of a short lockout period
  • ensuring that duplicate errors (e.g. typing the same incorrect guess more than once) don't count against the lockout threshold
  • allow previously agreed trusted users (e.g. parents, spouses, teacher, carers, someone with power of attorney) to vouch for each other and allow them to create a password reset
  • make usernames hard to guess/find
  • use a standard authentication service so the logic does not have to be built again each time for new projects.

I would also add "allowing users to optionally view the password as they type", or at least view the last few characters, if they are in a safer location and are not being overlooked.

Posted on: 02 November 2010 at 09:10 hrs

Comments Comments (1) | Permalink | Send Send | Post to Twitter

Comments

Comments are filtered automatically and should appear shortly after they been checked.

Colin,

Thank you kindly for the "shout out". The OWASP Podcast is a labor of love, I promise to keep it running for many years to come.

Aloha!
- Jim Manico
1 Added by Jim Manico Posted on 03 November 2010 at 12:48 hrs
Post a comment
Confirm acceptance and understanding of the terms of use
New posts to this thread will be sent to your email address
Password and Account Lockout Better Practices
http://www.clerkendweller.com/2010/11/2/Password-and-Account-Lockout-Better-Practices
ISO/IEC 18004:2006 QR code for http://clerkendweller.com

Page http://www.clerkendweller.com/2010/11/2/Password-and-Account-Lockout-Better-Practices
Requested by 38.107.179.222 on Thursday, 17 May 2012 at 22:07 hrs (London date/time)

Please read our terms of use and obtain professional advice before undertaking any actions based on the opinions, suggestions and generic guidance presented here. Your organisation's situation will be unique and all practices and controls need to be assessed with consideration of your own business context.

Terms of use http://www.clerkendweller.com/page/terms
Privacy statement http://www.clerkendweller.com/page/privacy
© 2010-2012 clerkendweller.com