I‘ve been using unique passwords and totp for some time but I get uneasy whenever I use my phone as a mfa. The reason is the worry about losing it and potentially getting locked out of my accounts.

Searching for best practices didnt help so far. Thats why I turn to you.

So far I have my password vault and my phone with an authenticator app. I may have stored two backup codes somewhere but I wouldnt find them, ever. Especially not in panic mode.

Since mfa should actually not be on the same device or at least require different things (password and biometrics) I dont think using the totp of my vault is a great idea, right? Or only if I configured the mfa to ask for a pin while the passwords ask for biometrics or something.

If I did this I‘d still lose everything if the vault got lost but thats what backups are for. This solution does not include the mfa (or backup key) to my vault though.

Ideally, I would put it in an actual vault but so the single point of failure probabilities keep increasing.

Any pros here that solve these binds regularly? Whats the best practice? Is there a 3-2-1-backup equivalent?

Edit: btw here is what I found. The encrypted text on paper idea is pretty good but seems very complex. https://security.stackexchange.com/questions/76464/best-practices-for-usefully-storing-two-factor-authentication-backup-codes

  • TCB13@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    4 months ago

    Since mfa should actually not be on the same device or at least require different things (password and biometrics) I dont think using the totp of my vault is a great idea, right?

    Totally agree with you. NEVER ever have your TOTP inside your password manager, most people overlook this small detail.

    One thing you can do is export all your TOTP secretes / QR codes to some cold storage medium, like a flash drive, encrypted in some way and store that safely somewhere. To be fair, even if you don’t encrypt that flash drive since it is offline you’ll be safer.

    • haui@lemmy.giftedmc.comOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Pretty awesome insight. Thanks. Do you happen to know any books about security philosophy so to speak? I mean best practices in cybersec but mostly how to think about ideas and how to implement those in business and or at home?

      • TCB13@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        Not much to be fair. The majority of works on that field are simply bullshit written to sell frameworks and ideias that will lead enterprise customers to buy overpriced “solutions”.

          • TCB13@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            Maybe we should look for literature on common sense, may be more productive than those about security. At the end of the day most security is indeed about common sense and about picking the simplest approach to complex problems. Reading into general “physical / property security” also provides good insights for digital security.

  • brudibanani@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 months ago

    Use an mfa app which supports import/export of backups. To name atleast one popular open source example: Aegis.

    Do backups, than you can always fairly easy and fast restore your backup after loosing a device. Usually thats enough as in most (not business relevant use cases) you do not need mfa within minutes.

    If you want to go one step further you can prepare an old phone with your mfa data and store it in anywhere in your flat/house and use it as drop in replacement after loosing your actual phone. Or you could setup your mfa app on a seperate phone of your mom/friends/son/daughter, if you dont have an old phone lying around.

    • Adda@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Aegis is so great especially because it allows you to set an automatic backup every time you add a new TOTP. This way, a backup is made immediately after modifying the MFA vault, stored in your phone storage, where it can be grabbed by your synchronization system of choice (e.g., Syncthing), replicating the backup on your other devices, for example. This way, you can rest assured you will always have your MFA vault no matter what.

      • headroom@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Do you need to externally encrypt the data or at least you the password field when syncing with syncthing? I mean, the traffic is encrypted already but still doesn’t feel right.

        • Adda@lemmy.ml
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          Syncthing encrypts the data, so it will be encrypted when being transferred. However, Aegis can export the vault into an encrypted file, too. So the vault file you will be transferring over an encrypted channel is encrypted itself as well. That means that the vault is secure even when at rest on some device.

  • SterbenDeathGun@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    I use Proton Pass and Ente Authentication (2FA).

    I can’t access my Proton Mail without my 2FA, additionally I can’t even access my 2FA without my email address (verification code is sent to my mail to unlock my 2FA codes + I need the master password). If i lose one of them I am screwed you would say, but it’s not the case.

    What I did is to write down my Proton Mail Password and its secret code for 2FA + My Ente Authentication credentials (mail + master password). This way I will always be able to access my Proton Mail, even if i lose access to my 2FA app.

    This is the worst case scenario, i also have a second phone where i keep Proton Pass and 2FA logged in, so if I lose my main phone, I am not completely locked out.

      • SterbenDeathGun@lemmy.ml
        link
        fedilink
        arrow-up
        2
        ·
        4 months ago

        I forgot to mention it, i use Aliases for everything, even my 2FA has one. This is basically hack proof, because they will never know the true email address (if they get the hand on my alias) where i receive the verification code. 👍

        The only way they could steal your data is if they hack in your smartphone, or if you connect to shady Wi-Fi. Stay Safe Boys!

  • LucidBoi@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    4 months ago

    I use two separate KeePassXC databases. One for passwords and one for TOTP. They are being synced on my devices using Syncthing.

    • haui@lemmy.giftedmc.comOP
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      Very awesome! I think we‘re getting somewhere on the „whats the best practice?“ thing. Having two separate databases isnt very hard to do but it is rather secure i suppose.

  • jqubed@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    4 months ago

    I’m no expert but I think the best practice is generally to keep the backup codes in a non-electronic format in a secure location, such as on paper stored in a fireproof safe or a bank’s safe deposit box. You wouldn’t forget that location. It’s not a cheap solution, though, and a safe deposit box limits you to the bank’s operating hours only. Using your backup code is typically pretty rare, though.

    I would not use the TOTP offered by your password vault, though, especially if the vault backs up to multiple devices or the cloud.