12 ms·
Finding Pwned Passwords with 1Password
- zie 9y agoWe just implemented this in-house today against our user logins, except we pulled the entire 30+GB data file locally, instead of doing the API callout like 1p does it. So far no owned passwords have been found! Highly recommend doing this.
- rootlocus 9y ago> except we pulled the entire 30+GB data file locally, instead of doing the API callout like 1p does it. Lucky for Troy he has a special arrangement with Cloudflare, otherwise everyone doing this would contribute to a massive bandwidth bill.
- zie 9y agowell, I used torrent, like he asks, if possible to please do.. But yes, thankfully he still provides a straight download thanks to CloudFare. We did it locally, because we are a regulated industry, and doing random calls out to the internet, especially from a authentication server, is all kinds of nightmare to make happen.
- moviuro 9y agoSee [0] [0] https://twitter.com/troyhunt/status/897571703202603008 https://twitter.com/troyhunt/status/897571703202603008
- dajonker 9y agoSo you mean to say that you store all your users logins with just SHA1, no salt?
- zie 9y agoLOL. EXACTLY! :) No.. @ password time, we do the normal path PLUS we take the plaintext password, encrypt it with SHA1, see if it's in the pwned database, if it is, warn user. Then we throw the SHA1 away. So sure, it's stored in memory as a SHA1 hash, briefly, but that same memory has the plaintext password...briefly so :) Our normal auth path just attacks AD, so we use AD as the primary store for passwords. After it's been in production for a while, and we see it's still working like gangbusters, then we will turn on that @ password change time, if it's in the DB, we will ban that password from being used. Probably in the next week or two, it depends.
- grinsekatze 9y agoI still don’t get why someone using a password manager would make up passwords themselves instead of randomly generating long and strong passwords... The way they implemented this is nice, but seems a bit pointless to me.
- davidcollantes 9y agoIt is pointless to me too. Yet, one of my co-worker told me: "Because even if not using crazy long random generated passwords, using a different one for each login is still a step in the right direction, and being able to remember 200 discreet passwords is hard for almost anyone." Boggles my mind...
- whichdan 9y agoLots of people may have recently switched to a password manager, and now use it to store old passwords that they haven't regenerated. It's very likely a common use case.
- wlesieutre 9y agoThis was me a couple months ago. Had one password that I reused on a bunch of websites where I didn't particularly care about security. Eventually decided to give them all stronger unique passwords (because why not) and it was a pretty easy process because the password manager could show me all the sites with duplicate passwords.
- r3bl 9y agoHeck, you don't even to switch to it recently! I've imported my passwords from Firefox's password manager to a dedicated one a few years back, and I've been generating new passwords ever since. There's still dozens of occurrences of the one-password-for-all-services I've used previously, because nobody will go through the hassle of changing passwords in hundreds of online services. I do change it whenever the autofill appears too short to be randomly generated, but I still didn't get rid of all of them. With that said, I'm not using 1Password and I've already checked my old password in Troy's service to make sure it wasn't in a breach.
- SlowBro 9y ago* Phase 1: Setup password checking site pretending to check passwords against stolen passwords. Steal all passwords inputted. * Phase 2: ??? * Phase 3: Profit (Downvoters, I'm only having fun, and yes I know this is a good source. But: Do be vigilant. It doesn't take a stretch of the imagination to suppose that this scenario could happen.)
- xigency 9y agoThe HIBP password check API uses k-anonymity so it is secure-ish to use. It's shown here under "How It Works."
- zie 9y agoFor sure, this is possible. But Troy Hunt is well known, and using his new v2 API, at most only 5 characters of the sha1 hash is sent across. Alternatively, like I did, you can download the 31GB file and do it all locally, and not involve network round trips. 1p is well known in the community for being pretty good with security, so the chances of them implementing this in a different way than they say they did would be severely damaging to their reputation. Once it comes out in local 1p apps, we can verify that they did do it the way they said they did.
- SlowBro 9y agoI'm only having fun but yes, I am sure it's a solid source. I have in fact inputted one of my weaker (common, low-impact forum-only) passwords there in the past. It was pwned.
- zaroth 9y ago5 characters of hex is 20 bits, meaning only about 1 in a million passwords will match the prefix, right? So you are giving someone a way to eliminate 99.9999% of their candidates for your password with that hash prefix.
- ReverseCold 9y agoThat's only if your password is weak. If no one's ever seen it before (generated by password manager) it wouldn't really help much.
- davidcollantes 9y agoI don't get it. I let 1Password autogenerate long passwords based on a very complex preferences setting. Why do I need this? It seems it is a proof of concept, and only available to 1Password subscribers, both of which are good, because I don't like it, nor want it.
- jaegerpicker 9y agoNot everyone uses autogenerated passwords. Not everyone uses a unique password.
- jsjohnst 9y agoEven with long random passwords, sites get compromised who have poor security regularly. Wouldn’t you want to know even if the site didn’t notify you?
- philfrasty 9y agoSlightly OT but anyone has a REALLY easy password manager solution? I tried migrating my entire family to a 1Password family account. Honestly for people with limited tech-knowledge even 1PW is still too complicated. - In 25% of the cases it does not save e.g. the username correct. Explaining my parents how to open the app, edit the login, etc. is just not gonna work. - they don't prefill logins (like e.g. Dashlane) so you either have to press the icon or do the keyboard shortcut. Again not suitable for someone who is not very technical. - On some sites (even big ones) the user/password inserting simply does not work. Explaining them how to open the app, copy user/pass, switch to browser... not gonna work. - generating random passwords and filling them on registration page does not work 100% either - using it on mobile is just horrible. Only thing I could come up with would be (on a Mac) the built in password „manager“. Any ideas? Hate people using their birthday as pw just because there is no easy solution to this problem.
- mbesto 9y agoI've heard Dashlane is more "grandma" friendly (albeit at the cost of some security).
- jondwillis 9y agoAs a dashlane user, these UX problems still apply.
- grinsekatze 9y agoI tried to convince my father to use a password manager and tried to explain that using the same 8 letter password for 75% of services is incredibly risky, but i got so much resistance from him .. in the end he wanted me to send him an article on why a password manager would be good. When I looked for something I could send him and thought about what I need to do to help him transition to using a password manager I realized that even though there are great services out there are I don’t want to be responsible for messing with his current way of doing stuff. So I let it go. I use keepassXC (actually MacPass, which is brilliant and has an HTTPConnecter plugin that can talk to the Firefox addon keepasshttp) and it works great. Maybe not as fancy as 1P etc but free and open source. On iOS I use MiniKeePass which also works well. This is the setup that I was going to suggest to him. Personally I find it not that complicated, just needs some time to get used to the routines.
- cjCamel 9y agoI don't use the subscription service of 1PW, but it's impressive that they got this out so quickly after Troy Hunt released it. I'd love to understand how they did this, especially given the additional security implications of this feature you would expect it to require reviewing, testing etc.
- reubenswartz 9y agoDitto. This is great. A shame that so many of the comments are a out why this sucks for a particular use case, instead of "well done!"
- Bud 9y agoYet another new service that 1Password is doling out only to those who buy into their new subscription model. Users who, like me, paid three times to buy the app for all their devices are left out in the cold. I still love 1Password, but this treatment makes me unhappy.
- jsjohnst 9y agoI think they said in the post that it was a prototype and would be built into the app later, no?
- wmeredith 9y agoYeah, I'm pretty annoyed with the subscription switch as well considering the investment I'd already made in their software many times over as a long time user. Sigh.
- dmbass 9y agoI don't see how you can be against subscription pricing for living software. You're paying the publisher/developers to continue developing and supporting the software and run associated services. It's the only sustainable model for long lived software and 1Password is good enough to be worth it.
- mvid 9y agoIn this case, the subscription service doesn't allow for local vaults. You need to be using the 1Password hosted cloud service to store your passwords. For most of us that is a nonstarter.
- eridius 9y agoThis isn't true. Open up Preferences, go to the Advanced tab, and there's a checkbox "Allow creation of vaults outside of 1Password accounts". Check this and you can create local vaults again. I believe it's disabled by default for 2 reasons: 1. Simplicity. Most people who use the subscription service don't want local vaults, because they won't be synced or available on the web (or subject to administrative controls). By disabling local vaults, you can't accidentally create one. 2. Once you re-enable local vaults, you have a local Primary vault and unlocking that is how you unlock 1Password on this computer. This is a potential point of confusion, because you'll be using a different password now than your 1Password Account password, which comes back to the simplicity angle.
- moviuro 9y agoBTW, I wrote a pass(1) extension to check your passwords at the HIBP endpoint: https://gitlab.com/moviuro/pass-hibp/blob/master/hibp.bash https://gitlab.com/moviuro/pass-hibp/blob/master/hibp.bash
- emilecantin 9y agoI'm interested, but this looks like it sends the full hash to HIBP. Perhaps you could upgrade it to the improved-anonymity version where we only send the first 5 chars?
- moviuro 9y agoI will probably do that, yes.
- Sir_Cmpwn 9y agoPlug: regenerating insecure passwords can be automated with pass-rotate: https://github.com/SirCmpwn/pass-rotate https://github.com/SirCmpwn/pass-rotate
- colorcoded 9y agoI use keepass, and I whipped up a quick script to look all the passwords in my keepass file against the hashes in the list. You have to download and unpack the file first. Here is my script: https://gist.github.com/martinhansdk/de8b27934adf9580aebf2e4746692e39 https://gist.github.com/martinhansdk/de8b27934adf9580aebf2e4... I got a bunch of hits, so time to change some passwords... EDIT: fixed link, thanks jstanley
- jstanley 9y agoThat URL is a 404 page, even with the trailing dots removed. I think this is the URL you meant: https://gist.github.com/martinhansdk/de8b27934adf9580aebf2e4746692e39 https://gist.github.com/martinhansdk/de8b27934adf9580aebf2e4...
- foobarbazetc 9y agoI’m a 1Password user but I’m never going to use the web version. Please make this available in apps. I don’t mind paying a subscription. I just don’t trust you to host all these vaults.
- bleachedsleet 9y ago”In future releases we’ll be adding this to Watchtower within the 1Password apps, so you can see your pwned passwords right in the 1Password app you use every day.”
- chapill 9y ago"Clicking the Check Password button will call out to Troy’s service and let you know if your password exists in his database." Wow, what a bunch of jerks. They didn't download the torrent and host the password database themselves for their commercial product? They instead make use of Troy's resource he's making available on his own dime. "Thanks Troy" indeed.
- tempay 9y agoThe cost of this is actually paid for by Cloudflare as they've donated CDN services to aggressively cache the API response, of which there is only 1 million possible responses. Plus in the comments they say it was only implemented this way to save time (it was done within 27 hours of Troy's service being announced) and Troy has publically supported this use.
- chapill 9y agoThanks for that explanation. It seemed like a real abuse of Troy's good will. I still hope they plan to migrate to their own hosted database quickly and not overstay their welcome.