News for hackers. Stuff that matters.
Re:The Legitimisation of Have I Been Pwned by nextgens on Wednesday March 21, 2018 @07:32AM (#16637094)
If you are looking for an "offline" way of checking your (windows) passwords against the HIBPv2 dataset, I encourage you to check my current pet project out: https://safepass.me

It's an active-directory password filter that is free for home-use and dirt-cheap otherwise.

Re:The Legitimisation of Have I Been Pwned by mihaifm on Wednesday March 21, 2018 @03:59PM (#16641763)
https://github.com/mihaifm/HIBPOfflineCheck - KeePass plugin doing the same thing
Re:The Legitimisation of Have I Been Pwned by Already__Taken on Wednesday March 21, 2018 @08:34AM (#16637469)
Also https://jacksonvd.com/checking-for-breached-passwords-ad-usi... found in https://haveibeenpwned.com/API/Consumers offers active directry integration both offline and on.
Re:The Legitimisation of Have I Been Pwned by nextgens on Wednesday March 21, 2018 @09:09AM (#16637678)
You're not comparing the same thing. One is a commercially supported product... that ships HIBPv2 in a ~400MB bundle, the other one a PoC... that suggests that doing a binary search over a 30GB+ dataset each time there is a password change is a sane thing to do.

https://github.com/JacksonVD/PwnedPasswordsDLL/blob/master/P...

I wouldn't recommend to anyone to seriously consider deploying that code in production!

Re:The Legitimisation of Have I Been Pwned by cdubzzz on Wednesday March 21, 2018 @10:23AM (#16638187)
I don’t think GP was offering a comparison so much as a related item to check out.

Why would you not recommend code that checks the hashed password against a local DB?

See also the “pwned-passwords-django” process here: https://www.b-list.org/weblog/2018/mar/06/two-new-projects

Re:The Legitimisation of Have I Been Pwned by nextgens on Wednesday March 21, 2018 @11:48AM (#16639128)
> Why would you not recommend code that checks the hashed password against a local DB?

I would. In fact that's why I have created a product to do exactly that in an efficient way...

Doing the checks online has too many drawbacks:

- availability: what do you do when the service/API is down or you can't reach it?

- determinism: what works today might not tomorrow

- security/privacy/anonymity: ...

I am just uncomfortable with naive code that makes it barely practical:

- if the dataset isn't pre-processed properly, binary searching through it won't lead to the expected results (and that's not always obvious)

- distributing a 30GB+ file on all the DCs

- binary searching through the dataset at runtime means seeking through 30GB... with a O(log n) complexity... in practice that means a very slow response time that gets exponentially worst with load.

If you pre-process the dataset you might as well do it "properly" and make it usable :p