News for hackers. Stuff that matters.
Re:AdultFriendFinder was hacked by kpdyer on Sunday November 13, 2016 @12:19PM (#12944360)
I agree that password-typo tolerance may seem like a horrible idea on the surface. The "str to lower" approach is an especially aggressive way to increase usability.

However, there's recent work [0] from Cornell that explores the security-usability tradeoff when correcting password typos. It turns out that accepting specific classes of typos (e.g., caps lock on: if password is "Password" then allow "pASSWORD") can increase usability with minimal security impact.

[0] https://www.cs.cornell.edu/~rahul/projects/pwtypos.html

Re:AdultFriendFinder was hacked by solatic on Sunday November 13, 2016 @01:43PM (#12944847)
Case insensitivity is pretty Anglocentric. Much more interesting would be keyboard layout insensitivity. As an Israeli developer, if my password is, say, asdf, then from a usability viewpoint it would do me wonders if שדגכ would also be accepted, as I'll be writing something in Hebrew, switch to a different page, click a link that brings me to a login page where my username is saved, whoops just entered my password on the Hebrew layout by accident.

Reporting caps lock usage and not also keyboard layout usage is a pretty bad usability hole IMO.

Re:AdultFriendFinder was hacked by eropple on Sunday November 13, 2016 @03:38PM (#12945522)
I've been out of the web game for a while - does the browser report what your keyboard layout is?
Re:AdultFriendFinder was hacked by DCoder on Sunday November 13, 2016 @03:51PM (#12945590)
Browser language preferences, yes. Keyboard layout, no. For one thing, layout names vary between OSes, for another, custom keyboard layouts are a thing... However, you can try and read individual keypress events and see which printable characters are generated for which key codes.
Re:AdultFriendFinder was hacked by gumby on Sunday November 13, 2016 @08:13PM (#12946798)
FWIW on my iphone I use the English layout (qwertyuiop) for all roman-alphabet languages I use, since spelling correction language is connected to the declared "language" (a strange yet sensible overloading).
Re:AdultFriendFinder was hacked by hammock on Sunday November 13, 2016 @01:48PM (#12944875)
>if password is "Password" then allow "pASSWORD"

Facebook does this, in case you weren't aware.

Re:AdultFriendFinder was hacked by r00fus on Sunday November 13, 2016 @05:24PM (#12946041)
I thought case insensitivity was only for the first character?
Re:AdultFriendFinder was hacked by PwdRsch on Monday November 14, 2016 @02:02PM (#12952320)
They do try changing the capitalization of only the first character, but also invert the capitalization of all the characters in the supplied password. http://www.zdnet.com/article/facebook-passwords-are-not-case...
Re:AdultFriendFinder was hacked by abluecloud on Sunday November 13, 2016 @03:09PM (#12945351)
eugh. really? If true, I'd imagine they do it to appease mobile users.
Re:AdultFriendFinder was hacked by bigiain on Sunday November 13, 2016 @05:23PM (#12946030)
At Facebook's scale, I'd bet someone has research and evidence of 7 digit per year reductions in support costs by making capslock (or forgotten capitalisation) problems "go away"...
Re:AdultFriendFinder was hacked by Godel_unicode on Sunday November 13, 2016 @05:27PM (#12946066)
Why would you imagine that? In my experience, it's much harder to turn on caps lock by accident on mobile.
Re:AdultFriendFinder was hacked by gruturo on Monday November 14, 2016 @05:51AM (#12948897)
The first character is often auto-capitalized in many input fields by your mobile browser.

If a field is properly declared to be a password field (<input type="password" name="pwd">) of course ideally this wouldn't happen (plus, the characters get masked with stars, and hopefully what you type doesn't end up in your autocorrect dictionary, etc etc) - but it's full of shitty browsers out there.

Re:AdultFriendFinder was hacked by Godel_unicode on Monday November 14, 2016 @01:55PM (#12952259)
GP was specifically referring to caps lock inverse, not initial character capitalization (which I agree is more likely to be the problem).
Re:AdultFriendFinder was hacked by mamadrood on Monday November 14, 2016 @05:25AM (#12948770)
More like if your password has a caps in it and you forget it on mobile.
Re:AdultFriendFinder was hacked by baddox on Sunday November 13, 2016 @05:43PM (#12946150)
autocapitalize="none" on input elements works since iOS 5, and seems to work on modern Android based on a quick google search.
Re:AdultFriendFinder was hacked by darkhorn on Sunday November 13, 2016 @02:16PM (#12945044)
Too bad that web sites are very English centric. They ask for upper case, I enter Ö, they don't recognize it as upper case.
Re:AdultFriendFinder was hacked by Nullabillity on Sunday November 13, 2016 @07:01PM (#12946543)
Yup. Also fun when trying to get paid from Google Play. "Please enter your name exactly like on your bank statement", then refuses since my bank statement name contains an ö...
Re:AdultFriendFinder was hacked by toothbrush on Monday November 14, 2016 @06:45AM (#12949152)
Re:AdultFriendFinder was hacked by aduitsis on Monday November 14, 2016 @06:23AM (#12949044)
That's nothing!

My name in Greek has a letter with a double accent. Perfectly valid of course. But many (Greek) sites will reply that this NOT a Greek letter :)

Re:AdultFriendFinder was hacked by nsgi on Sunday November 13, 2016 @12:58PM (#12944574)
Or you could just show a message if the caps lock is on.
Re:AdultFriendFinder was hacked by alasdair_ on Sunday November 13, 2016 @08:27PM (#12946856)
How do you detect if caps lock is on with JavaScript in the browser?
Re:AdultFriendFinder was hacked by kpdyer on Sunday November 13, 2016 @01:04PM (#12944608)
That's a good idea but it doesn't work for other common typos: wrong case of only the first character, an extraneous character at the end of the password, etc.
Re:AdultFriendFinder was hacked by dogma1138 on Sunday November 13, 2016 @12:32PM (#12944437)
The problem is that it requires you to store multiple hashes while case normalization doesn't.

At least they do not strip special characters out of the password.

Re:AdultFriendFinder was hacked by kpdyer on Sunday November 13, 2016 @12:47PM (#12944529)
Actually, I don't think there's a need to store multiple hashes.

Here's one idea: Let's say the user's password is P. The user enters some password P' with a typo. The authentication check is "does H(T_k(P')) == H(P)" for some set of transformations {T_1, T_2, ..., T_n}. Each transformation T_i hypothesizes that the user made a specific mistake. (e.g., T_1 is the caps lock is on so we need to flip the case of all the characters)

Re:AdultFriendFinder was hacked by Cyph0n on Sunday November 13, 2016 @12:50PM (#12944542)
That caps lock case is a good one, but I don't really see other realistic instances where you wouldn't just say "username or password is incorrect".
Re:AdultFriendFinder was hacked by kpdyer on Sunday November 13, 2016 @01:02PM (#12944599)
A few other cases: transcription errors (i.e., mistaking 1 for l), wrong case of the first character of the password, extraneous character at the end of a password, etc.

The paper I linked to actually does a good job motivating specific classes of typos by looking at real typos from Dropbox users.

Re:AdultFriendFinder was hacked by praptak on Sunday November 13, 2016 @12:40PM (#12944489)
No, you can just store the original hash and try two times when matching.