News for hackers. Stuff that matters.
Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by johndough on Friday January 19, 2024 @09:44AM (#39056042)
Whether 65 bits is sufficient depends on your attack scenario. I agree that Google won't allow you to try that many passwords, but for other scenarios, 65 bits might not be enough.

For example, imagine that OP is reusing passwords across different websites as most people are doing. One server gets hacked and the SHA256 password hashes get leaked, which unfortunately is still common. Currently, the best bitcoin miners can hash in the order of 10^14 hashes per second, which amounts to just 2^65 / 10^14 / 86400 ≈ 4 days of hashing. To be fair, bitcoin miners usually are not suitable for password hashing, but I'd be surprised if the NSA does not have 1000s of similar devices somewhere. Is that a realistic scenario? Probably not. But it is certainly a technical possibility.

A lower case password with 10 characters is not sufficient at all. Anycone could bruteforce that in a day with just one modern GPU.

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by Ajedi32 on Friday January 19, 2024 @11:39AM (#39057426)
> imagine that OP is reusing passwords

FWIW that's impossible in this context since:

> you cannot set app passwords yourself

Though more generally, password reuse is indeed a problem regardless of entropy.

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by jefftk on Friday January 19, 2024 @03:14PM (#39060482)
Not impossible: you could get the application specific password and then start using it on other sites.

That would be foolish, but users do all sorts of foolish things.

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by vbezhenar on Friday January 19, 2024 @10:45AM (#39056800)
When data leak occurs, nobody's going to brute force random passwords. They'll use dictionary attacks. Using SHA-256 is strange. Some websites store clear text passwords. Some websites store bcrypt hashes. Why do you focus on SHA-256? Is there some kind of statistics that this particular kind of hash is common among hacked websites?

I agree that it depends on attack scenario. My scenario is: I expect website owners to find out about attack in a timely manner and disable all compromised accounts. Of course I won't reuse single password across different websites. Also I feel that most important websites nowadays require SMS or E-mail factor when logging in from another device, so this further decreases requirements for strong password.

And, of course, I don't expect to be targeted by government. They'll just hit my head with wrench until I unlock my iPhone, that would be cheapest attack on me, independent on password length.

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by johndough on Friday January 19, 2024 @04:19PM (#39061342)
> When data leak occurs, nobody's going to brute force random passwords.

People will absolutely bruteforce random passwords. There are entire communities (like hashmob net, not sure if I am allowed to link it directly) devoted to cracking as many hashes of breaches as possible. Dictionary attacks will get you most of the easy passwords, but are quickly exhausted.

> Why do you focus on SHA-256?

I chose this hash because, thanks to Bitcoin, we know how fast specialized hardware to compute that hash can be.

> Is there some kind of statistics that this particular kind of hash is common among hacked websites?

It's not the most common. That would sadly be MD5. But SHA-256 is not rare either.

> They'll just hit my head with wrench until I unlock my iPhone, that would be cheapest attack on me, independent on password length.

I agree, rubber-hose cryptanalysis can be very cost-efficient. https://en.wikipedia.org/wiki/Rubber-hose_cryptanalysis Fortunately, many governments are opposed to this kind of cryptanalysis, but YMMV.

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by basil-rash on Friday January 19, 2024 @10:17AM (#39056521)
The NSA already has full access to google’s data centers. If they want your password they’ll just sniff it in-flight.

https://www.zdnet.com/article/google-the-nsa-and-the-need-fo...

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by saalweachter on Friday January 19, 2024 @10:25AM (#39056606)
Since 2013, Google has switched to encrypting in transit across unsecured fiber: https://cloud.google.com/docs/security/encryption-in-transit...
Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by infamouscow on Friday January 19, 2024 @10:29AM (#39056653)
They don't get the benefit of the doubt. I've lost count of how many times these agencies have been caught illegally spying only to apologize and keep doing it in secret. There's probably even a Wikipedia page of all the whistleblowers.
Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by basil-rash on Friday January 19, 2024 @12:29PM (#39058206)
Even if they don’t have free reign over every bit of data (unlikely), there are certainly automated systems that will give them free access to any account they wish upon delivery of a rubber stamped “warrant”, signed by an anonymous “judge” in a secret court.
Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by Phlarp on Friday January 19, 2024 @01:26PM (#39059129)
Don't even need that, just an emergency data request sent from a compromised municipal police email account.

1)https://krebsonsecurity.com/tag/emergency-data-request/ 2)https://news.ycombinator.com/item?id=30842757

Re:Google will disable all but OAuth for IMAP, SMTP and POP ... by johndough on Friday January 19, 2024 @04:24PM (#39061387)
> There's probably even a Wikipedia page of all the whistleblowers.

This list does exist.

https://en.wikipedia.org/wiki/Global_surveillance_whistleblo...