Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Lounge

Notices

Reply
 
Thread Tools Search this Thread
Old 03-12-2025, 09:23 AM   #2641
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by Renate View Post
So keep your passwords long and random. That means you'll probably end up with a list of 200 or so untypeable passwords.
That is where a 100% open source password manager that doesn't access the internet is handy.

Quote:
Originally Posted by pdurrant View Post
Or just pick four words. CorrectHorseBatteryStaple.
Unfortunately a lot of places aren't on board with that yet and still require mixed case, numeric, and special characters (but exclude different arbitrary sets of special characters).
j.p.s is offline   Reply With Quote
Old 03-12-2025, 09:47 AM   #2642
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,987
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
There's also this:



https://xkcd.com/538/
ownedbycats is offline   Reply With Quote
Old 03-12-2025, 10:04 AM   #2643
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 767
Karma: 10000000
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by Renate View Post
The biggest deal is of course to use different passwords for everything, including crappy accounts that you don't care about. Some websites forces you to make an account for a one-time purchase. Generate a new password.
This is one place where paper can break down. I have on the order of 400 unique accounts in my password vaults (personal and work). Many are one-use things but I keep them just in case I need them again. This would be difficult to manage on something that fits in my wallet. Instead, I have a couple of YubiKeys with master passwords to my vaults on my physical key ring, with backups stored in a fireproof box.

Quote:
Originally Posted by pdurrant View Post
Or just pick four words. CorrectHorseBatteryStaple.
It's both good and maybe not so good advice. Depends on the attack vector.

Longer is better than complicated against brute force attacks. That is, an attacker trying to break into your mobileread account via brute force against the web login interface would need to spend much more time trying to find "correct horse battery staple" than that troubadour mash. Effectively forever for the longer password vs. weeks to months to maybe years for the shorter one, modulo whatever anti-brute force mechanisms mobileread has.

But a thing called rainbow tables exists. A rainbow table is a table of precomputed hashes of common passwords, dictionary words, and combinations. If an attacker can get a dump of the account database, they can apply a rainbow table to find matches and recover cleartext passwords in seconds. A variant of this is likely how attackers were able to partially compromise the LastPass account database a few years ago.

Long story short: passwords suck.
ratinox is offline   Reply With Quote
Old 03-12-2025, 10:05 AM   #2644
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 767
Karma: 10000000
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by ownedbycats View Post
There's also this:

https://xkcd.com/538/
Colloquially "rubber hose cryptanalysis".
ratinox is offline   Reply With Quote
Old 03-12-2025, 10:45 AM   #2645
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,075
Karma: 105211945
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by ratinox View Post
Long story short: passwords suck.
No, bad passwords and bad use of them suck. All the alternatives are worse in one way or another.
An Alpha tabbed small address book easily manages more than 400 passwords.

I duplicate non-critical passwords in the web browser, but Mozilla are arrogant idiots removing the Principle/main/"master" password on the mobile version of Firefox. Their faulty excuse is that the phone/tablet has a password. Moronic. So I don't store any passwords on my phones or tablets.

Some browsers don't actually encrypt the stored passwords!

Disable all form and financial "memory" on all browsers.

Last edited by Quoth; 03-12-2025 at 10:51 AM.
Quoth is offline   Reply With Quote
Old 03-12-2025, 10:46 AM   #2646
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,924
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by ratinox View Post
A rainbow table is a table of precomputed hashes of common passwords, dictionary words, and combinations.
That's all true, but even something as weak as Linux MD5Crypt has added "salt" to the encryption so that even a single password has 2^128 different hashes that you'd have to store.

If you think that it's that easy could you please crack the root password for a NetGear LM1200 modem? This is the factory password, not a personal one. I really could use the answer.
Code:
root:$1$uH6tuGYf$bjaX370zwmzgNHP/YhrAQ/
Yes, a farm of processors could crack it eventually but it would require a non-insignificant amount of electricity.

I wrote my own password cracker and if the password is "root" or "password" it cracks it inside the blink of an eye.
Renate is offline   Reply With Quote
Old 03-12-2025, 11:15 AM   #2647
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 767
Karma: 10000000
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by Renate View Post
That's all true, but even something as weak as Linux MD5Crypt has added "salt" to the encryption so that even a single password has 2^128 different hashes that you'd have to store.
That's trivial. No, really:
http://project-rainbowcrack.com/table.htm
The largest MD5 hash table is only about 700GB. Most are smaller.

