Have You Been Pwned? - Computerphile

  Рет қаралды 480,890

Computerphile

Computerphile

Күн бұрын

Пікірлер: 734
@thehypest
@thehypest 5 жыл бұрын
Another great video from Dr. Mike Pwned
@otakuribo
@otakuribo 5 жыл бұрын
His business cards should read "Call Pound before you get pwned."
@adrunkzebra6095
@adrunkzebra6095 5 жыл бұрын
Welp looks like we have your nickname Dr. Pwned
@ManuLeach
@ManuLeach 5 жыл бұрын
@Stay EZ My Friends I think you've misunderstood how it works. You hash the whole password, but only send the first few characters of the hash. Then, any matching hashes are sent to you, for you to compare with the full hash to see if any of them are your password. There are no changes to the input.
@ManuLeach
@ManuLeach 5 жыл бұрын
@Stay EZ My Friends that's entirely possible. My understanding is that the avalanche effect means that the hashes of "000" and "001" and "010" will be very different. Just by changing a single bit, you completely change the output. If I'm right about that, I don't see how it has any effect on how this checks passwords.
@ManuLeach
@ManuLeach 5 жыл бұрын
@Stay EZ My Friends I don't see your real examples. My understanding of how this works is that you hash your *full* password, then send the first few digits of the hash. It then compares those digits to the first digits of the hashes of *entire* passwords. Any matches, it sends back the full hashes, for you to compare with your full hash. I see nowhere that the avalanche effect comes into play, as you're always hashing the full password.
@andrewrobertson1473
@andrewrobertson1473 5 жыл бұрын
I feel like Dr. Pound was not at all surprised by the people who used correcthorsebatterystaple, yet somehow is still disappointed by them.
@GummieI
@GummieI 5 жыл бұрын
I was actually surprised that it didn't have more results than it did really
@elemist315
@elemist315 5 жыл бұрын
This ability is one of the racial bonuses for English characters
@altaccount8749
@altaccount8749 5 жыл бұрын
"Horsecorrectstaplebattery" is my choice of password
@Xilefian
@Xilefian 5 жыл бұрын
"Pwned? If I'm wrong then I'm a noob" - Mike knows what's up.
@hakology
@hakology 5 жыл бұрын
'if you think you know everything, you're not trying hard enough' - H.D.Moore .... everyone is a n00b.
@Einyen
@Einyen 5 жыл бұрын
@@hakology I know just enough to know how much I do not know...
@darleschickens7106
@darleschickens7106 4 жыл бұрын
Ahhhhh it’s like 2006 all over again
@Chocwish
@Chocwish 5 жыл бұрын
Sweet that the hash for "iloveyoukate" starts with BA8E 😍
@nibblrrr7124
@nibblrrr7124 5 жыл бұрын
Nice! Its MD5 only contains "BAAE3B", which clearly demonstrates that MD5 is the inferior algorithm to SHA-1. :^) (Alas, SHA-256 is still better. But in it, I can only find "BFF". So my cryptographic horoscope is telling me Kate and I will be happier as friends? ^^)
@VADemon
@VADemon 3 жыл бұрын
@@nibblrrr7124 lol cryptograpgic horoscope! hashing numerology!
@coweatsman
@coweatsman 10 ай бұрын
That guy has since changed his password to "divorcecourt".
@Furiends
@Furiends 5 жыл бұрын
1-2-3-4-5? That's amazing I've got the same combination on my luggage!
@omegahaxors9-11
@omegahaxors9-11 5 жыл бұрын
Lol spaceballs
@rjj5574
@rjj5574 5 жыл бұрын
Mines samsonite
@gumunduringigumundsson9344
@gumunduringigumundsson9344 5 жыл бұрын
Hehehe
@asgaines
@asgaines 5 жыл бұрын
@@rjj5574 2814 times in list
@Kotfluegel
@Kotfluegel 5 жыл бұрын
Hilariously, the other password from that same XKCD comic strip "Tr0ub4dor&3" which was used as an anti password cannot be found in that password API.
@El_Chompo
@El_Chompo 5 жыл бұрын
what do you mean by anti-password?
@lucasbune
@lucasbune 5 жыл бұрын
@@El_Chompoit was an example of a poorly chosen password
@KnakuanaRka
@KnakuanaRka 5 жыл бұрын
At least they understood that part well.
@PragmaticAntithesis
@PragmaticAntithesis 5 жыл бұрын
So... It's a strong password?!
@polgzz
@polgzz 4 жыл бұрын
@@PragmaticAntithesis not anymore
@bloody_albatross
@bloody_albatross 5 жыл бұрын
I checked, the password "computerphile" occurs one time in the pwned password list! Why? Who? What!
@HPD1171
@HPD1171 5 жыл бұрын
still waiting on numberphile though.
@ben-q2d
@ben-q2d 5 жыл бұрын
It's obviously Sean's password for the Computerphile Google account
@OrangeC7
@OrangeC7 5 жыл бұрын
And also how is it working like how did only one person think of this
@Shadow81989
@Shadow81989 5 жыл бұрын
@@OrangeC7 only one that got leaked - there might be hundreds of others USING that password. ;-)
@hiqwertyhi
@hiqwertyhi 5 жыл бұрын
maybe that person didn't know about the computerphile channel and thought they were being clever inventing a word?
5 жыл бұрын
The first thing I did once I find out about this website was to inspect all js to figure out what heck it was doing with the passwords. Got really impressed! Kudos
@redlaserfox3988
@redlaserfox3988 5 жыл бұрын
So if I need to sell stolen password data do I go to the Pwn Shop?? I'll see myself out E- auto @Cadde correct
@KnakuanaRka
@KnakuanaRka 5 жыл бұрын
I’ll get me coat.
@RealCadde
@RealCadde 5 жыл бұрын
Pwn is a correct word, pwne is not.
@redlaserfox3988
@redlaserfox3988 5 жыл бұрын
@@RealCadde I know, derrr Noted, amended
@cybercat1531
@cybercat1531 5 жыл бұрын
That's already a deep web blackmarket site
@Shadow81989
@Shadow81989 5 жыл бұрын
Now that's an interesting way to check passwords without actually sending them. I like it.
@mirmbloatbust4783
@mirmbloatbust4783 5 жыл бұрын
Still allows for some nasty stuff in two cases: 1. Only one hash which starts off similarly can be found (not likely), 2. The user checks for multiple passwords. 2 is a problem because all of the hashes that the server returns can be traced back to passwords, and those can be traced back to accounts connected to them. So if the user checks multiple passwords that can be traced back to their accounts, the likelihood of identifying the user increases. But yeah, it doesn't leak the passwords that haven't previously been leaked straight away, but still might make guessing them easier. Thanks to potentially identifying the password habits of the person and having the beginning of a hash.
@CitronLighter
@CitronLighter 5 жыл бұрын
@@mirmbloatbust4783 I don't think 1 is a problem. If only 1 password is returned, it's still very unlikely it is yours.
@mirmbloatbust4783
@mirmbloatbust4783 5 жыл бұрын
@@CitronLighter Yup, I agree. 2 is the real problem.
@watfordjc
@watfordjc 5 жыл бұрын
@@mirmbloatbust4783 2 isn't much of a problem in my opinion. The k-anonymity implementation was suggested by CloudFlare due to the bandwidth usage - you literally have everything from password managers to UK government departments all using the same API. Passwords are also not unique - my weakest password is (to paraphrase) randomstring1 and the next number in the iteration has been leaked (as have some in the 80-99 range - birth years) even though I've never used them. CloudFlare have probably seen most of your passwords anyway as they are the biggest CDN, and most partial hash lookups don't end up going to the origin server because of k-anonymity and aggressive caching. That just leaves trust in the frontend of whatever is using the password API v2, and TLS stack/library/protocol. Also, haveibeenpwned doesn't make the data available to link breached accounts with leaked passwords. If you are concerned about the origin server knowing who you are based on password lookups that return positive results, we are talking about a database built from data breaches that contain your e-mail addresses and passwords. If you only have one e-mail address, it'd be a waste of resources for the API to link passwords to it based on password lookups because the service could have used the data already available.
@ulissemini5492
@ulissemini5492 5 жыл бұрын
​@@mirmbloatbust4783 i don't know much about cryptography but iirc sha1 hashes are "random" so the first part should not allow them to get the first part of the password.
@SupaKoopaTroopa64
@SupaKoopaTroopa64 5 жыл бұрын
*unhackable* shows up 602 times.
@Shadow81989
@Shadow81989 5 жыл бұрын
ironic :)
@HaxorBird
@HaxorBird 4 жыл бұрын
621 times
@andrewandrei3062
@andrewandrei3062 4 жыл бұрын
@@HaxorBird :3
@1224chrisng
@1224chrisng 4 жыл бұрын
@@andrewandrei3062 a --man-- anthro of culture I see edit, YT comment formatting is a pain in the back, I swear it was double hyphens a while ago
@spiderwings1421
@spiderwings1421 4 жыл бұрын
639 now
@TheLucky117
@TheLucky117 5 жыл бұрын
The out-take is great xD
@willemvdk4886
@willemvdk4886 5 жыл бұрын
His explanations are truly great. Such a good teacher.
@ChromesClips
@ChromesClips 5 жыл бұрын
Alright fine, guess I'll change my password to iLoveYouMike
@mikejohnstonbob935
@mikejohnstonbob935 5 жыл бұрын
iLoveYou*Mike
@brokentombot
@brokentombot 5 жыл бұрын
iLoveLamp
@GrumpyFinch
@GrumpyFinch 4 жыл бұрын
@@brokentombot I see what you did there 👨
@BlueyMcPhluey
@BlueyMcPhluey 4 жыл бұрын
@@mikejohnstonbob935 make sure to put the symbol in the middle of the word, instead of between words!
@OrganDanai
@OrganDanai 5 жыл бұрын
There's a problem using the command line as shown in this video: it will appear in your shell history and for a split second also in your list of current processes. The best way is to have to type your password interactively.
@bbonvallet
@bbonvallet 5 жыл бұрын
Also careful not to do it in the interactive Python REPL. I noticed Python 2.7 on my system has no history, but Python 3.5 and Python 3.7 both have a history. Read STDIN and type password in via request from STDIN. No shells, no REPLs, no pipes!
@NightKev
@NightKev 5 жыл бұрын
The only secure chip is one you build yourself.
@michaelpound9891
@michaelpound9891 5 жыл бұрын
Someone pull requested my github to fix this already! You're absolutely right, it wasn't ideal what I was doing.
@Clownacy
@Clownacy 5 жыл бұрын
Have you ever heard of sarcasm?
@Elrog3
@Elrog3 4 жыл бұрын
@MichaelKingsfordGray What! Use your real name? You would go through all the trouble to make a secure chip for a password and then give your real full name out on the internet? *facepalm*
@elliotgehin
@elliotgehin 5 жыл бұрын
8:53 - not all are publicly available, some are from private breaches which have been given to Troy
@dekeonus
@dekeonus 5 жыл бұрын
What exactly is a private breach in this example? Did the perpetrator break some site and then give Troy and ONLY Troy their ill gotten loot? If the site owner gave the list of exposed data to Troy then in all probability that data is in the wild and may be being traded on exclusive forums, but in that instance it is only a delay to wider public dissemination.
@pomegranatechannel
@pomegranatechannel 5 жыл бұрын
I love this guy. Please do more neural network videos with him.
@isaacpearson1634
@isaacpearson1634 5 жыл бұрын
"password" has been leaked 3,645,804 times.
@marekmichalovic8711
@marekmichalovic8711 5 жыл бұрын
I will not fall for the same mistake as others have! I will use "wordpass"! No one can ever guess!
@marc-alexandrelaroche6632
@marc-alexandrelaroche6632 5 жыл бұрын
@@marekmichalovic8711 , we need more smart people like you.
@FirstDagger
@FirstDagger 5 жыл бұрын
How often has "has been leaked 3,645,804 times." been leaked?
@marekmichalovic8711
@marekmichalovic8711 5 жыл бұрын
@@FirstDagger That might have been a decent password until you wrote it
@Jouzou87
@Jouzou87 5 жыл бұрын
And "123456" like 23 million. Taking a positive angle, if there are 3 billion people on the internet, that's only the dumbest 0.5% (taking into account duplicates and troll accounts).
@TannerHartwig
@TannerHartwig 5 жыл бұрын
correct horse battery staple.... instant facepalm hahahaha.
@foo0815
@foo0815 5 жыл бұрын
It's amusing that Munroe's counter-example for a bad password (Tr0ub4dor&3) in *not* in the pwned list...
@Ghorda9
@Ghorda9 5 жыл бұрын
@@foo0815 xkcd is known for information warfare.
@nextlifeonearth
@nextlifeonearth 5 жыл бұрын
@@foo0815 His reasoning is quite sound though. If you can't remember the password, you might as well not have a password. Try that principle with other words in that database. Tip: use a word that's not in the dictionary (and not in use in general) in the password, that you can actually remember. (ex: "fortify persident campaign etchings"). And put your choice of easily remembered special characters in there.
@nextlifeonearth
@nextlifeonearth 5 жыл бұрын
@@Reelix That's why you should just include one word that's not in the dictionary.
@asdfghyter
@asdfghyter 5 жыл бұрын
Xileer Torias No, the point of the approach is that you calculate the entropy given that it is in a dictionary. Of course, partially deviating from the pattern by adding a non-word or special characters in the middle will still make it even stronger.
@charlesgerard5721
@charlesgerard5721 5 жыл бұрын
Great video. Not nearly as dense and dull as lectures, still informative, and actually entertaining and easy to watch.
@EmmetFord
@EmmetFord 3 жыл бұрын
That git repository is a treat. The same program implemented in multiple languages: python, go, haskell, julia (I don't even know what that is), bash and perl, the last being my comfort zone. So now I have all these examples with which to compare and contrast. Very nice. I'll skip the java and powershell if that's OK. Happily, all the passwords I tried passed. My trick is I use my social security number as my password for everything. That way, when one of those sites gets hacked, they'll have everything all in one go.
@_ck_
@_ck_ 5 жыл бұрын
regarding bad practices people do with well intended info from these videos, I know its just a demonstration but I'd still like to point this out. if you were to use some small commandline utility you threw together yourself to check your passwords, like in the video. they'll end up in your shell history(every command you ran goes there for a while) which is just a plaintext file. Effectively undoing the whole point of an encrypted password database. cheers
@gyroninjamodder
@gyroninjamodder 5 жыл бұрын
CK You can put a space before the command and it won't store it in the history
@teh_jibbler
@teh_jibbler 5 жыл бұрын
export HISTIGNORE='[ \t]*' Then put a space in front of any command you don't want in history.
@teh_jibbler
@teh_jibbler 5 жыл бұрын
Probably doesn't save you from audit log, though. Don't let people read audit log.
@hrnekbezucha
@hrnekbezucha 5 жыл бұрын
@@gyroninjamodder TIL. Thanks!
@michaelpound9891
@michaelpound9891 5 жыл бұрын
Thanks for pointing this out - I did eventually upload my code to github and someone already put in a pull request fixing this :)
@xwolpertinger
@xwolpertinger 5 жыл бұрын
If you are very paranoid you can always just download the pwned passwords list and write some code to do it all locally. On the plus side, you'll learn how to search through a 22+ GB file quickly!
@dustysparks
@dustysparks 5 жыл бұрын
Multi-threading!
@mirmbloatbust4783
@mirmbloatbust4783 5 жыл бұрын
Was fun to work with the 1TB leak few months ago to create an alphabetically ordered password list of all the unique passwords, followed up with the number they were encountered in it. Would have been swell to do that on a SSD and more memory than 4GBs in hindsight. :P
@mirmbloatbust4783
@mirmbloatbust4783 5 жыл бұрын
@@dustysparks No need to multithread, just have the file organised alphanumerically and do a binary search.
@zvpunry1971
@zvpunry1971 5 жыл бұрын
If the file is already sorted, then it will be extremely easy and fast to search it, even on a slow system with slow I/O. No need for multi-threading or anything special. seek into the middle of the file, read until a newline is found, see if the hash is less, equal or greater than the searched one... depending on that check you search the part before or behind the current position. Its just a binary search. This could be done by hand. If the file isn't already sorted, then fast hardware (a computer) could be useful. If only one hash is searched, just use "grep completehash pw-hash-list.txt", grep uses a quite fast algorithm (boyer moore) to find a word in a large amount of data. If the file isn't sorted and many hashes should be checked you need a lot of ram and a program called "sort", just sort the list and use the second mentioned method. ;)
@xwolpertinger
@xwolpertinger 5 жыл бұрын
There is a version sorted by hash which is of course rather fast to search through (and more easily compressed to boot)
@relativityboy
@relativityboy 5 жыл бұрын
So much value in less than 11 minutes, and 100% accessible to anyone who knows python isn't just for snakes.
@BlochStier
@BlochStier 5 жыл бұрын
A ressource of the code used in various videos would be nice :)
@hurktang
@hurktang 5 жыл бұрын
1) Hash in sha-1. 2) Request the appropriate address. 3) Cross the list to search for a match. 4) Output the result. You should not trust anyone and do it yourself. Time to learn how to code ?
@casperes0912
@casperes0912 5 жыл бұрын
hurktang if you can audit the code there’s nothing wrong with using someone else’s
@alpha_ceph
@alpha_ceph 5 жыл бұрын
I've also written my own version. It supports checking multiple passwords with a file: github/lukas-dachtler/pwned.py
@chrislynch8
@chrislynch8 5 жыл бұрын
If you give me a list of all your passwords I'll check for you. 😎😎
@BlochStier
@BlochStier 5 жыл бұрын
@@hurktang "various videos", not necessarily this one. This one is fairly easy to replicate :)
@a3f4cdf
@a3f4cdf 5 жыл бұрын
I've been pwned endless times lol This is also a good way of finding out where other people have been signing up 😉
@sypherverendz7663
@sypherverendz7663 3 жыл бұрын
Is this safe?
@Yotanido
@Yotanido 5 жыл бұрын
Found this API about two months ago and immediately implement a script that goes through every password in my password manager and checks it. Super handy tool, gotta give it to them. (All my passwords turned out not to be in there, but you never know. Though, if a password does get compromised, it's not a big deal for me, anyway, since I don't reuse passwords)
@vfrunza
@vfrunza 5 жыл бұрын
My passwords from when I was a kid have surprisingly never been cracked. I'm shocked.
@TheComedicPCGamer
@TheComedicPCGamer 5 жыл бұрын
no one wants to hack your roblox account dude
@Nitrxgen
@Nitrxgen 5 жыл бұрын
never been leaked or never been cracked? there's a difference
@M4rc05P
@M4rc05P 5 жыл бұрын
There is a chance that someone have your pass but didn't make the database with it public nor shared with Troy Hunt (haveibeenpwned guy)
@doms6741
@doms6741 5 жыл бұрын
What was it?
@milesofmemes7750
@milesofmemes7750 4 жыл бұрын
mine have
@Phroggster
@Phroggster 5 жыл бұрын
Now, if only we could convince websites to refuse new passwords / password change requests that appear on these lists. Then, after that, we might be able to convince websites to use bcrypt, and increase their maximum password length such that correcthorsebatterystaple could actually be used if it wasn't already disclosed and prevented by step one.
@Baxtexx
@Baxtexx 5 жыл бұрын
Yeah that would be great. However website owners wants as many users as possible. If the user find it cumbersome to sign up, the website might loose that user and potentional revenue. We would practically have to make it punishable by law to use crappy passwords.
@RealCadde
@RealCadde 5 жыл бұрын
@@Baxtexx Carrying the death penalty for that particular genepool.
@Thumli
@Thumli 5 жыл бұрын
One thing to keep in mind with using that python script is that you are probably storing the password as clear text in your command history.
@iwikal
@iwikal 5 жыл бұрын
Add a space before the command to omit it from bash history, or better yet, use the getpass python library.
@martink4964
@martink4964 5 жыл бұрын
Thumbs up, if you're a developer who salts passwords. This makes one of several examples for why salting is important :)
@zvpunry1971
@zvpunry1971 5 жыл бұрын
I'm sure there are people who use salted plaintext passwords... Always assume the worst, don't trust anyone. ;)
@joonasfi
@joonasfi 5 жыл бұрын
That's also outdated. Salting is not enough in the slightest. Use bcrypt or pbkdf2. See Tom Scott's video about password storage.
@jeremyelliot4831
@jeremyelliot4831 5 жыл бұрын
@@joonasfi Are you saying bcrypt(password) is just as strong as a bcrypt(password + salt) ?
@recklessroges
@recklessroges 5 жыл бұрын
salting? (What is this? Security for ants?) argon2 then scrypt then blowfish then bcrypt. (I doubt all four have been compromised at this stage.)
@jeremyelliot4831
@jeremyelliot4831 5 жыл бұрын
@@recklessroges "In cryptography, a salt is random data that is used as an additional input to a one-way function that "hashes" data, a password or passphrase."
@vedi0boy
@vedi0boy 5 жыл бұрын
I like how he laughs for like a fraction of a second then starts talking seriously. It’s very funny lol
@juliusbecker8451
@juliusbecker8451 2 жыл бұрын
From time to time i come back to this video for some entertainment
@TheSpacecraftX
@TheSpacecraftX 5 жыл бұрын
Mike's videos are the best ones.
@plasticuproject
@plasticuproject 5 жыл бұрын
Troy Hunt's API is absolutely awesome. He also gives love to all the developers who use it to build applications by posting links on the website.
@messengerofiexist2139
@messengerofiexist2139 3 жыл бұрын
Yes. I was pwned the moment I purchased my hardware, with all of its built in backdoors and in designed vulnerabilities. Cell phones have 200 builtin backdoors for “network monitoring” in order to prevent violations of “insert country regulatory body here” frequency regulations. Anyone who buys any technology is owned at the time of purchase.
@DanCojocaru2000
@DanCojocaru2000 5 жыл бұрын
This guy is awesome. I knew all this stuff already yet I still was entertained!
@Gamesaucer
@Gamesaucer 5 жыл бұрын
Oh, that's a really elegant solution! I like it.
@spencert94
@spencert94 5 жыл бұрын
It’s also fun to go onto the password site to find all the horrible phrases people have as passwords that have been pwned
@cwmcelfresh
@cwmcelfresh 4 жыл бұрын
One "strong password" (459 matches for strongpassword) technique folks use is to choose the first char of a series of words from a song. The results for "Jumpin' Jack Flash it's a gas gas gas (jjfiaggg)": 56 matches. For the typing class phrase "The quick brown fox jumps over the lazy dog (tqbfjotld)": 956 matches. (Yes, I know computerphile (1 match) recommended adding special characters to such a PW, so, "jjfiaggg!": 1 match :) ). Golly (541 matches) it's fun to guess the cleverest (90 matches) passwords, like "iamclever": (164 matches) but "youareanidiot" (57 matches) and hit this range API with my little golang (24 matches) script. And thanks for introducing me to k-Anonymity (0 matches!!), neat!!
@ribbonsofnight
@ribbonsofnight 2 жыл бұрын
jjfiaggg is a bit too brute forceable. might as well go for longer songs ittrlitjfcialnefr or talwsatgigasbasth There would be people who could figure these out from that alone but for everyone else They are very long popular songs by Queen and Led Zep
@jonnyclueless
@jonnyclueless 5 жыл бұрын
Thank you for this video. I have now changed my password from iloveyoukate to iloveyoujan. Now I can rest easy.
@marc-alexandrelaroche6632
@marc-alexandrelaroche6632 5 жыл бұрын
He uploaded this the day my account got compromised.
@vvvvvv66666
@vvvvvv66666 5 жыл бұрын
Oof
@BlitzPSH
@BlitzPSH 5 жыл бұрын
I actually knew about this! Huge fan of this approach. Have gushed about it to some coworkers.
@Lam-s-Workshop
@Lam-s-Workshop 5 жыл бұрын
Yet another great, clear and concise video. Thanks
@_Pyroon_
@_Pyroon_ 4 жыл бұрын
urmom : 6367 times urmom1 :12626 This was true for many passwords. It seems adding a 1 at the end of a password might actually make it less secure.
@sieevansetiawan4792
@sieevansetiawan4792 4 жыл бұрын
"urmom" is only 5 characters. I guess most people would use at least 6 characters.
@nearlyepic4831
@nearlyepic4831 4 жыл бұрын
@@sieevansetiawan4792 More sites are expecting a number and capital letter as well. Easiest way to do that is to add a 1 at the end.
@75hilmar
@75hilmar 5 жыл бұрын
Hi. Love your content. This question might seem a bit off topic, but since you like to look at things from a different perspective, I think you might have an interesting opinion on this: I have been looking into amateur music production lately and I found out that sound cards in laptop is just not a thing. Which really surprised me. But I got to think that with the help of graphic cards you should be able to model oscillators properly and therefore I figured there should be a way to use one's graphics card capacity for sound rendering?
@Lazy_Llama
@Lazy_Llama 5 жыл бұрын
I love this channel especially the vids that involve security
@rafaeldeconde8148
@rafaeldeconde8148 3 жыл бұрын
I love all Videos Mike makes to computerphile, I wish I could meet him!
@Xevailo
@Xevailo 5 жыл бұрын
What's your stance on password managers in the cloud such as the mentioned one password or dash lane for example? So many people seem to be using one of these kind these days, but I'm still very sceptical.
@tynandouglas348
@tynandouglas348 5 жыл бұрын
I think the reputable ones encrypt/decrypt client-side using a master password. If they also use your master password to login, I believe what gets sent to the server is derived from a hash of the password, not the password itself. Though this does mean you should be extra careful choosing your master password.
@recklessroges
@recklessroges 5 жыл бұрын
Xevailo at least use keepass or better while you do your own due diligence.
@kempyboi123
@kempyboi123 5 жыл бұрын
Glad you guys mentioned this site, it's rad 😊
@theepicslayer7sss101
@theepicslayer7sss101 5 жыл бұрын
well it is nice to know a bit more about the "Have I been Pwned" site... even if i hear it is safe i would rather have multiple sources of trust to confirm... even tho you are the second! (the other was a PC security channel that tests antivirus programs)
@lobrundell4264
@lobrundell4264 5 жыл бұрын
Of course Mike's code is in the doobly too. Legend
@oafkad
@oafkad 5 жыл бұрын
Those buttons are amazing. I spent far too much of this video looking at those buttons.
@MrTorsvik
@MrTorsvik 5 жыл бұрын
When I was in high school I cracked the admin password for our IT guy. it was kari3sko.... I wasn't allowed to use the computer anymore
@666Tomato666
@666Tomato666 5 жыл бұрын
gotta love our education system: take the kids that are more interested in a given topic and then punish them for expanding their knowledge
@kanekeylewer5704
@kanekeylewer5704 5 жыл бұрын
​@@666Tomato666 Well, no. It's because what he did was illegal and abusive to the system. Dumbass.
@666Tomato666
@666Tomato666 5 жыл бұрын
@@kanekeylewer5704 a password that can be cracked is a horrible password, not bad, horrible and using horrible passwords is like putting a post-it note on the door asking not to enter, of course a kid will want to take a look
@kanekeylewer5704
@kanekeylewer5704 5 жыл бұрын
@@666Tomato666 Any password can be cracked, dumbass.
@samandrew8158
@samandrew8158 5 жыл бұрын
​@@kanekeylewer5704, shut up, you petulant little child.
@sieevansetiawan4792
@sieevansetiawan4792 4 жыл бұрын
"correct horse battery staple" was compromised? Time to change to "incorrect horse battery staple".
@mu11668B
@mu11668B 4 жыл бұрын
Too bad it's already pwned too. :/
@Ruxinator
@Ruxinator 5 жыл бұрын
Extremely useful information! Thanks for making this video
@palqaz3024
@palqaz3024 4 жыл бұрын
dsenti may just be on to something. If you take the SHA-1 hash of Dr. Mike's example - be it password1, or Password1, or password 1, or Password 1, the hash doesn't start with FA2241C. And if you use cURL to input any of those actual hashes into the website, it doesn't return ANY corresponding leaked hashes! Of course, the hash depends on SO much more than just what the password is - like the font you use, whether it is ASCII or UTF-8 encoding, whether you create the password in Notepad vs. Wordpad vs. RTF vs. MSWord, etc. and probably a hundred other things. Which renders the whole exercise of hashing your password yourself for submission rather pointless. Or worse, it lends a false sense of security when no hits are returned. So you're really only left with the option of typing your password into a random box on the internet. I think I'll give it a try it right now - NOT!
@CeilingPanda
@CeilingPanda 5 жыл бұрын
Thanks for posting this, now I can link this video to people who think I'm trying to hack them, when I link HaveIBeenPwned
@bp7901
@bp7901 2 жыл бұрын
Every video this guy makes, a password dies.
@holcus1
@holcus1 5 жыл бұрын
so how do you work out diacritical marks / accents? I am cheking Polish for password (hasło) and I get 0 matches even if I enter it on /password site directly.
@Kurtownia
@Kurtownia 5 жыл бұрын
I'd love to tell you just how great my password is, but then I'd have to change it, so just believe me.
@recklessroges
@recklessroges 5 жыл бұрын
I've already seen it. You should change it as you've been using it for far too long.
@OrangeC7
@OrangeC7 5 жыл бұрын
Problem with correcthorsebatt*erystaple though is that people can modify a dictionary attack by trying to insert characters like that. It's not likely, but it's still possible, so best practice would probably be if the original four-word password is in the database, try using something different first anyways.
@JochemKuijpers
@JochemKuijpers 5 жыл бұрын
simpele word concatenations aren't considered that safe anymore. Not at length
@ribbonsofnight
@ribbonsofnight 2 жыл бұрын
The person who talks in this video has another video on this channel that discusses exactly that
@ribbonsofnight
@ribbonsofnight 2 жыл бұрын
@@JochemKuijpers if they're all words like simpele it's still probably a very viable password strategy.
@ZomB1986
@ZomB1986 5 жыл бұрын
Bitwarden password manager also has a password leakage detection built in.
@simonalexander7137
@simonalexander7137 4 жыл бұрын
I like that you make your notes on tractor feed paper
@deckluck372
@deckluck372 5 жыл бұрын
Hilarious closing - "I thought you were leaked. (embarrassing look). Definitely not. " You guys provide informative and useful content. You should be a the ten million subscriber mark. Keep on keeping on!
@dragonmateX
@dragonmateX 5 жыл бұрын
I know computerphile is hosted by a different person, but it feels strange to not hear Brady's voice behind the camera
@bailey125
@bailey125 5 жыл бұрын
How do you install requests? The pip command returns "'pip' is not recognized as an internal or external command, operable program or batch file."
@jameyd916
@jameyd916 5 жыл бұрын
Make sure you install pip with the option ticked to add it to your PATH variable.
@bailey125
@bailey125 5 жыл бұрын
@@jameyd916 I'm sorry, but that makes no sense. There are no options or check boxes in command line.
@jameyd916
@jameyd916 5 жыл бұрын
@@bailey125 when you install pip with the python windows installer it was checkboxes, I meant those.
@bailey125
@bailey125 5 жыл бұрын
@@jameyd916 Oh... I installed python years ago lol. Maybe I unchecked it when installing. I'll probably just reinstall. Thanks :)
@bailey125
@bailey125 5 жыл бұрын
@@jameyd916 Managed to fix the issue. Turned out that I did have pip installed on python 2.7, but I also had python 3.3 installed which does not come with pip and command line was using python 3.3, so I uninstalled 2.7 and 3.3 and installed 3.7 with pip and it all worked fine.
@err2260
@err2260 5 жыл бұрын
Which thinkpad model is that?
@Furiends
@Furiends 5 жыл бұрын
I know it seems radical but its about time we just get rid of passwords. Any time you type in a password its a liability that it will be recorded or compromised. Using your phone as authenticator is great. If your phone gets stolen you just have to remove it as an authenticatior. If you want to have some time so the thief can't immediately get into your accounts add a phone lock with pin or fingerprint. While these methods are not super hard to crack it'd still take hours to days. Phones can also be remote locked and easily deactivated. The only problem is there's no universal or standardized way to authenticating this way.
@superfluidity
@superfluidity 5 жыл бұрын
How do you authenticate yourself to the system that lets you remove your phone as an authenticater? I agree that there are lots of problems with passwords, but it's very hard to find something that can fully replace them. People have been trying for decades.
@Furiends
@Furiends 5 жыл бұрын
@@superfluidity There's no way to revoke who has access to your password except to change it. When you make an account it authenticates to that device like your desktop from there you can tell a website to authenticate with your phone. As a backup you can use a public key stored on your desktop or on a usb key to do management like locking all authenticators.
@davidk3177
@davidk3177 5 жыл бұрын
Thank you for making useful vids. I will be using your code at home and work right away. I also love that you use python. I have learned much from reviewing code that you've offered. Cheers!
@billoddy5637
@billoddy5637 5 жыл бұрын
Mike, talk to us about AES. I know that deep down, you have an urge to do so!
@superfluidity
@superfluidity 5 жыл бұрын
It's not great to type a password in the command prompt like Dr Pound did - he passed the password to his python program as a command line argument when he ran it. That means it will be in his command line history etc. It's better to design the program so that it asks you to type in the password after you start it.
@leftaroundabout
@leftaroundabout 5 жыл бұрын
Right. If you have such a program, you should call it with `xargs python pwned.py` (which will wait for the password on stdin, before running the actual script).
@lunasophia9002
@lunasophia9002 5 жыл бұрын
leftaroundabout This is still a problem because the arguments to xargs will show up in the process list and also show up in the commandline history, so you've just moved the problem about instead of actually addressing it.
@IceMetalPunk
@IceMetalPunk 5 жыл бұрын
Or, you know, just... clear your history after use :D
@leftaroundabout
@leftaroundabout 5 жыл бұрын
@Chris they do show up in the process list, true. They do _not_ show up in the shell history. Or what do you mean?
@daihop
@daihop 5 жыл бұрын
I enjoyed the Hackers reference at the end
@sirelkir
@sirelkir 5 жыл бұрын
If you're using that python command on a Bash terminal make sure you add a space before the command. This way (on most versions by default) it is not stored in the bash history for someone to accidentally stumble upon all of your passwords.
@dekeonus
@dekeonus 5 жыл бұрын
that just stops it appearing in your shell history, does not stop the password appearing in the process list or audit logs (on systems doing auditing)
@guyguy7714
@guyguy7714 4 жыл бұрын
10:01 i love the pure disappointment in his voice
@roflbofl
@roflbofl 2 жыл бұрын
I always wonder, is there anyone on the background you're talking to ?
@blucat4
@blucat4 11 ай бұрын
No, you're hearing voices. :-)
@Cygnus0lor
@Cygnus0lor 5 жыл бұрын
Bloody beautifully explained
@SEThatered
@SEThatered 5 жыл бұрын
I know several languages, so in order to create a password I just think of some sentence that has my personal, unique association with the service, then translate it through several languages and at the end I translate it into an agglutinative language where it is a convenient long word. Even if I tell you the word out loud it would sound like a bunch of gibberish, but it makes perfect sense to me and is connected to a specific software/service in my head. So far I haven't forgotten any of my passwords.
@broup9137
@broup9137 5 жыл бұрын
Eugen Afanasjev wow your so smart you probably have a huge weiner
@TrimutiusToo
@TrimutiusToo 5 жыл бұрын
Some people are actually using password from xkcd? *facepalm*
@asgaines
@asgaines 5 жыл бұрын
What's even better is that xkcd appears as a password 49 times
@TrimutiusToo
@TrimutiusToo 5 жыл бұрын
@@asgaines the funniest part is that Tr0b4dor&3 actually doesn't appear at all... From the same xkcd comic...
@squirlmy
@squirlmy 5 жыл бұрын
How many times does FACEPALM show up?
@KnakuanaRka
@KnakuanaRka 5 жыл бұрын
Timur Sultanov At least everyone got that correct.
@aleksandrgurinov4289
@aleksandrgurinov4289 4 жыл бұрын
Hi! Why you use only sha1 when calculating hash? Not all cracked companies use this algorithm to protect your passwords (also sha256, or pbkdf2 with sha256 and salt (and pepper maybe)). Using sha1 in example script is about common use case? Or I missed something? Thanks!
@MuhammadAhsanKaleem
@MuhammadAhsanKaleem 5 жыл бұрын
Nice video as always. Why were you using duckduckgo though?
@jg374
@jg374 3 жыл бұрын
7:15 As of 14/01/2022, that password has now been seen 245 times.
@xJackkHD
@xJackkHD 5 жыл бұрын
Decided to go to haveibeenpwned and search my main 2 emails, and I’ve been Pwned on both. Guess I’m creating a new identity and moving to the other end of the earth.
@callumstewart5891
@callumstewart5891 4 жыл бұрын
Surely using this API to check a password before you use it is a bad idea? If you input a password, and it's not found, you would think it's safe to use. But you've just given it to the API, so now it will be in there, and that means it's not secure anymore.
@yommish
@yommish Жыл бұрын
You’re just sending the first few characters of the hash. The server doesn’t know your password or whether it is in the list or not.
@AbhimanyuSirothia
@AbhimanyuSirothia 5 жыл бұрын
Is it possible the API returns only the remaining of the hash to ensure that even if that list was somehow intercepted it is of no use without the prefix that was sent over https?
@nilaksh007
@nilaksh007 4 жыл бұрын
I ran the script today and password1 was found 2413945 times! And password1234 was found 23183 times Iloveyoukate was found 95 times Correct horse battery staple was found 120 times @computerphile , does your video has negative effect?
@CottidaeSEA
@CottidaeSEA 4 жыл бұрын
For two of my passwords, I took four random words out of a dictionary, pulled 4 to 6 letters out of each, scrambled upper case and lower case, then added random numbers at random intervals. Pretty sure it doesn't get much safer than that without simply making a longer password.
@esquilax5563
@esquilax5563 4 жыл бұрын
At that point, you may as well just skip using the dictionary, and just generate a random string of characters. It won't be any less memorable
@CottidaeSEA
@CottidaeSEA 4 жыл бұрын
@@esquilax5563 Not really, since I can easily remember the words I picked.
@CyberFreaked
@CyberFreaked 5 жыл бұрын
@2:27 Wait what, how could one password have plain text copies of someones passwords?!?!?! Or they have SHA-1 hashes which isn't really suitable for password storage.... Or is it only when storing a new password?
@brianmccarthy3613
@brianmccarthy3613 5 жыл бұрын
It's run from the client after unlock, not from their servers while encrypted.
@watfordjc
@watfordjc 5 жыл бұрын
Password managers are encrypted databases of plaintext passwords - if they only stored hashes it would be impossible to use the passwords stored.
@nevemsenki5592
@nevemsenki5592 4 жыл бұрын
Fun fact: his e-mail address from Nottingham University (which can be found easily by searching on internet) is also on the pwned list. :)
@myothersoul1953
@myothersoul1953 5 жыл бұрын
How often do accounts get broken into by some brute force attack? Probably often when people use passwords like "password1" but for uncommon passwords? Not that often. If the website or whatever you are using hasn't put in some defense against brute force attacks then their security is likely lacking in many other areas so using a 20 random characters wouldn't offer you much protection.
@Omnifarious0
@Omnifarious0 5 жыл бұрын
It may or may not use the Python cryptography library. But it doesn't have to, and I don't consider it likely. There are a whole bunch of hash algorithms shipped with the base Python distribution in the hashlib package. Including SHA1 and SHA2-256
@d1663m
@d1663m 5 жыл бұрын
I've always heard it said as just normal "owned". Not sure if it's the first source but look up the Pure Pwnage videos here on the Tubes. They say it as normal "Pure Ownage" and not "pone-age".
@AnimilesYT
@AnimilesYT 5 жыл бұрын
I've always heard it said as powned. But it could be because I'm Dutch and most people read it before they heard it.
@bnctaj
@bnctaj 5 жыл бұрын
@@AnimilesYT it's not just because you're Dutch.
@DanielJohnNicholson
@DanielJohnNicholson 5 жыл бұрын
I've only ever heard it as "poned".
@stoneskull
@stoneskull 5 жыл бұрын
i accidentally pressed p instead of o when typing in counterstrike. it was meant to be 'owned' but it can be pronounced both ways
@daveslow84
@daveslow84 5 жыл бұрын
it blew my mind that correcthorsebatterystable is now a used (and leaked obv) password :D
@daveslow84
@daveslow84 5 жыл бұрын
staple! :D
@TourUser9630
@TourUser9630 4 жыл бұрын
How secure would the hash (or subsection) of a popular password be?
@M3n747
@M3n747 3 жыл бұрын
I was in the process of checking "correct horse battery staple" when he said to try "correct horse battery staple". :D
@Asharas
@Asharas 5 жыл бұрын
Small correction: Troy Hunt has frequently stated that no passwords are stored on his databases
@asdfghyter
@asdfghyter 5 жыл бұрын
Asharas in a Box If you don’t trust him, you shouldn’t trust that either. The whole point of this is that you don’t have to trust him.
@jubeh
@jubeh 5 жыл бұрын
i use a 240+ random character master password for my most secure stuff, which i painstakingly generated by using 8 randomly generated access point keys and then jumbled it some, then after memorizing the whole thing, i broke off sections of it, 8 to 32 characters long depending on how secure i need the password to be, for example, forums, chat, and other minor accounts that don't expose any personal or financial information only use 8 characters, financial passwords, email, and other accounts that do expose financial or personal information use passwords from 32 to 64 characters long depending on how important the account is. That way, i only have to remember one password (master) and then, for each account, i only remember what i call the "association" (where in the master password do i begin, which direction do i read it, and how many characters do i use for each account). i guess the big security flaw inherent is that, because the passwords are sequential (but random direction) if my master password leaks it basically becomes a whole dictionary entry, which is why i don't use it online and instead use it for disk encryption
@tomkmb4120
@tomkmb4120 4 ай бұрын
Trying to get the script to read my exported chrome CSV of passwords as per the github but that particular feature is a little troublesome to run - I've copied the syntax exactly - I know the script is working as I'm able to use it for a single instance of a password passed as an arg
@astropgn
@astropgn 5 жыл бұрын
Is there a repository where he uploads the code so we can take a look at them?
@benhetland576
@benhetland576 5 жыл бұрын
And the hash for 'iloveyoukate' starts with BABE... Of course it does! LOL
@IceMetalPunk
@IceMetalPunk 5 жыл бұрын
Well, BA8E, but close enough!
@Shadow81989
@Shadow81989 5 жыл бұрын
Wow, nice! That almost seems like somebody generated the hashes for all "iloveyou[female name]" that he could imagine, and checked them before choosing "kate", lol
How to Choose a Password - Computerphile
11:33
Computerphile
Рет қаралды 1,2 МЛН
Cookie Stealing - Computerphile
16:12
Computerphile
Рет қаралды 1,1 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Diceware & Passwords - Computerphile
10:56
Computerphile
Рет қаралды 307 М.
One Encryption Standard to Rule Them All! - Computerphile
9:11
Computerphile
Рет қаралды 432 М.
TOR Hidden Services - Computerphile
11:42
Computerphile
Рет қаралды 1,2 МЛН
Elliptic Curve Back Door - Computerphile
12:24
Computerphile
Рет қаралды 518 М.
Double Ratchet Messaging Encryption - Computerphile
11:39
Computerphile
Рет қаралды 163 М.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 1 МЛН
Key Exchange Problems - Computerphile
9:18
Computerphile
Рет қаралды 362 М.
Diffie Hellman -the Mathematics bit- Computerphile
7:05
Computerphile
Рет қаралды 517 М.
How Secure Shell Works (SSH) - Computerphile
9:20
Computerphile
Рет қаралды 825 М.
SHA: Secure Hashing Algorithm - Computerphile
10:21
Computerphile
Рет қаралды 1,2 МЛН