An unofficial, read-only Hacker News reader.

1Password Security Incident (opens external site)

1714 points by lxhrstn 3 days ago | 1password.com | 732 comments on HN

View full thread · View on Hacker News

Comment thread (36)

  1. In 1Password's case, the true catastrophe scenario is if the frontend gets compromised, at which point attackers can exfiltrate master keys as users type them in.
    Replies (2)
    1. That's exactly why I don't use these products
      Replies (2)
      1. In that spirit, I wonder at which skill level "rolling your own" is the more secure choice. Obvioisly mom and dad can't, since even if they ask an AI to do it, it would use a standard architecture with standard libraries and standard flaws that standard attacks (other AIs) could easily exploit. But obviously an expert could. With AI help for the boring chores but they are in charge. Don't open source it, just run it locally, away from the spotlight. How expert does one need to be to have a resulting security that is higher than the constant worry that the widely used tool might be compromised at any single day?
        Replies (3)
        1. > But obviously an expert could

          I don’t know that they could.

          Replies (1)
          1. Why could someone not roll their own password manager? Doing it securely with sync is definitely not trivial, but it’s also not rocket science. Like maybe store entries in a SQLite db on Dropbox, encrypt everything you care about keeping secret with the master password, and decrypt on client. I suppose you are still vulnerable to anything that can read the process memory, I guess you would use Secure Enclave or something similar to mitigate that. None of this seems out of reach or a reasonably competent developer. Am I missing something?
            Replies (3)
            1. Why not use pass? https://www.passwordstore.org/

              It's as simple as it gets…

              Continue this thread (1 replies) →

            2. > Am I missing something?

              Probably. As would I.

              Continue this thread (1 replies) →

            3. Rolling your own encryption (or cryptographic protocol in this case) is notoriously full of footguns.

              Continue this thread (4 replies) →

        2. It's not actually that big a deal if you scope the problem properly. For example, not having anything online to attack is a great start. My passwords are generated by a tool I wrote that I use locally and there is no sensitive information saved. In order to get anywhere you'd have to compromise my local tool to steal my master passphrase, or you'd have to be able to brute force my derived passwords because of a flaw in my scheme, which involves a sha256 of the metadata about a site plus the master passphrase.

          The effect is that there's no vault and my password security is based on information that's entirely in my head. I'm trusting in the strength of some fairly mundane cryptography, but also: it's just passwords for online services (the most important of which have 2fa).

          Replies (1)
          1. I hope you don't mind me asking .. so your tool doesn't actually save anything, you are only inputting a seed essentially which is the name of the service? How do you ensure that you enter it the same way every time? Normalization goes only so far (force case, remove whitespace, ...) and can't account for things like spelling differences. How do you deal with potentially not remembering?
            Replies (2)
            1. I've used this kind of password generation in the past: nothing is stored, the tool just computes the password of a website by hash(master_key, website_domain).

              This works, until a website (or a corporate IT admin) requires to change your password.

              Continue this thread (2 replies) →

            2. If I don’t remember, I get a different, wrong, password. It’s that simple. Unforgiving UX but not fatal.
        3. To match what you get with a password service, you need synchronization between devices and backups. That adds an attack vector for the server and backend APIs that power it. I'm hesitant to be believe that I can reliably match the reliability and security of a company that is actively monitoring for attacks and maintains multiple tiers of online & offline backups. Similar to why I wouldn't want to replicate Google Drive or especially Gmail.
          Replies (3)
          1. Maybe it depends a little on the features you would need and the convenience factor. You could for example do the sync only when you are at home, not opening anything up. And if you leverage sth like git you wouldn't need to re-implement that. And you would get replicas for free, essentially providing you with continuous backups.

            > reliably match the reliability and security of a company that is actively monitoring for attacks

            Well with the flurry of incidents recently, and unclear future, that's the detail that could be tipping the scale. See original article.

            Replies (1)
            1. Using Git for vault backups hadn’t crossed my mind, that’s seems like a great middle-ground solution.

              I used to run the local version of BitWarden (VaultWarden), but I became paranoid about the backups in general. I should revisit it!

          2. When I’ve daydreamed of writing my own 1p replacement (from reading this thread, I guess I’m not as unique as I believed), my solution has been to replace cloud storage with cloud discovery. Syncthing does this. If the server on the internet is stateless and only serves to connect two clients who then talk to each other using encryption based on pre-shared keys, you get sync with a much smaller attack surface. Even if the server is hacked, the clients are responsible for authenticating each other, so there’s not much damage a compromised discovery server can do other than make the sync process fail.

            The trade-off is that sync only happens when both devices are online at the same time, so there’s no asynchronous replication. But between keeping my most sensitive data on a server somewhere, even if it’s encrypted, and forgoing asynchronous replication, the latter is far more preferable to me.

            Replies (1)
            1. What does this scheme gain in security over one where vaults are client-side encrypted and servers store and synchronize vaults as opaque blobs, or mildly structured rows of blobs?

              Continue this thread (1 replies) →

          3. I’ll comment here a similar thing I said elsewhere in the thread about “scoping the problem” — synchronization becomes quite easy and low stakes if the thing you are synchronizing isn’t sensitive. I send around a config file that describes what sites I care about. I email it, copy/paste it, check it into github. Easy enough. Technically this is PII but so is lots of stuff I handle with this level of care. The thing that matters is that absent my passphrase, it isn’t security sensitive authentication info.
      2. This is not unique to 1Password but any password manager and the compromise does not have to emanate from the password manager software and could instead come from something like another infected version of Notepad++ that is a credential stealer that is password manager aware.

        Any software you haven't fully vetted yourself can compromise your password manager, including OS vendor updates.

        I know I would rather 1Password that puts all their eggs in one basket and watches that basket carefully than Keepass and its disparate ecosystem developed by multiple different authors with no consistency in its security. There's no doubt this incident, which I wouldn't say is a nothing burger, but something along the lines of milquetoast will see a surge of stricter security processes across the board as goodwill and confidence from users is the bottom line.

    2. This is a very good point, it also assumes that all users are hyper updating their products or have auto updates enabled, which is a separate topic for debate and one that I think is over emphasize. Ie that auto update enabled must be the default (i.e. you must always immediately update all apps and auto update should be enable)
      Replies (2)
      1. >This is a very good point, it also assumes that all users are hyper updating their products or have auto updates enabled

        If that's the default, most do. And it doesn't matter if everybody is "hyper updating" or not anyway. It's enough that they update within any span of time, months even, as long as the compromise isn't discovered yet.

      2. My employer enables auto updating for 1password.