Live data from Hacker News

I know someone whose 2-factor phone authentication was hacked...

williamedwardscoder.tumblr.com

61–70 of 75 posts

Re: I know someone whose 2-factor phone authentication was hacked...

#61

Earlier quoted context omitted.

Is it possible that the app runs in sandbox? Or is that already the case?

> Is it possible that the app runs in sandbox? Or is that already the case? Why does that matter?

So that other applications cannot steal the generated code. I think the easiest way to steal the code is to OCR a screenshot.

Re: I know someone whose 2-factor phone authentication was hacked...

#62

It annoys me that a trick is missed with the secure fob. Imagine that: the challenge screen includes the amount you are authorising and you type that amount into your secure fob along with the challenge code That's basically how the auth works on with my online bank. I get a small calculator sized device that reads my debit card. I have to enter the card pin, a challenge code from the online transaction, and the amou…

Does it read your card (magnetic strip) or it uses the card's chip for encryption services to generate the tokens? It's not the same thing. Card chips are not easy to clone and have more data than the credit card number.

Re: I know someone whose 2-factor phone authentication was hacked...

#63
post #62

It annoys me that a trick is missed with the secure fob. Imagine that: the challenge screen includes the amount you are authorising and you type that amount into your secure fob along with the challenge code That's basically how the auth works on with my online bank. I get a small calculator sized device that reads my debit card. I have to enter the card pin, a challenge code from the online transaction, and the amou…

Does it read your card (magnetic strip) or it uses the card's chip for encryption services to generate the tokens? It's not the same thing. Card chips are not easy to clone and have more data than the credit card number.

Good question. No idea :-)

Re: I know someone whose 2-factor phone authentication was hacked...

#64
post #61

Earlier quoted context omitted.

> Is it possible that the app runs in sandbox? Or is that already the case? Why does that matter?

So that other applications cannot steal the generated code. I think the easiest way to steal the code is to OCR a screenshot.

If you remember the great HN "iOS is faster; you're wrong because Android isn't slow" debate of a few months back, the primary reason that android runs slower than you'd expect is that apps have absolutely no access to each other's frame buffers. Apps can't take screen shots of other apps (for exactly this reason)

Re: I know someone whose 2-factor phone authentication was hacked...

#65
post #62

Earlier quoted context omitted.

Does it read your card (magnetic strip) or it uses the card's chip for encryption services to generate the tokens? It's not the same thing. Card chips are not easy to clone and have more data than the credit card number.

Good question. No idea :-)

are you talking about the barclays PINsentry? if so, it's a chip reader.

Re: I know someone whose 2-factor phone authentication was hacked...

#67
Bcrypt is no longer recommended.

NIST recommends PBKDF2.

In short, it appears that advances in hardware have made it possible such that bcrypt hashes can be efficiently computed.

http://en.wikipedia.org/wiki/PBKDF2 http://security.stackexchange.com/questions/4781/do-any-secu...

Re: I know someone whose 2-factor phone authentication was hacked...

#68

Bcrypt is no longer recommended. NIST recommends PBKDF2. In short, it appears that advances in hardware have made it possible such that bcrypt hashes can be efficiently computed. http://en.wikipedia.org/wiki/PBKDF2 http://security.stackexchange.com/questions/4781/do-any-secu...

Is this a troll, or are you misinformed?

Re: I know someone whose 2-factor phone authentication was hacked...

#69

Bcrypt is no longer recommended. NIST recommends PBKDF2. In short, it appears that advances in hardware have made it possible such that bcrypt hashes can be efficiently computed. http://en.wikipedia.org/wiki/PBKDF2 http://security.stackexchange.com/questions/4781/do-any-secu...

Please read your references...

    The bcrypt key derivation function requires a larger (but 
    still fixed) amount of RAM and is slightly stronger 
    against such attacks, while the more modern scrypt key 
    derivation function can use arbitrarily large amounts of 
    memory and is much stronger. (wikipedia)

    Basically they recommend PBKDF2. This does not mean that 
    they deem bcrypt insecure; they say nothing at all about 
    bcrypt. It just means that NIST deems PBKDF2 "secure 
    enough" ... On the other hand, bcrypt comes from Blowfish 
    which has never received any kind of NIST blessing (or 
    curse). (stackexchange)
The general consensus here over the past few months/years is that bcrypt is good enough, scrypt is probably better, and PBKDF2 is pretty good. And that ALL of them are much better than hashing+salt.

Re: I know someone whose 2-factor phone authentication was hacked...

#70
django-twostepauth (https://bitbucket.org/cogni/django-twostepauth/src/79bbf0ce3...) is a Django app that works really well and has an exampleapp that makes it as easy as can be to try out. Setting up TFA with Google's authenticator is a breeze.

Unfortunately, the release of Django 1.4/django-registration 0.8 (https://bitbucket.org/ubernostrum/django-registration/src/27...) complicates matters a bit, and I'm torn between figuring out a way to keep my TFA or just roll it back altogether and implement d-r, and see if it has support for TFA.

If you're using Django 1.3 with something else than the default password-hashing, you should check out django-TSA.

Post reply on HN