blakeross.com blakeross.com
February 19, 2005

Earlier this month, I wrote about a project I started with Dan Boneh in 2003 called PwdHash. A draft of our paper is now available. A couple people had questions about how the plug-in works, so hopefully this takes care of those.

7 Responses to “PwdHash paper available”

  1. David Tenser Says:

    This plug-in is interesting in theory but probably infeasible in practice. No matter how small the changes to the user experience are, it’s hard to train users to change their behavior. The thing that would probably be hardest to understand is when to hash and when to not hash the info that is entered in password fields. For example, if you’re changing from a non-hashed password to a hashed password, you must double-click on the old password field to force sending it in plain text. However, if you’re changing from a hashed password to a new hashed password, you shouldn’t double-click on the old password field. This is something that I think would be very hard for users to actually understand.

    More importantly, I see one major problem with PwdHash, and that is decreased mobility/accessibility.

    For example, if this plug-in is used in your favorite browser at home, you can no longer access the password protected sites in other browsers. The paper explains how Remote Hashing could be used as a workaround for this problem, but that is certainly not a seamless solution and require dramatic changes to the user experience. The user would have to visit two sites in parallel, the one that she actually wants to login to, and the Remote Hashing site.

    There is also a security risk here if you’re using a public computer. After visiting the Remote Hashing site, your hashed password is stored in the clipboard. Anyone using the computer after that will have access to the password, unless the user remembers to clear the clipboard after logging in. Again, fundamental changes to the user experience.

    Perhaps an even better example of decreased mobility is if you use your cell phone to login to some sites. Then PwdHash will not work at all, since most cell phones don’t even support JavaScript, making the Remote Hashing workaround impossible to use.

    The user would essentially depend on the PwdHash plug-in or, at the very least, a JavaScript enabled browser with Remote Hashing ability. The latter would, simply put, be a pain to use and would lead to the user not choosing a browser that lacks the PwdHash plug-in. In the end, this would reduce the freedom of browser choice.

  2. Miles Libbey Says:

    How well does pwdhash work with passphrases? Robert Hensing of the Microsoft PSS Security Team has been suggesting the use of long phrases since last July
    http://weblogs.asp.net/robert_hensing/archive/2004/07/28/199610.aspx
    though I’d guess that very few users have converted. I’d also guess that while win xp may be compatible that example.com may not be. Thus, I’d think that including a section about hash length would be valuable. It would be especially valuale to know what happens if a site has a smaller password length limit than the computed hash.

    Similarly, a section on prediciting the time it would take to do a dictionary attack on a password (similar to Hensing’s blog) would add value to the paper.

  3. Blake Says:

    David,

    You’re right, but as I said, v1 is focused on the technology, not the user experience. We could certainly make the experience easier in the case of resetting old passwords–just keep timestamps and do it automatically. The remote computer scenario is harder to solve.

    -Blake

  4. adam Says:

    Are you planning on rewriting pwdhash for firefox?

    Also, if it is released for firefox, will it work with portable firefox (http://portablefirefox.mozdev.org/), because that would help a lot with remote computers.

  5. Eric H. Jung Says:

    Ian and I have already implemented pwdhash for Firefox. See http://passwordmaker.mozdev.org. I introduced a couple bugs into the on-line version today and haven’t been able to fix them because mozdev CVS is down.

    We welcome all of you to the passwordmaker project; please join the mailing list and start contributing!

    Thank you,
    Eric H. Jung

  6. Blake Says:

    Eric,

    PasswordMaker is very neat. Thanks for the reference.

    However, it’s not really PwdHash for Firefox. What made PwdHash so difficult to implement was figuring out how to solve this problem without changing the UX. We did this by using the memory mapping and substitution model outlined in the paper. As I understand it, PasswordMaker changes the UX pretty drastically.

    –Blake

  7. Eric H. Jung Says:

    Hi Blake,
    I’m trying to understand exactly what you mean. I read some of your paper, but not all of it. It seems to me you are saying you don’t want to change user behavior, right? (Is that was UX stands for? I’m not familiar with that acronym).

    If that’s the case, version 0.3 of passwordmaker is scheduled to have an option to “auto-populate password fields in HTML forms”. Note that, unlike Firefox’s built-in password manager, passwordmaker doesn’t store a list of passwords locally (just one master, which is encrypted).

    The code’s for that part of it is yet to be written, and we could definitely use help, so if you or anyone else is interested in assisting, we’d be grateful.

    -eric
    p.s. if I’ve misunderstood what you mean by “without changing the UX”, please let me know…

Leave a Reply

-->