Unofficial Hacker News client - receive Push Notifications on replies.

Nearly 2B credentials exposed in a publicly accessible database (opens external site)

295 points by basilgohar 1 day ago | www.expressvpn.com | 161 comments on HN | Vote on HN (opens Hacker News)

View full thread · View on Hacker News

Comment thread (48)

  1. Here’s a good easy way on keeping yourself secure in these type of breaches (doesn’t include for example if the saas itself is breached)

    -Unique email and password for each service

    -Activate 2fa and keep the 2fa in separate vault, not where your pass/emails are.

    - (extra) Use your own local/self hosted vaults for these two

    No passkeys, no SMS 2FA, no shared email, and even if any of these vaults get stolen from you, it’s useless without the other.

    Replies (6)
    1. > Here’s a good easy way

      ... proceeds to list things that would take the average person 30 hours to do.

      Replies (3)
      1. No, but even if: so they got to spend one weekend of their life to set it up, big whoop.
        Replies (1)
        1. I’ll let you know how my sister feels about spending a weekend setting up some computer bullshit instead of hugging her child next monday
          Replies (2)
          1. Ask her how she feels if her accounts got hacked because she didn’t set up some computer bullshit
            Replies (1)
            1. Before monday, miserable. After monday, warm fuzzies.
          2. If only she had a tech-savvy sibling who could do that in 10 minutes.

            Also vaccination is so much work, so why bother? She can always make another child.

      2. why would you give advice aimed at the average person to a forum of mostly tech people?
        Replies (1)
        1. Mechanics car never runs properly
      3. As much as I hate to sound like the typical HN nerd detached from reality, I think we're at the point where enough of our lives are now digital that we really need to be demanding more effort from average people to secure themselves.

        Unfortunately, security is hard and has an inverse correlation to convenience.

        Replies (3)
        1. I think that is the wrong attitude and expectation. Just like few who drive know how to set the dwell on their points today, the average user shouldn’t need to be a security expert. That’s why I think Apple’s ecosystem offers a big advantage in encouraging secure posture and providing sensible defaults and tools to make privacy feasible.
          Replies (1)
          1. I think cars are a good example of the opposite, actually. You need to demonstrate basic knowledge to even get a license. If you don't do basic maintenance, your car dies. If you don't follow basic rules, you die. You must pay for insurance. It's an expensive, arduous part of daily life that people put up with because the consequences of not doing so are very high.

            I never said you have to be a security expert, just like you don't need to be an automotive expert to drive.

            But the digital world is now arguably an even larger part of modern society and yet there's basically zero expectation that the average person knows how to do anything beyond point and click. Everything is designed to be as frictionless as possible, even when that friction might be warranted.

            And do normal people really benefit from this? Or do the megacorporations who have now become the arbiters of your identity benefit? And the governments which can pull their strings?

            Replies (1)
            1. Strongly agree. If people put the same lackadaisical, unabashed, shrugging incompetence to driving cars as they do to everything to do with computers/online:

              - People would make copies of their car and house keys every time they valet parked and leave them with every parking attendant to keep permanently.

              - People would never bring their car in for any type of service

              - People would leave their cars unlocked, windows down, keys in and motor running pretty much every time they parked it and still be super surprised every time it got stolen.

              - People would drive regularly in the oncoming lane, up offramps, forget whether the red or green light means "Stop" etc. and when they cause a crash or are otherwise called out, just shrug and say "Whoopsie! I'm so bad with cars!" If you tried to state the "drive on the correct side" thing or the traffic lights, they'd say "Oh boy! Somebody's a car nerd! Maybe I should call you when I have car trouble!"

        2. > Unfortunately, security is hard and has an inverse correlation to convenience.

          Doesn't help that current practice is optimizing for the wrong threat models for general population, and ends up making them less safe.

          What's more likely to deny access to your digital services - a cyber criminal cyber phishing your password? Or you cracking the screen on the phone with your 2FA app? Judge the probabilities from the POV of a regular non-tech person, and consider what security posture they should optimize for, vs. what current recommendations are.

          Passkeys in particular is just advice that puts people in harm's way, and frankly, half of the problem is the stubborn refusal of the security world to recognize that copying passwords between devices and sharing them with people is a feature, not a bug. It's how delegation of authority works in the real world, it's an important feature that makes the world work, and cyber security provides no sanctioned way of performing it, which is why people just share passwords.

        3. Demand all you like, average people aren't going to do it. You can either block them from using your service, have them go through your "I got locked out of my account" flow on a regular basis, put up with their accounts getting compromised on a regular basis, or come up with a technical solution that doesn't require more from them. Having average people actually put more into their own security online is not an actual option.
    2. why no passkey?
      Replies (1)
      1. Can I use passkeys and not be randomly fucked by a large tech company if one of their internal services decides one day it doesnt like me?
        Replies (6)
        1. i guess yall are referring to software passkeys? if so, i agree with you guys. when i see the term passkey i automatically think of physical passkeys. which i assume we all agree is pretty good, assuming folks have backups and handle them responsibly.
          Replies (3)
          1. > assuming folks have backups and handle them responsibly

            That is an extremely bad assumption to make.

          2. There was a post about physical keys being compromised on HN not too long ago.
            Replies (2)
            1. i cant find it, link?

              Continue this thread (1 replies) →

            2. Proper hard tokens haven't been compromised (at least not by people lacking electron microscopes) in a long time. Cryptocurrency hardware wallets unfortunately at present need more compute power than can be achieved with regular smart card chips, and as a result have been prone to various kind of vulnerabilities.
          3. "Physical Passkey" is kind of backwards. We began with hard tokens (smart cards) and FIDO2/WebAuthn. "Passkey" is a software emulation of those protocols. So "Physical Passkey" is saying physical implementation of the software emulation of that very same physical implementation.
        2. I have a stack of printed out recovery keys in my fire safe.
        3. Yes: self-host. I hope I'm not missing something.
          Replies (1)
          1. You still need a domain to receive emails, so you are still beholden to the domain registrar.

            And it seems like an increasing number of websites these days reject personal domains, or only provide Google sign-in.

            Replies (1)
            1. Not sure what you mean by websites reject, but I’ve used a personal domain via Google for a long time (soon to have to change) and I’ve only seen a couple of DMARC bounces in the last few weeks. A little DNS tweaking fixed that.

              Continue this thread (1 replies) →

        4. KeePassDX on Android can be used for passkey management. And you can sync and backup database as you wish

          I haven't tried desktop/browser apps from KeePassXC, I know bitwarden works

        5. bitwarden is pretty good and you can export the database with the passkeys if you want.
        6. I store my passkeys in the Strongbox app for iOS and Mac. They live in my same KeePass database as all my passwords. Completely self-hostable or sync with whatever you want. KeePass is a standard format of DB, so you should be able to also find clients for Windows, Android, Linux, etc.

          At least on Mac and iOS it supports using a third-party pw manager such as this to save passkeys into and to read from when you try to log in with one.

          Replies (1)
          1. passkeys include an attestation feature which allows providers to be banned from access. They already threatened the keypass developers with using it on them because they didn't like their passkey export implementation. Passkeys can also require biometric verification to use if the service requests it, and of course not implementing that can get your provider tossed using the same attestation block.

            https://github.com/keepassxreboot/keepassxc/issues/10407#iss...

            https://github.com/keepassxreboot/keepassxc/issues/10406

            It's good that KeePass has a standard format. You'll need it when you're eventually forced to transfer your passkeys to to Google/Apple/Microsoft just to login.

    3. Its always good to be on safer side. However its probably a better idea to demand for better security posture from the services that you use. Remember, no one is stealing your credentials from you (its not scalable), its the service providers which are being compromised.
      Replies (1)
      1. As an individual, you think sending angry emails to 500 non existant customer service departments is better than minimizing your risk exposure to those companies with password management?
    4. > -Unique email and password for each service

      How people do it in a non-painful (i.e. single click) way?

      Replies (2)
      1. I use myemail+#{service_name}@mydomain.com but that might just be a feature of Google email
        Replies (1)
        1. I wouldn't trust +tag as a security feature. It's nice for basic filtering, but it's trivial to detect, strip, reverse engineer. Use a proper catch-all domain and at the very least throw in some random numbers on each address.
          Replies (4)
          1. Why do I care if Amazon knows to strip the “+amazon.com” from my email address? First, you still need the whole thing to use it as a login. Second, they don’t actually do that. Stripping away the suffix is an entirely hypothetical form of abuse that I haven’t seen once in over 20 years of diligently providing obviously-uniquified addresses.
          2. > it's trivial to detect, strip, reverse engineer.

            Depends on the threat model. Simply dropping all messages that arrive at the base (ie untagged) address prevents blindly stripping it and protects you from the vast majority of spam.

            Agreed that reverse engineering (ie inferring that bob+amazon implies bob+microsoft) means this isn't going to offer any meaningful security against an attacker with even half a brain. But if you're using a password manager then using a properly randomized unique password for each account renders that largely irrelevant.

            If you're worried about some sort of password reset attack then simply randomize the tags in addition to the passwords since you're storing the email alongside the password anyway.

          3. And "Who" is doing that stripping?

            This "+tag" is only bad if:

            - The service, for whatever dumbass reason, accepts the stripped versions upon login

            - You make the tag's pattern trivially obvious

            The goal of an unique email is so that email can not be reused. If the email on pwnd service A is myemail+R5F0naZ54fpt, then the hacker effectively has 0.00001% information on how to get inside non-pwnd service B.

            And if service B suddenly sends you an email suspiciously missing its secret pattern, you just, like a normal user of email tags, presume it's phishing attempt, with preemptive auto-labeling. Because service B isn't made by a dumbass who strips the tags.

            This is a LinkedIn rant. Dumbasses. Everything they send IS spam anyways, so who cares, rot in the box.

          4. It's fine if "myemail" is not your primary email address, reputable services will not strip it, and then everything without the suffix only needs occasional review.
      2. Plenty of ways, but you can setup fastmail + vaultwarden api, and within the browser addon (or app) you can in a click generate a unique email (with your domain name too) and a password upon registration.
    5. Why not store the 2FA in your password manager ? 1Password’s security team doesn’t seem to have an issue with it..

      https://1password.com/blog/1password-2fa-passwords-codes-tog...

      Thread for the full discussion:

      https://news.ycombinator.com/item?id=40888201

      Replies (1)
      1. Just the principle of not putting all your eggs in 1 basket.
    6. i used to create unique email and have accumulated like 20 gmails. This week i tried to login few of them and all the email started asking for phone number and some of them ask for selfie. A few of them also got blocked. I haven't done any spam or anything like that.

      So, i don't recommend people to use unique email, especially gmail.

      Replies (1)
      1. Most people using unique emails use a masking service that aggregates all the alias emails into your actual inbox. Unique email addresses, not accounts.