News for hackers. Stuff that matters.
Re:Researcher uncovers one of the biggest password dumps in ... by lelanthran on Thursday January 18, 2024 @08:49AM (#39041629)
The HIBP database really should be open to the world, with the email being redacted.

I would love to grep the list of 25m passwords to see if any of mine are in there.

I don't particularly want to send my details to HIBP to check if I have been compromised.

Re:Researcher uncovers one of the biggest password dumps in ... by andrewla on Thursday January 18, 2024 @12:08PM (#39044339)
It's easy to check through their verification service if your passwords have been compromised.

Hash your password locally

    $ echo -n fredflinstone | shasum
    95e47d937e105fa1cc84bfa476b10f091304c090  - 
Then take the first five characters of the hash and invoke the API

    $ curl https://api.pwnedpasswords.com/range/95e47
    ...
    D8F3BA8D3952AA8917C78295EE1122F675C:17
    D910D224A8450006478ED28D2CE2D005343:10
    D91C102088F1D91469B803235DB60903259:874
    D937E105FA1CC84BFA476B10F091304C090:290
    D96BF2796784C142392D8B46AEF68B991D0:4
    D98009835A90E46EFFD43AC3E5C6BD1C14B:5
And there we have it -- my password is compromised (the suffix D937...)

Easy enough to script this up with minimal information leakage. All you're sending is 20 bits; that's not enough to do anything malicious even if your password is compromised.

Re:Researcher uncovers one of the biggest password dumps in ... by sambazi on Thursday January 18, 2024 @02:02PM (#39046077)
add two spaces right before the echo to avoid logging your secrets in the shell history
Re:Researcher uncovers one of the biggest password dumps in ... by andrewla on Thursday January 18, 2024 @02:08PM (#39046160)
Or better, just do a `(read -s asdf; echo -n $asdf | shasum)` to create a temporary subshell and never even expose your password in the shell output.
Re:Researcher uncovers one of the biggest password dumps in ... by sambazi on Thursday February 01, 2024 @01:16PM (#39219224)
will create interesting errors with certain characters
Re:Researcher uncovers one of the biggest password dumps in ... by mzs on Thursday January 18, 2024 @05:27PM (#39048767)

  % head -1 | tr -d \\n | shasum
Type your username and press the RETURN key.
Re:Researcher uncovers one of the biggest password dumps in ... by codetrotter on Thursday January 18, 2024 @06:53PM (#39049702)
One space is sufficient in bash, if memory serves right.

And secondly, on macOS with the default config for zsh no amount of spaces will help, I think. You have to first configure zsh to ignore from history when starting with space. And after that I think one space will be enough.

Re:Researcher uncovers one of the biggest password dumps in ... by nijave on Friday January 19, 2024 @07:45PM (#39063430)
That functionality in bash is controlled by the HISTCONTROL environment variable. Many systems this defaults to "ignorespace" but this isn't always the case.

On Fedora, with bash, HISTCONTROL defaults to "ignoredups" and is set by /etc/profile (unless it's changed in the last few years).

Usually you can set/unset the shell option "history". For instance, "set +o history" to disable history in the current shell and "set -o history" to turn it back on.

Edit, Looks like on Ubuntu HISTCONTROL=ignoreboth comes from .bashrc in /etc/skel/

Re:Researcher uncovers one of the biggest password dumps in ... by sambazi on Thursday February 01, 2024 @01:18PM (#39219238)
thanks for the context
Re:Researcher uncovers one of the biggest password dumps in ... by nprateem on Friday January 19, 2024 @02:37AM (#39052678)
Prefix not suffix
Re:Researcher uncovers one of the biggest password dumps in ... by crossroadsguy on Friday January 19, 2024 @07:01PM (#39063114)
This could be baked into BitWarden to be honest. Or is it already? Yeah it seems it's there already https://github.com/bitwarden/clients/issues/523
Re:Researcher uncovers one of the biggest password dumps in ... by hennell on Thursday January 18, 2024 @08:53AM (#39041656)
They have a downloader for the hashed password list: https://github.com/HaveIBeenPwned/PwnedPasswordsDownloader
Re:Researcher uncovers one of the biggest password dumps in ... by justinclift on Thursday January 18, 2024 @11:44AM (#39044002)
It's a .NET application, so may be windows only. :/
Re:Researcher uncovers one of the biggest password dumps in ... by jimbobimbo on Thursday January 18, 2024 @11:52AM (#39044118)
.NET 6+ is cross platform.
Re:Researcher uncovers one of the biggest password dumps in ... by justinclift on Thursday January 18, 2024 @11:57AM (#39044187)
Isn't that just specific parts, rather than the whole thing?
Re:Researcher uncovers one of the biggest password dumps in ... by daveoc64 on Thursday January 18, 2024 @03:48PM (#39047473)
The core of the .NET runtime is cross-platform.

You do have the option to use platform-specific APIs or frameworks, which will make your app only work on that platform.

In the case of this app, it doesn't use anything platform-specific, so it could run on Windows, Linux and macOS.

Re:Researcher uncovers one of the biggest password dumps in ... by thesuitonym on Thursday January 18, 2024 @09:15AM (#39041897)
Why does this need to be an app? Why not just release the hashes?
Re:Researcher uncovers one of the biggest password dumps in ... by CodesInChaos on Thursday January 18, 2024 @09:33AM (#39042102)
The hashes are split into a million (2^20) files based on the first 20 bits (5 hex characters) of the hash. The downloader is just a convenient way to download them all.

The urls are https://api.pwnedpasswords.com/range/00000 to .../FFFFF, downloadable via any http client.

Re:Researcher uncovers one of the biggest password dumps in ... by nighthawk454 on Thursday January 18, 2024 @03:36PM (#39047311)
Thanks, TIL! Bet JDownloader can make quick work of that as well
Re:Researcher uncovers one of the biggest password dumps in ... by rad_gruchalski on Thursday January 18, 2024 @05:19PM (#39048673)
You can just host it yourself: https://github.com/radekg/hibp.
Re:Researcher uncovers one of the biggest password dumps in ... by diggan on Thursday January 18, 2024 @09:03AM (#39041764)
Any ideas what the final size on disk would be after downloading?
Re:Researcher uncovers one of the biggest password dumps in ... by oldprogrammer2 on Thursday January 18, 2024 @09:29AM (#39042061)
It is 37 GB (I downloaded it yesterday).
Re:Researcher uncovers one of the biggest password dumps in ... by TacticalCoder on Thursday January 18, 2024 @10:27AM (#39042876)
Is it 37 GB with these new 1/3rd of previously unknown passwords hashes added?

So basically: did that DB grow from about 27 GB to 37 GB in the last few days?

Re:Researcher uncovers one of the biggest password dumps in ... by samstave on Thursday January 18, 2024 @10:23AM (#39042814)
Obligatory H2:

Can you see if my passwd is in there ***?*

Re:Researcher uncovers one of the biggest password dumps in ... by bookofjoe on Thursday January 18, 2024 @10:58AM (#39043336)
Asking for a friend
Re:Researcher uncovers one of the biggest password dumps in ... by denysvitali on Thursday January 18, 2024 @03:24PM (#39047157)
Looks like hunter2 to me
Re:Researcher uncovers one of the biggest password dumps in ... by jjulius on Thursday January 18, 2024 @09:55AM (#39042389)
As mentioned in the article, the database has been uploaded with emails redacted to Troy's Pwned Password search on haveibeenpwned.
Re:Researcher uncovers one of the biggest password dumps in ... by fritzo on Thursday January 18, 2024 @11:23AM (#39043673)
They should offer a small Bloom filter for download.
Re:Researcher uncovers one of the biggest password dumps in ... by phpisthebest on Thursday January 18, 2024 @08:53AM (#39041655)
You can download the password hashes.

https://haveibeenpwned.com/Passwords