Quote:
If you think that it's that easy could you please crack the root password for a NetGear LM1200 modem?
Try "password" (that's a common Netgear default).
If that's not it then I'm afraid I can't help you at this time but you might find it in one of the tables linked above.
ratinox is offline   Reply With Quote
Old 03-12-2025, 11:23 AM   #2648
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by ratinox View Post
But you do need to trust yourself not to make mistakes.
Indeed, but I'm very careful. If I get that wrong, at least I have only myself to blame.


Quote:
We have these things called wallets and purses, in their infinite variations, in which we keep small, important or valuable pieces of paper like money, ID cards, credit cards, passports, etc.
Wallets can get lost, pocket-picked etc..

I'm happy to take that risk with things like my credit cards (where at least the damage is limited by their credit limit, and fraudulent card-not-present use has some protection.

I'm not, however, willing to take that risk with, for example, my banking passwords.

Quote:
If you have a reasonably secure place to keep these things then you already have a reasonably secure place to keep a password "vault".
My secure location for storing important paper documents would not be convenient for passwords. I don't want to have to open the safe every time I want to log in to something.
jbjb is offline   Reply With Quote
Old 03-12-2025, 11:30 AM   #2649
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 767
Karma: 10000000
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by Quoth View Post
No, bad passwords and bad use of them suck. All the alternatives are worse in one way or another.
It's a case of "the worst authentication system ever, except for all of the others". Just because passwords aren't the worst doesn't make them good. It just makes them less bad.

Quote:
An Alpha tabbed small address book easily manages more than 400 passwords.
For some value of "easily". If it works for you then do it. Doesn't work so well for me anymore because my passwords look like "i-Jr_?<LN`y>A9YrPy~7wd&[".
ratinox is offline   Reply With Quote
Old 03-12-2025, 11:32 AM   #2650
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by ratinox View Post
But a thing called rainbow tables exists.
It's very standard practice to protect against rainbow table attacks by salting the password hashes. The attacker would then need a complete rainbow table for each possible salt value. For a long enough salt, that becomes impractical.

Quote:
A rainbow table is a table of precomputed hashes of common passwords, dictionary words, and combinations.
There's much more to it than that. It's certainly not restricted to common passwords etc. - the table will yield the hashes of any password generated by the reduction function from any of the other hashes in each chain (and it doesn't actually store any hashes, just the first and last password in each chain).

Quote:
If an attacker can get a dump of the account database, they can apply a rainbow table to find matches and recover cleartext passwords in seconds.
Not if it's adequately salted.

Last edited by jbjb; 03-12-2025 at 11:41 AM.
jbjb is offline   Reply With Quote
Old 03-12-2025, 11:37 AM   #2651
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by ratinox View Post
That's trivial. No, really:
http://project-rainbowcrack.com/table.htm
The largest MD5 hash table is only about 700GB. Most are smaller.
But you'd need one of those tables for each possible value of the salt. For a 256 bit salt, you'd need 2^256 tables of 700GB each - more bits of storage than there are atoms in the universe.

Not exactly "trivial".
jbjb is offline   Reply With Quote
Old 03-12-2025, 11:45 AM   #2652
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,924
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Quote:
Originally Posted by jbjb View Post
For a 256 bit salt, you'd need 2^256 tables of 700GB each - more bits of storage than there are atoms in the universe.

Not exactly "trivial".
Quit exaggerating the difficulties!
Since the salt is MD5 hashed you'd only need 2^128 tables of 700 GB.
Renate is offline   Reply With Quote
Old 03-12-2025, 11:55 AM   #2653
ratinox
Guru
ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.ratinox ought to be getting tired of karma fortunes by now.
 
Posts: 767
Karma: 10000000
Join Date: Oct 2016
Location: Somewhere in Time
Device: Forma, iPad Mini
Quote:
Originally Posted by jbjb View Post
But you'd need one of those tables for each possible value of the salt. For a 256 bit salt, you'd need 2^256 tables of 700GB each - more bits of storage than there are atoms in the universe.

Not exactly "trivial".
An attacker only needs to identify the salt algorithm once and there are ways to simplify this. One way is for an attacker to pre-seed the database with a "trojan" account of their own making, enabling a known plaintext attack against that hashed entry. Once they identify how the salts are generated they can use this to generate custom tables, which is orders of magnitude faster than brute force and doesn't require infinite storage.

It's all relative. You might not call it trivial, but I don't call it difficult. Getting the database ostensibly is the most difficult step. Once an attacker has that then its just a matter of time until it's cracked.
ratinox is offline   Reply With Quote
Old 03-12-2025, 11:57 AM   #2654
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by Renate View Post
Quit exaggerating the difficulties!
Since the salt is MD5 hashed you'd only need 2^128 tables of 700 GB.
Good point - I'd missed that the response I was disagreeing with was specifically about MD5 hashes.

I'll have to think about whether the 128 bit hash of MD5 really limits the number of tables required. The 256 bit salt is added to the reduction-function-generated password at each stage of the hash chain, so even though there are only 2^128 possible hash values it still feels like the 2^256 tables would still be required.

I'm not sure, though, to be honest, so I'll have to think about it.

For algorithms that generate longer hashes, the 2^256 tables still apply, though, and in any case 2^128 700GB tables is still a bit beyond "trivial"
jbjb is offline   Reply With Quote
Old 03-12-2025, 12:03 PM   #2655
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by ratinox View Post
An attacker only needs to identify the salt algorithm once and there are ways to simplify this.
One way is for an attacker to pre-seed the database with a "trojan" account of their own making, enabling a known plaintext attack against that hashed entry. Once they identify how the salts are generated they can use this to generate custom tables, which is orders of magnitude faster than brute force and doesn't require infinite storage.
In any sane environment the salts are generated properly randomly, using a high quality source of entropy. Not something that can be reverse engineered, unless you can spy on the source of entropy.

Quote:
It's all relative. You might not call it trivial, but I don't call it difficult. Getting the database ostensibly is the most difficult step. Once an attacker has that then it's just a matter of time until it's cracked.
It's always just a matter of time, but if that time is many lifetimes of the universe, we're probably OK.
jbjb is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Vent and Rant Thread TadW Lounge 38304 Yesterday 07:11 PM
Query about moderation in the Vent & Rant Thread. Hitch Feedback 14 07-16-2016 05:05 PM
Seriously thoughtful why did the vent and rant thread get moved? kindlekitten Lounge 10 04-05-2011 04:47 PM


All times are GMT -4. The time now is 07:53 PM.


MobileRead.com is a privately owned, operated and funded community.