News for hackers. Stuff that matters.
Re:The “Cobra Effect” that is disabling paste on password fi... by gvurrdon on Sunday June 26, 2016 @01:47PM (#11981746)
Another one that is a great pain are the sites that insist upon asking for three letters from one's password to log in. This is all very well if one has an insecure password, but when I've created a 20-character password containing all the necessary characters then this makes it rather more difficult to enter the required values.
Re:The “Cobra Effect” that is disabling paste on password fi... by ezzaf on Sunday June 26, 2016 @08:43PM (#11983579)
I actually like this as implemented by one of my banks. The 'pick a few letters' part of the login is pulled from a list of secret question answers rather than the password itself, and is presented after successfully entering the password.

So my password manager enters my password, and then on the next screen I am asked for the (for example) 4th and 5th letters of the street I grew up on. The requested letters change and the question is pulled from a saved list of question/answer pairs.

I am not aware of how the bank deals with accessibility limitations of this system.

Re:The “Cobra Effect” that is disabling paste on password fi... by WorldMaker on Monday June 27, 2016 @02:26PM (#11988272)
But that doesn't solve the problem that all of that is still "Wish-It-Were-Two-Factor". Secret questions and secret answers are still passwords by a different name. (At this point I even keep them in the same password vault and am starting to pseudorandom generate them thanks to support lines treating them as passwords and giving people access to accounts based on easy to find knowledge.)

Instead of all the work banks put into chicanery around this secret question and answer security theater, they should just roll out real Two Factor and save us all some hassle.

Re:The “Cobra Effect” that is disabling paste on password fi... by ghurtado on Sunday June 26, 2016 @02:06PM (#11981834)
> three letters from one's password to log in

Could you explain how this works? I've never ran into this and I'm curious as to what it solves / they claim it solves.

Re:The “Cobra Effect” that is disabling paste on password fi... by takeda on Sunday June 26, 2016 @02:16PM (#11981897)
I never used them, but my guess they try to make one time passwords from your passwords.

They probably ask to enter e.g. 3rd, 6th and 8th letter of the password. Supposedly if someone logs it it supposedly won't be as useful, because next time it will ask for different letters.

Not sure why won't they use rsa keys or similar technology. Also if it is the way I think it is, then you know that your passwords aren't hashed on their servers.

Re:The “Cobra Effect” that is disabling paste on password fi... by ams6110 on Sunday June 26, 2016 @02:23PM (#11981938)
then you know that your passwords aren't hashed on their servers

This is the immediate alarm that went off in my head reading about this. I've never seen this before either and it sounds like an idea from someone who means well but doesn't understand what they are doing.

Re:The “Cobra Effect” that is disabling paste on password fi... by ghayes on Sunday June 26, 2016 @02:45PM (#11982042)
They could hash each combination. Probably reduces security, but not a dead giveaway.
Re:The “Cobra Effect” that is disabling paste on password fi... by ryan-c on Sunday June 26, 2016 @03:14PM (#11982174)
It would effectively be a dead giveaway. Exhaustively searching all combinations of three characters takes trivial time even in an excruciatingly slow hash.
Re:The “Cobra Effect” that is disabling paste on password fi... by tajen on Sunday June 26, 2016 @03:56PM (#11982394)
but it prevents MitM spying.
Re:The “Cobra Effect” that is disabling paste on password fi... by admax88q on Sunday June 26, 2016 @05:47PM (#11982920)
Hashing passwords is not done to prevent MitM, it's done to prevent/delay password disclosure if the database is hacked.
Re:The “Cobra Effect” that is disabling paste on password fi... by whiteandnerdy on Monday June 27, 2016 @12:32PM (#11987285)
Entering partial passwords prevents MITM. OP was just explaining how partials could be implemented securely by hashing each combination; he wasn't saying hashing prevented MITM.
Re:The “Cobra Effect” that is disabling paste on password fi... by stouset on Monday June 27, 2016 @01:22PM (#11987690)
So does TLS, without the ridiculous downsides.
Re:The “Cobra Effect” that is disabling paste on password fi... by reitoei on Monday June 27, 2016 @04:24AM (#11984831)
Yep, I think this is what happens.
Re:The “Cobra Effect” that is disabling paste on password fi... by TeMPOraL on Sunday June 26, 2016 @02:23PM (#11981935)
> Also if it is the way I think it is, then you know that your passwords aren't hashed on their servers.

Only if the developers are extremely lazy. A proper implementation would precompute a series of hashes for different subsets of the password and store them in the database instead. Similar to how Facebook stores both the password and its reversed-case form as a convenience feature for people who forget to turn their CAPS LOCK off.

Re:The “Cobra Effect” that is disabling paste on password fi... by boulos on Sunday June 26, 2016 @02:30PM (#11981978)
But how many subsets would you do? With enough of them (and particularly relative to password length) this would leak a lot about your password. For say an 8 character password, do these things ask you to enter more than 4 characters?
Re:The “Cobra Effect” that is disabling paste on password fi... by TeMPOraL on Sunday June 26, 2016 @02:42PM (#11982029)
On my >10 character passwords (I generally don't use shorter passwords with banking sites, so I don't know how the system behaves for short passwords) they ask for ~11 characters. Of course the login box can, and often ends up, being longer than your actual password, so it doesn't visually reveal the actual character count of your password. In my case they usually end up asking for ~5-7 "real" characters.

I presume a good implementation hashes and salts each "sub-password" separately. Since it's the server that decides which subset it wants, I don't think it reduces the search space, unless the hashing/salting algorithm is vulnerable to differential cryptanalysis (which it may be, I don't know this aspect of state-of-the-art hashing functions).

Re:The “Cobra Effect” that is disabling paste on password fi... by minitech on Monday June 27, 2016 @01:40AM (#11984371)
It's a huge detriment to security. You can break sets of 5-7 characters at a time and combine them instead of having to break the entire password at once.
Re:The “Cobra Effect” that is disabling paste on password fi... by TeMPOraL on Monday June 27, 2016 @04:13AM (#11984805)
Seems like a tradeoff. What's more likely - that a bank loses its password database, or that some customers find themselves infected with keyloggers?

Also in any bank that's even remotely sane this is just one leg of a 2FA; often a kind of a "delayed" 2FA - where one factor is enough to get you mostly "read-only" access, and any important changes or wiring actual money requires one-time SMS codes.

Re:The “Cobra Effect” that is disabling paste on password fi... by minitech on Monday June 27, 2016 @05:37PM (#11989712)
Any bank that's remotely sane with regards to website security (probably rather few of them) doesn't do this at all and uses standard forms of 2FA. This one doesn't even protect against keyloggers, because they can combine the characters from multiple logins to get the full password (guessing the remaining ones if necessary) and because the password might be reused somewhere else, and they try this at the expense of user convenience (counting characters is annoying) and security in the event of a leak involving password hashes (if they hashed them at all).
Re:The “Cobra Effect” that is disabling paste on password fi... by jandrese on Monday June 27, 2016 @04:17PM (#11989134)
In today's environment? Probably the bank losing its password database.
Re:The “Cobra Effect” that is disabling paste on password fi... by kevincox on Monday June 27, 2016 @02:53PM (#11988510)
I understand what you are saying, but I suspect that fb doesn't store multiple hashes but just recomputes the hash entered a couple of times on failure.
Re:The “Cobra Effect” that is disabling paste on password fi... by gvurrdon on Monday June 27, 2016 @09:26AM (#11985999)
Yes, that's how they handle it.

I agree that they probably haven't hashed the password. Any time that I complain about this sort of thing the company agent usually doesn't know what I'm talking about.

Re:The “Cobra Effect” that is disabling paste on password fi... by TeMPOraL on Sunday June 26, 2016 @02:19PM (#11981914)
I think GP is referring to the practice of asking you to type some amount of random characters from your password. It seems to be popular with banks nowadays. The field looks like this:

    [ ][X][X][ ][X][X][ ][X][ ][X][X][ ][ ][X][ ]
(you enter characters in the blanks)

The idea is supposedly to protect people from keyloggers. But the side effect is that more sophisticated passwords get excruciatingly annoying to type in.

Re:The “Cobra Effect” that is disabling paste on password fi... by smaddox on Monday June 27, 2016 @12:10AM (#11984173)
Doesn't this also imply that the bank is storing plaintext passwords instead of salted hashes? I'm pretty sure I would not use such a bank.

Edit: Just saw that others have already brought this up below. Sorry for the redundancy.