Unofficial Hacker News companion — get notified on comment replies, and more.

Your family should have a shared two-factor authentication code (opens external site)

419 points by robin_reala 3 days ago | shkspr.mobi | 144 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (28)

  1. This doesn’t seem very practical.

    1. If I lose my phone, I will not have access to the 2FA app on the old phone. (And if I have access to the data from the old phone, I’d personally send an email from my established account.)

    2. Verifying the time-sensitive code isn’t doable if not done at the same time. The example of going over text seems pie-in-the-sky. And who answers a phone call from a random number.

    Having a non-rotating shared secret phrase seems much easier and more reliable. My family had used one growing up in the 90s in case my parents needed someone to pick us kids up. (I think it was something like “nana’s teddybear is blue”.)

    Replies (10)
    1. Yeah, likewise, my mother still remembers the passphrase she'd have used to authorize say, a neighbour to pick me up from school last century.

      I would definitely answer calls from "a random number". I would be suspicious of course but sometimes the call explains itself. Example. I book grocery delivery for the cheapest remaining slot 22:15 on a Thursday. At 21:40 or so I get a call from an unrecognised number, it's the driver, who is wondering whether he can just deliver my groceries now (and presumably go home, paid for the whole day's work) or he has to wait around until 22:15. I confirm that I'm home and don't care when the groceries are delivered and I reiterate the instructions for correctly reaching my home without allowing your assumptions about the world to confuse you into pressing the wrong button (the entrance floor of this building is not its ground floor).

      Also I assume the scenario in the story is text not speech.

      Replies (1)
      1. Answering calls from random numbers can be risky. There are a few services out there that use voice recognition systems for authentication (Schwab, Fidelity, for a few examples), so letting someone record you can cost you time and money. Better to let everyone unknown go to voicemail.

        Of course, phone numbers can be spoofed because phone companies have been irresponsible, so even answering known numbers is somewhat risky.

        Double of course, you can and probably should not use these voice authentication systems. IMO they should be made illegal or too costly for anyone to use.

        Replies (2)
        1. > There are a few services out there that use voice recognition systems for authentication

          This seems like a fantastically bad idea even if you ignore recreating someone's voice using AI. This seems susceptible to plain old recording enough of someone's voice and cutting it to fit common responses the service will give you. Probably not a common attack vector for most people, but what if you have a small Youtube channel or whatever?

          Replies (2)
          1. Was about to say. So every single youtuber is vulnerable to this? Every single person who has ever said anything that has been posted online?
          2. Without AI entering the picture you could probably make it work with a repeat-after-me type system. I've seen too many systems that tried to piece together recordings, the transitions were never smooth. Remember the human interest bits in the early days of voice response: sound actors who spent months babbling at the system to get enough data so that things like Alexa and Siri would be able to speak smoothly.

            But Vanguard tried it for a little while with a stock phrase. It went away, I presume because someone was able to point out the replay attack danger. (Unfortunately, probably a black hat. Businesses tend to listen much better when something bad happens.)

        2. The first thing I thought of when you said that was: https://www.youtube.com/watch?v=CS9ptA3Ya9E

          I'm sure "Fidelity" would insist that somehow it was my fault they're incompetent but I do not think courts around here would agree. I am not a Fidelity customer, so not my problem.

          The next thing I thought of was the "Code Ten Abort" scene from the Bourne Ultimatum. Obviously the "voice lock" safe stunt looks cool and justifies having Bourne taunt the villain, so it makes sense in a movie - but in real life you can't imagine this works. Likewise "But what if bad guys use your voice to attack this crap voice authentication system" does feel a bit more "I knew a guy who said his friend knew someone it happened to" than a real problem. I'm prepared to be wrong about that though.

    2. "If I lose my phone, I will not have access to the 2FA app on the old phone."

      how can you not have backup of 2FA account ??? I can just re-export and moving to different phone easily

      Replies (3)
      1. have you used google authenticator? it sync with your gmail. sometime i lost my phone and lucky i had it :))
        Replies (1)
        1. Google Authenticator was good when it was the only token generator app around, but that was over 10 years ago. Every other app allows for import/export maybe even multi device support at the same time
      2. presumably there can be a large gap in time between losing your phone and getting a new one set up with all your 2fa accounts imported. In that time, your family has no way to authenticate that it's you.
      3. You're missing the threat model here: you receive a call claiming to be from your relative, who says that they lost their phone and can you please send some money for a cab. But they can't give you the 2FA code, because their phone is lost, and they can't get a new one until after you send the money... How do you tell if the call is legitimate? You live in a time where real-time voice fakes and forging phone numbers is near-trivial for scammers...
        Replies (1)
        1. You could ask them a question about your shared past?
          Replies (1)
          1. Yep, which is one of the alternatives that many people are suggesting.
    3. i often use google authenticator, it auto backup. you login your gmail on the new phone, it will load again for you
    4. > And who answers a phone call from a random number.

      Parents & people with elderly relatives who they are partial carers of.

      I live in the northeastern United States, but I used to live in the south, and still have an area code from there. Whenever I get a call from that area code, I know I can safely ignore it - but any call from an area code in the tri-state area could be someone calling about my child, or about my grandmother - and often is - and I can't just ignore it.

      Replies (2)
      1. I’d always ignore calls from unknown numbers when I was single and didn’t have kids. Now it can be someone from my partners work, or school or gym, etc.
      2. Now that people keep their telephone numbers forever, even the tri-state area isn’t a safe enough bet.

        The parents of my children’s friends have area codes from all over the US, dating back to whenever and wherever they initially signed up for a cell phone.

        Replies (1)
        1. Very true - but it's a "good enough" heuristic for now.
    5. You can use Ente Auth which stores your 2FA codes (E2EE)
    6. In reality this is very much doable, to be explicit its called TOTP (Time based One time password) and generated using a symmetric key which is shared between the user app and server. If you just save the text below the QR code (most apps show it), its as good as a shared password.

      At the same time as a security person I would recommend highly against depending on TOTP for security. These security strings are stored in plain by most of the service providers. Just imagine all the chaos going around with password outages on server side. You can take for granted that some one has already copies all these TOTP secrets from the server side if that company had any kind of breach in the past.

      Replies (2)
      1. I think it's more just the fact that you have a system in place. a password by default requires a higher degree of sophistication to attack than an unauthenticated website
      2. TOTP's strength is that you can verify ownership of it a very short string which does not reveal the passcode.

        Good point that you should be storing your TOTP's in 1password, some other encrypted store or on-device only.

    7. Yup, kid in the 80s and teen in the 90s. We had a family password that we'd use if we were leaving a note or similar. This was the pre cell phone era, so for example I'd commonly ride my bike downtown to the library, but if I decided to go somewhere else I'd leave my bike locked up at the library with a note because my dad would often pick me up after he got off work.

      It worked great and I don't think it really needs to be more complicated than that.

    8. Right, in which case, you verify personal things that strangers couldn’t easily guess. Which friend did you go to see last Saturday? Who’s your English teacher again?
    9. Yes, it does seem impractical to have to use a phone. I never had a password phrase with my own parents (and never needed one) but I now do have a password with my kids.

      I have yet to receive a scam phone call though. Do they happen often?

      Replies (1)
      1. We used to get a fair number of what I now presume to be scam calls. I had figured it was some idiot who sometimes didn't remember to dial the area code when calling grandma, but at this point I suspect they were scammers. I think age is a factor--it's much more likely to work against older people so they will target those they think are older.
    10. My mum and I have a physical one time pad I printed off, do not store digitally, and exchanged in person. Numbers, words. If there's anything sensitive I can ask her for one of the words, and she can do the same.

      It's not immune to some sort MITM relay attack (an AI imitating both of our voices), mind.

      If we ran out of codes I'd just go visit them with a new random pad with more codes.