News for hackers. Stuff that matters.
Re:Six Dumbest Ideas in Computer Security by lobsang on Sunday July 14, 2024 @09:07AM (#40960740)
Maybe I missed it, but I was surprised there was no mention of passwords.

Mandatory password composition rules (excluding minimum length) and rotating passwords as well as all attempts at "replacing passwords" are inherintly dumb in my opinion.

The first have obvious consequences (people writing passwords down, choosing the same passwords, adding 1) leading to the second which have horrible / confusing UX (no I don't want to have my phone/random token generator on me any time I try to do something) and default to "passwords" anyway.

Please just let me choose a password of greater than X length containing or not containing any chachters I choose. That way I can actually remember it when I'm not using my phone/computer, in a foreign country, etc.

Re:Six Dumbest Ideas in Computer Security by temporallobe on Sunday July 14, 2024 @10:45AM (#40961258)
I’ve been preaching this message for many years now. For example, since password generators basically make keys that can’t be remembered, this has led to the advent of password managers, all protected by a single password, so your single point of failure is now just ONE password, the consequences of which would be that an attacker would have access to all of your passwords.

The n-tries lockout rule is much more effective anyway, as it breaks the brute-force attack vector in most cases. I am not a cybersecurity expert, so perhaps there are cases where high-complexity, long passwords may make a difference.

Not to mention MFA makes most of this moot anyway.

Re:Six Dumbest Ideas in Computer Security by nouveaux on Sunday July 14, 2024 @12:41PM (#40961875)
Most of us can't remember more than one password. This means that if one site is compromised, then the attacker now has access to multiple sites. A password manager mitigates this issue.
Re:Six Dumbest Ideas in Computer Security by userbinator on Sunday July 14, 2024 @04:01PM (#40962863)
Vary the password per site based on your own algorithm.
Re:Six Dumbest Ideas in Computer Security by jay_kyburz on Sunday July 14, 2024 @05:04PM (#40963205)
AKA, put the name of the site in the password :)
Re:Six Dumbest Ideas in Computer Security by userbinator on Sunday July 14, 2024 @05:44PM (#40963418)
Not necessarily, but just a pattern that only you would likely remember.
Re:Six Dumbest Ideas in Computer Security by viraptor on Monday July 15, 2024 @12:11AM (#40965218)
You need a pattern that only you recognise/understand, not just remember. It takes only one leak of your password from service FooBar that looks like "f....b" to know what to try on other sites. Patterns easy to remember are mostly easy to understand.
Re:Six Dumbest Ideas in Computer Security by ArnoVW on Monday July 15, 2024 @02:50AM (#40965772)
With LLM that sort of approach can be attacked at scale
Re:Six Dumbest Ideas in Computer Security by Sohcahtoa82 on Monday July 15, 2024 @02:03PM (#40970061)
"MyPasswordIsSecureDespiteNotBeingComplexBecauseItIsLong_BobsForum" is great until Bob's Forum gets hacked and it turns out that they were storing your password in plain text and your password of "MyPasswordIsSecureDespiteNotBeingComplexBecauseItIsLong_Google" becomes easily guessed.
Re:Six Dumbest Ideas in Computer Security by zzo38computer on Monday July 15, 2024 @02:04PM (#40970066)
One way to mitigate such a problem is to use the hash of this text as the password, instead of using the text directly.
Re:Six Dumbest Ideas in Computer Security by tshaddox on Monday July 15, 2024 @11:09AM (#40968541)
That algorithm becomes analogous to the password to your password manager.
Re:Six Dumbest Ideas in Computer Security by cardanome on Sunday July 14, 2024 @05:46PM (#40963434)
People used to memorize the phone numbers of all important family members and close friends without much trouble. Anyone without a serious disability should have no trouble memorizing multiple passwords.

Sure, I do use password managers for random sites and services but I probably have at lower double digit amount of passwords memorized for the stuff that matters. Especially for stuff that I want to be able to access in an emergency when my phone/laptop gets stolen.

Re:Six Dumbest Ideas in Computer Security by watwut on Monday July 15, 2024 @05:23AM (#40966361)
They did not. They had papers with all those numbers written down next to landline phones. They also had little notebooks they carried everywhere with them with those numbers written down. You could buy those little notebooks in any store and they fitted into a pocket.

Moreover, those numbers did not changed for years and years. Unlike passwords that change, like, every 3 months.

Re:Six Dumbest Ideas in Computer Security by 542354234235 on Monday July 15, 2024 @09:08AM (#40967563)
People used to memorize a few phone numbers, likely less than 10, and used notebooks made specifically for writing down phone numbers to keep track of the rest.

Phone numbers of the people you called the most (the 10 you memorized) were overwhelmingly likely to be local numbers, so you were only memorizing (3 number chunk) + (4 number chunk). Password rules are all over the place. Memorizing numbers, letters, whole words, the capitalization of those letters and words, and special characters, that are far longer than ye olde timey phone numbers, is orders of magnitude more difficult.

I have over 100 passwords in my password manager. They are all unique, so if any one is compromised, it is contained. My password manager is protected by strong 2FA, so someone would have to physically interact with my property to gain access. In the real world, there is no scenario where memorizing all your passwords is more secure.

Re:Six Dumbest Ideas in Computer Security by soupbowl on Monday July 15, 2024 @12:38AM (#40965306)
Most people can surely remember beyond one password.
Re:Six Dumbest Ideas in Computer Security by defrost on Monday July 15, 2024 @12:42AM (#40965319)
Not to mention they're like underpants, you can use the same one forwards, backwards, inside out, and inside out backwards.
Re:Six Dumbest Ideas in Computer Security by bende511 on Monday July 15, 2024 @01:07AM (#40965410)
They can remember O(1) passwords, but they need O(n) passwords
Re:Six Dumbest Ideas in Computer Security by chipsrafferty on Monday July 15, 2024 @12:46AM (#40965331)
Surely not more than 1 or 2
Re:Six Dumbest Ideas in Computer Security by borski on Sunday July 14, 2024 @01:07PM (#40962032)
> so your single point of failure is now just ONE password, the consequences of which would be that an attacker would have access to all of your passwords.

Most managers have 2FA, or an offline key, to prevent this issue, and encrypt your passwords at rest so that without that key (and the password) the database is useless.

Re:Six Dumbest Ideas in Computer Security by nottorp on Sunday July 14, 2024 @01:31PM (#40962172)
> and encrypt your passwords at rest

I haven't turned off my desktop this year. How does encryption at rest help?

Re:Six Dumbest Ideas in Computer Security by marshray on Sunday July 14, 2024 @04:14PM (#40962945)
When your old hard drive turns up on ebay.
Re:Six Dumbest Ideas in Computer Security by nottorp on Sunday July 14, 2024 @04:28PM (#40963039)
It's not safe to sell SSDs is it?

And even if it were, who would buy a used SSD with unknown durability gone?

Re:Six Dumbest Ideas in Computer Security by ziml77 on Sunday July 14, 2024 @04:58PM (#40963176)
If the data was always encrypted, then simply discarding the keys effectively means the drive is left filled with random data. Also, NVMe drives can be sent the sanitize command which can erase/overwrite the data across the entire physical drive rather than just what's mapped into the logical view. I believe there's SATA commands to perform similar actions.
Re:Six Dumbest Ideas in Computer Security by justsomehnguy on Monday July 15, 2024 @03:25AM (#40965891)
> t's not safe to sell SSDs is it?

Bitlocker (or anything comparable) makes it safe or ATA Secure Erase if you can issue it (not usable for the system drive most of the times) and check it afterwards.

> And even if it were, who would buy a used SSD with unknown

it doesn't worth it for $30 drive, for the multi-TB ones it's quite common, especially for the ssrver grade ones (look for the PM1723/PM1733)

Re:Six Dumbest Ideas in Computer Security by doubled112 on Sunday July 14, 2024 @01:59PM (#40962301)
My password manager locks when I lock my screen. You can configure it to lock after some time.

The database is encrypted at rest.

Re:Six Dumbest Ideas in Computer Security by necovek on Sunday July 14, 2024 @02:34PM (#40962488)
Locking is not sufficient: it would need to overwrite the memory where passwords were decrypted to. With virtual memory, this becomes harder.
Re:Six Dumbest Ideas in Computer Security by compootr on Sunday July 14, 2024 @05:04PM (#40963204)
What's sufficient depends on your threat model.

Normal dude in a secure office? An auto-locking password manager would suffice.

Someone that should be concerned with passwords in-memory is someone who believes another has full physical access to their computer (and can, say, freeze RAM in nitrogen to extract passwords

My largest concern would be an adversary snatching my phone while my password manager was actively opened

Re:Six Dumbest Ideas in Computer Security by necovek on Monday July 15, 2024 @02:34PM (#40970299)
Locking a password manager and your computer is certainly good enough in many cases. But gaining access to memory might not need the sophistication of using nitrogen (see eg https://en.m.wikipedia.org/wiki/DMA_attack).
Re:Six Dumbest Ideas in Computer Security by freeone3000 on Sunday July 14, 2024 @05:46PM (#40963432)
But still not particularly hard. mmap has a MMAP_FIXED flag for this particular reason — overwrite the arena you’re decrypting to, and you should be set.
Re:Six Dumbest Ideas in Computer Security by supertrope on Sunday July 14, 2024 @09:17PM (#40964555)
Re:Six Dumbest Ideas in Computer Security by necovek on Monday July 15, 2024 @07:21AM (#40966828)
> On Unix-like systems, KeePass 2.x uses ChaCha20, because Mono does not provide any effective memory protection method.

So only Windows seems to use secure memory protection.

Re:Six Dumbest Ideas in Computer Security by supertrope on Monday July 15, 2024 @09:00AM (#40967488)
Re:Six Dumbest Ideas in Computer Security by necovek on Monday July 15, 2024 @02:13PM (#40970134)
Ok, we seem to be moving the goalposts a bit.

My point is that you need to read up on it to ensure the implementation of memory handling for your password manager is really safe. As you demonstrate yourself, KeePass has different clients with different memory protection profiles which also depends on the system.

Re:Six Dumbest Ideas in Computer Security by borski on Sunday July 14, 2024 @11:03PM (#40964955)
Re:Six Dumbest Ideas in Computer Security by unethical_ban on Sunday July 14, 2024 @11:46PM (#40965128)
The one password and the app that uses it are more secure than most other applications. Lock out is just another term for DDoS if a bad actor knows usernames.

I love proton pass.

Re:Six Dumbest Ideas in Computer Security by wruza on Monday July 15, 2024 @01:05AM (#40965402)
My bitwarden plugin locks out after a few minutes of inactivity. New installations are protected by totp. So one has to physically be at one of my devices few minutes after I leave even if they have a password. This reduces the attack source to a few people that I have to trust anyway. Also I can lock / logout manually if situation suggests. Or not log in at all and instead type the password from my phone screen.

I understand the conceptual risk of storing everything behind a single “door”. That’s not ideal. But in practice, circumstances force you to create passwords, expose passwords, reset passwords, so you cannot remember them all. You either write them down (where? how secure?) or resort to having only a few “that you usually use”.

Password managers solve the “where? how secure?” part. They don’t solve security, they help you to not do stupid things under pressure.

Re:Six Dumbest Ideas in Computer Security by fragmede on Sunday July 14, 2024 @10:16AM (#40961113)
on the other hand, to gave us the password game, so there's that.

https://neal.fun/password-game/

Re:Six Dumbest Ideas in Computer Security by belinder on Sunday July 14, 2024 @09:52AM (#40960990)
Minimum length is dumb too because people just append 1 until it fits
Re:Six Dumbest Ideas in Computer Security by hunter2_ on Sunday July 14, 2024 @10:20AM (#40961134)
But when someone tries to attack such a password, as long as whatever the user devised isn't represented by an entry in the attack dictionary, the attack strategy falls back to brute force, at which point a repetition scheme is irrelevant to attack time. Granted, if I were creating a repetitive password to meet a length requirement without high mental load, I'd repeat a more interesting part over and over, not a single character.
Re:Six Dumbest Ideas in Computer Security by borski on Sunday July 14, 2024 @01:07PM (#40962035)
Sure. But most people add “111111” or “123456” to the end. That’s why it’s on top of every password list.
Re:Six Dumbest Ideas in Computer Security by hunter2_ on Monday July 15, 2024 @12:32AM (#40965292)
If cracking techniques catch the concatenation of those as suffixes to short undefined things, which I think many people would do at minimum, that would be worrisome indeed.
Re:Six Dumbest Ideas in Computer Security by rekabis on Sunday July 14, 2024 @10:15AM (#40961105)
I would love to see most drop-in/bolt-on authentication packages (such as DotNet’s Identity system) to adopt “bitwise complexity” as the only rule: not based on length or content, only the mathematical complexity of the bits used. KeePass uses this as an estimate of password “goodness”, and it’s altered my entire view of how appropriate any one password can be.
Re:Six Dumbest Ideas in Computer Security by Terr_ on Sunday July 14, 2024 @05:46PM (#40963433)
IIRC the key point there is that it's contextual to whatever generation method scheme you used--or at least what method you told it was used--and it assumes the attacker knows the generation scheme.

So "arugula" will score is very badly in the context of a passphrase of English words, but scores better as a (supposedly) random assortment of lowercase letters, etc.

Re:Six Dumbest Ideas in Computer Security by jamesfinlayson on Monday July 15, 2024 @12:57AM (#40965377)
I'm told that at work we're not allowed to have the same character appear three or more times consecutively in a password (I have never tried).
Re:Six Dumbest Ideas in Computer Security by NeoTar on Monday July 15, 2024 @09:45AM (#40967852)
Undisclosed minimum length is particularly egregious.

It's very frustrating when you've got a secure system and you spend a few minutes thinking up a great, memorable, secure password; then realize that it's too few (or worse, too many!) characters.

Even worse when the length requirements are incompatible with your password generation tool.

Re:Six Dumbest Ideas in Computer Security by raesene9 on Sunday July 14, 2024 @02:32PM (#40962482)
TBH where you see this kind of thing (mandatory periodic password rotation every month or two) being recommended, it's people not keeping up with even regulators view of good security practice.

Both NIST in the US (https://pages.nist.gov/800-63-FAQ/) and NCSC in the UK (https://www.ncsc.gov.uk/collection/passwords/updating-your-a...) have quite decent guidance that doesn't have that kind of requirement.

Re:Six Dumbest Ideas in Computer Security by crngefest on Sunday July 14, 2024 @02:59PM (#40962604)
Well, my experience working in the industry is that almost no company uses good security practices or goes beyond some outdated checklists - a huge number wants to rotate passwords, disallow/require special characters, lock out users after X attempts, or disallow users to choose a password they used previously (never understood that one).

I think the number of orgs that follow best practices from NIST etc is pretty low.

Re:Six Dumbest Ideas in Computer Security by 8xeh on Sunday July 14, 2024 @04:19PM (#40962991)
It's not necessarily the organization's fault. In several companies that I've worked for (including government contractors) we are required to implement "certifications" of one kind or another to handle certain kinds of data, or to get some insurance, or to win some contract.

There's nothing inherently wrong with that, but many of these require dubious "checkbox security" procedures and practices.

Unfortunately, there's no point in arguing with an insurance company or a contract or a certification organization, certainly not when you're "just" the engineer, IT guy, or end user.

There's also little point in arguing with your boss about it either. "Hey boss, this security requirement is pointless because of technical reason X and Y." Boss: "We have to do it to get the million dollar contract. Besides, more security is better, right? What's the problem?"

Re:Six Dumbest Ideas in Computer Security by funnybeam on Tuesday July 16, 2024 @07:19AM (#40975467)
I’ve had several companies, including cyber insurers, ask for specific password expiry policies and when I’ve gone back to them explaining that we don’t expire passwords and referencing the NCSC and NIST advice all of them have accepted that without any arguments.

As you say, these are largely box ticking exercises but you don’t have to accept the limited options they give you as long as you can justify your position

Re:Six Dumbest Ideas in Computer Security by IIsi50MHz on Thursday July 18, 2024 @12:00PM (#40996963)
And to add to this, it can sometimes be helpful to reply to every wrongheaded security request with "I am not going to decrease the security of my users.". You can use before or after, but once you've explained why a request is not permissible, you can use this line instead of repeatedly explaining.
Re:Six Dumbest Ideas in Computer Security by Dalewyn on Sunday July 14, 2024 @04:56PM (#40963163)
>lock out users after X attempts

Legitimate users usually aren't going to fail more than a couple times. If someone (or something) is repeatedly failing, lock that shit down so a sysadmin can take a look at leisure.

>disallow users to choose a password they used previously (never understood that one)

It's so potentially compromised passwords from before don't come back into cycle now.

Re:Six Dumbest Ideas in Computer Security by marky1991_2 on Monday July 15, 2024 @02:08AM (#40965632)
I fail all the time. Oops, forgot to change my keyboard layout back or 'is it flamingmonkey1, 2, or 3 this time?' (because I have to rotate it every N months and clearly I'm not going to keep generating new passwords that I have to remember, unless the security people really explain why, which they never do), or 'oops, capslock was on', or 'does this password prompt require special characters (is it flamingmonkey1!?) or does it ban them? (or worst of all 'is whatever validates passwords just broken mysteriously and I have to reset my password to fix it?')

There's so many reasons I get passwords wrong. (it doesn't help that work has 4 systems that all use different passwords, all with different requirements).

If you locked me out (without me being able to easily unlock myself), I would immediately consider this an even-more-hostile relationship than normal and would immediately respond in kind.

Re:Six Dumbest Ideas in Computer Security by michaelt on Monday July 15, 2024 @05:49AM (#40966458)
> Legitimate users usually aren't going to fail more than a couple times.

Have your users authenticate to the wifi with a certificate that expires after 18 months, and you'll find users will reboot a dozen times or so, racking up authentication failures each time, before they call IT support.

Re:Six Dumbest Ideas in Computer Security by jay_kyburz on Sunday July 14, 2024 @04:59PM (#40963183)
>disallow users to choose a password they used previously

I think Epic Game Store hit me with that one the other day. Had to add a 1 to the end.

A common pattern for me is that I create an account at home, and make a new secure password.

Then one day I log in a work but don't have the password on me so I reset it.

Then I try and login again at home, don't have the password from work, so try and reset it back to the password I have at home.

Re:Six Dumbest Ideas in Computer Security by ivlad on Sunday July 14, 2024 @09:22PM (#40964568)
> disallow users to choose a password they used previously (never understood that one)

That’s because you never responded to an incident when user changed their compromised password because they were forced to only to change it back next day because “it’s too hard to remember a new one”.

Re:Six Dumbest Ideas in Computer Security by crngefest on Thursday July 18, 2024 @08:22AM (#40994923)
That’s easy to prevent:

Disallow the use of breached passwords - whenever a password change occurs check against e.g haveibeenpwned. No need to remember past passwords (which is another security risk btw if you ever get breached it will leak all passwords the user ever had).

Re:Six Dumbest Ideas in Computer Security by II2II on Sunday July 14, 2024 @02:57PM (#40962597)
> Mandatory password composition rules (excluding minimum length) and rotating passwords as well as all attempts at "replacing passwords" are inherintly dumb in my opinion.

I suspect that rotating passwords was a good idea at the time. There was some pretty poor security practices several decades ago, like sending passwords as clear text, which took decades to resolve. There are also people like to share passwords like candies. I'm not talking about sharing passwords to a streaming service you subscribe to, I'm talking about sharing access to critical resources with colleagues within an organization. I mean, it's still pretty bad which is why I disagree with them dismissing educating end users. Sure, some stuff can be resolved via technical means. They gave examples of that. Yet the social problems are rarely solvable via technical means (e.g. password sharing).

Re:Six Dumbest Ideas in Computer Security by marshray on Sunday July 14, 2024 @04:01PM (#40962860)
Much of the advice around passwords comes from time-sharing systems and predates the internet.

Rules like "don't write passwords down," "don't show them on the screen", and "change them every N days" all make a lot more sense if you're managing a bank branch open-plan office with hardwired terminals.

Re:Six Dumbest Ideas in Computer Security by 01HNNWZ0MV43FF on Sunday July 14, 2024 @05:36PM (#40963369)
It's funny, writing passwords down is excellent advice on today's Internet.

Physical security is easy, who's gonna see inside your purse? How often does that get stolen? Phones and laptops are high-value targets for thieves, and if they're online there could be a vuln. Paper doesn't have RCE.

(That said, I use KeePass, because it's nice to have it synced and encrypted. These days only my KeePass password is written down.)

Re:Six Dumbest Ideas in Computer Security by II2II on Sunday July 14, 2024 @08:25PM (#40964323)
I was going to say such advice does have its limits. Then I remembered something: even though my current credit card does have a chip, the design suggests that it is primarily intended as a record of a "user id" and "password" (e.g. large easy to read numbers, rather than the embossed numbers intended to make impressions upon carbon copy forms that typically became impossible to read with wear).
Re:Six Dumbest Ideas in Computer Security by j16sdiz on Sunday July 14, 2024 @09:59PM (#40964709)
Not exactly. Some transactions are cryptographically authenticated. "The algorithm" looks at those bits. Transactions with proper chips authentication are less likely to be flagged as fraud
Re:Six Dumbest Ideas in Computer Security by viraptor on Monday July 15, 2024 @12:05AM (#40965196)
Also the embossed numbers are not that common in countries outside the US. For quite a while the numbers themselves are also disappearing from the front. (If you even use the physical card rather than your phone)
Re:Six Dumbest Ideas in Computer Security by bboygravity on Monday July 15, 2024 @03:11AM (#40965839)
I remember being mind-blown on my first trip to the US when a taxi driver took my card and literally carbon copied it manually (with a pencil and carbon copy booklet) on the spot.

I had been using my credit card for at least a decade (Europe) and it never ever occured to me that the embossed letters had any function other than aesthetic.

And the cheques... jaw drop

Re:Six Dumbest Ideas in Computer Security by robin_reala on Monday July 15, 2024 @03:32AM (#40965924)
That is how they used to work though. I’m old enough to remember imprinters, which literally used the embossed numbers to create a carbon copy: https://en.wikipedia.org/wiki/Credit_card_imprinter
Re:Six Dumbest Ideas in Computer Security by Zanfa on Monday July 15, 2024 @05:07AM (#40966303)
I had a food delivery guy use one in the US 2012/2013. It was like seeing a native tribe perform their traditional dance. It still blows my mind that chip + "signature" is a thing in the US. What good is a random indiscernible scribble on a tiny resistive touch screen as far as proving anything?
Re:Six Dumbest Ideas in Computer Security by staunton on Monday July 15, 2024 @07:03AM (#40966759)
It's quite illegal to fake signatures so it acts as a deterrent. I can't think of anything else...
Re:Six Dumbest Ideas in Computer Security by 542354234235 on Monday July 15, 2024 @08:43AM (#40967346)
I could be wrong but I'm pretty sure it is also illegal to steal someone's credit card and use it. If you have already done that, I don't think the idea of scribbling illegally is going to warn anyone off. Chip+PIN is objectively far more secure. People used debit cards with swipe+PIN for decades just fine and chip+PIN is used in many other countries without an issue. It is just silly to keep using signature and acting like it does absolutely anything at all.
Re:Six Dumbest Ideas in Computer Security by chgs on Monday July 15, 2024 @03:53AM (#40966004)
That was how things worked back in the 80s and 90s, online or chip systems were in place 20 years ago in Europe
Re:Six Dumbest Ideas in Computer Security by Jerrrrrrry on Sunday July 14, 2024 @03:54PM (#40962825)

  >I suspect that rotating passwords was a good idea at the time.
yes, when all password hashes were available to all users, and therefore had an expected bruteforce/expiration date.

It is just another evolutionary artifact from a developing technology complexed with messy humans.

Repeated truisms - especially in compsci, can be dangerous.

NIST has finally understood that complex password requirements decrease security, because nobody is attacking the entrophy space - they are attacking the post-it note/notepad text file instead.

This is actually a good example of an opposite case of Chesterton’s Fence

https://fs.blog/chestertons-fence/

Re:Six Dumbest Ideas in Computer Security by marshray on Sunday July 14, 2024 @04:12PM (#40962928)
It's not crazy to want a system to be designed such that it tends to converge to a secure state over time. We still have expiration dates on ID and credit cards and https certificates.

The advantages just didn't outweigh the disadvantages in this scenario.

Re:Six Dumbest Ideas in Computer Security by Jerrrrrrry on Sunday July 14, 2024 @04:39PM (#40963082)
Apples to oranges.

Usernames are public now.

Back then, your username was public, and your password was assumed cracked/public, within a designated time-frame.

Your analogy would hold if when your cert expires, everyone gets to spoof it consequence free.

Re:Six Dumbest Ideas in Computer Security by freeone3000 on Sunday July 14, 2024 @05:42PM (#40963401)
The cert can still be broken. The signatures are difficult, but not impossible, to break: it can and has been done with much older certificates, which means it will likely be doable to current certificates in a few years. In addition, certificate rotation allows for mandatory algorithm updates and certificate transparency logs. CT itself has exposed a few actors breaking the CA/B rules by backdating certificates with weaker encryption standards.

Certificate expiration, and cryptographic key rotation in general, works and is useful.

Re:Six Dumbest Ideas in Computer Security by Jerrrrrrry on Sunday July 14, 2024 @06:52PM (#40963806)
Re:Six Dumbest Ideas in Computer Security by bawolff on Sunday July 14, 2024 @08:45PM (#40964425)
> which means it will likely be doable to current certificates in a few years

It is extremely unlikely a modern certificate will be broken in the time horizon of a few years through a cryptography break.

All systems eventually fail, but i expect it will be several decades at the earliest before a modern certificate breaks from a crypto attack.

Keep in mind that md5 started to be warned against in 1996. It wasn't until 2012 that a malicious attack used md5's weakness. That is 16 years from warning to attack. At this stage we dont even know about any weaknesses about currently used crypto (except quantum stuff)

Rotating certificates is more about guarding against incorrectly issued and compromised certificates.

Re:Six Dumbest Ideas in Computer Security by j16sdiz on Sunday July 14, 2024 @10:12PM (#40964765)
Many modern crypto can be broken by nonce reuse.

Rotating certificates guard against bad PRNG and birthday paradox

Re:Six Dumbest Ideas in Computer Security by bawolff on Monday July 15, 2024 @03:22AM (#40965885)
I disagree. I don't think rotating certificates would help against birthday attacks or bad prng.

Tbh, i have no idea which part you are attacking with the birthday attack in this specific context. It doesn't seem particularly relavent.

(At the risk of saying something stupid) - i was under the impression RSA did not use nonces, so i don't see how that is relavent for an rsa cert.

For an ecdsa cert, nonce reuse is pretty catastrophic. I fail to see how short lived certs help since the old certs don't magically disappear, they still exist and can be used in attacks even after being rotated.

Re:Six Dumbest Ideas in Computer Security by freeone3000 on Monday July 15, 2024 @11:43AM (#40968893)
Certs should be checked against a CRL and CT for revocation, and expired certs should never be accepted, for this reason among others.
Re:Six Dumbest Ideas in Computer Security by bawolff on Monday July 15, 2024 @08:36PM (#40972700)
CT isn't used for revocation. CRLs aren't really a thing in practise. Refusing to accept expired certs is important for other reasons but won't save you from a reused ECDSA nonce.
Re:Six Dumbest Ideas in Computer Security by marshray on Monday July 15, 2024 @08:18PM (#40972608)
If properly generated even the smallest RSA key sizes used in practice are still safe from birthday collisions.

But there have been several high-profile cases of bad RNGs generating multiple certs with RSA keys that had common factors. I think if you were put at risk by such a broken RNG, frequently re-generating your certs would tend to make things worse, not better.

Re:Six Dumbest Ideas in Computer Security by Jerrrrrrry on Monday July 15, 2024 @09:48PM (#40973044)
Don't be nice, or do it thrice - hash input twice.
Re:Six Dumbest Ideas in Computer Security by marshray on Monday July 15, 2024 @03:45PM (#40970880)
Crypto breaks are a concern for sure, but typically the more short-term concern is server compromise. Cert revocation is not reliably checked by all clients, and sites may not even know to revoke it.

So it's essential that if/when a bad guy pops a single server that they don't get a secret that allows them to conduct further attacks against the site for some indefinite period into the future.

Re:Six Dumbest Ideas in Computer Security by II2II on Sunday July 14, 2024 @08:20PM (#40964308)
Expiration dates on passwords is probably a good idea, except that it encourages bad habits from the end user. It encouraged bad habits since the expiration period was typically very short. For example: I don't have much of an issue with the 1 year period at one workplace, but I do have an issue with the 3 month period at another work place. The other issue is that people have to manage many passwords. Heck, I worked at one place where each employee was supposed to access multiple systems and have different passwords on each system. (Never mind all of the passwords they have to manage outside of the workplace.)

Contrast that to the other examples you provided. All of them are typically valid for several years. In two of the cases, people are managing a limited number of pieces of plastic.

Re:Six Dumbest Ideas in Computer Security by watwut on Monday July 15, 2024 @05:21AM (#40966355)
You had 6 systems to log into, each with different requirements put on password. You are not supposed to share the password between system. Each system forces you to change the password in different schedule. And IT acts angry when you, predictably, forget password.

It did not converged to secure state, it necessary converged to everyone creating some predictable password system.

Re:Six Dumbest Ideas in Computer Security by nmadden on Monday July 15, 2024 @02:38AM (#40965733)
> NIST has finally understood that complex password requirements decrease security, because nobody is attacking the entrophy space - they are attacking the post-it note/notepad text file instead.

Actually NIST provide a detailed rationale for their advice [1]. Attackers very much are attacking the entropy space (credential stuffing with cracked passwords is the #1 technique used in breaches). But password change and complexity rules are pointless precisely because they don’t increase the entropy of the passwords. From NIST:

> As noted above, composition rules are commonly used in an attempt to increase the difficulty of guessing user-chosen passwords. Research has shown, however, that users respond in very predictable ways to the requirements imposed by composition rules [Policies]. For example, a user that might have chosen “password” as their password would be relatively likely to choose “Password1” if required to include an uppercase letter and a number, or “Password1!” if a symbol is also required.

[1]: https://pages.nist.gov/800-63-3/sp800-63b.html#appA

Re:Six Dumbest Ideas in Computer Security by n4r9 on Monday July 15, 2024 @05:39AM (#40966415)
> yes, when all password hashes were available to all users, and therefore had an expected bruteforce/expiration date.

Pretty much anyone I've spoken to candidly about rotating passwords has said that they use a basic change to derive the next password from the old. For example, incrementing a number and/or a letter. If that was as common a practise as I suspect, then rotating passwords doesn't add much security. It just meanstthat hackers had to go through a few common manipulation strategies after breaking the hash.

Re:Six Dumbest Ideas in Computer Security by Jerrrrrrry on Monday July 15, 2024 @05:44PM (#40971726)
This is actually the third-order effect of itself, by itself.

Require frequent passwords, humans cheat, boom: your brute-force space just went from 1024 bits to 14, assuming you can onboard a red-team plant far enough to get the template for the default passwords.

If I know _bigcorp_ gives defaulted credentials in the format of [First Initial + Middle Initial + month_day] then not only can I piggyback a trivially-created IT/support ticket, I can also just guess that in 60, 90, 120 days, your credentials are the same, but the month_day - even if not correct, the search space is reduced by magnitudes.

Re:Six Dumbest Ideas in Computer Security by izacus on Sunday July 14, 2024 @03:20PM (#40962690)
Based on the type of this rant - all security focused with little thought about usability of systems they're talking about - the author would probably be one of those people that mandate password rotation every week with minimum of 18 characters to "design systems safely by defatult". Oh, and prevent keyboards from working because they can infect computers via USB or something.

(Yes, I'm commenting on the wierd idea about not allowing processes to run without asking - we're now learning from mobile OSes that this isn't practically feasible to build a universally useful OS that drove most of computer growth in the last 30 years).

Re:Six Dumbest Ideas in Computer Security by red_admiral on Sunday July 14, 2024 @03:55PM (#40962827)
I was going to say passwords too ... but now I think passkeys would be a better candidate for dumbest ideas. For the average user, I expect they will cause no end of confusion.
Re:Six Dumbest Ideas in Computer Security by cqqxo4zV46cp on Sunday July 14, 2024 @08:18PM (#40964299)
That’s just recency bias.
Re:Six Dumbest Ideas in Computer Security by JJMcJ on Sunday July 14, 2024 @06:51PM (#40963803)
> people writing passwords down

Which is better, a strong password written down, or better yet stored a secured password manager, or a weak password committed to memory?

As usual, XKCD has something to say about it: https://xkcd.com/936/

Re:Six Dumbest Ideas in Computer Security by uconnectlol on Sunday July 14, 2024 @08:27PM (#40964334)
Password policies are a joke since you use 5 websites and they will have 5 policies.

1. Bank etc will not allow special characters, because that's a "hacking attempt". So Firefox's password generator, for example, won't work. The user works around this by typing in suckmyDICK123!! and his password still never gets hacked because there usually isn't enough bruteforce throughput even with 1000 proxies or you'll just get your account locked forever once someone attempts to log into it 5 times and those 1000 IPs only get between 0.5-3 tries each with today's snakeoil appliances on the network. There's also the fact that most people already know that "bots will try your passwords at superhuman rate" by now. Then there's also the fact that not even one of these password policies stops users from choosing bad passwords. This is simply a case of "responsible" people trying and wasting tons of times to solve reality. These people who claim to know better than you have not even thought this out and have definitely not thought about much at all.

2. For everything that isn't your one or two sensitive things, like the bank, you want to use the same password. For example the 80 games you played for one minute that obnoxiously require making an account (for the bullshit non-game aspects of the game such as in game trading items). Most have custom GUIs too and you can't paste into them. You could use a password manager for these but why bother. You just use the same pass for all of them.

Re:Six Dumbest Ideas in Computer Security by ivlad on Sunday July 14, 2024 @09:15PM (#40964550)
Dear user with password “password11111111111” logging in from a random computer with two password stealers active, from a foreign country, and not willing to use MFA, incident response team will thank you and prepare a warm welcome when you are back to office.

Honestly, this comment shows, that user education does not work.

Re:Six Dumbest Ideas in Computer Security by cuu508 on Monday July 15, 2024 @03:56AM (#40966015)
> That way I can actually remember it when I'm not using my phone/computer, in a foreign country, etc.

I'd be very wary of logging into accounts on any computer/phone other than my own.

Re:Six Dumbest Ideas in Computer Security by hot_gril on Monday July 15, 2024 @12:52PM (#40969496)
I don't get how it took until present day for randomly-generated asymmetric keys to become somewhat commonly used on the Web etc in the form of "passkeys" (confusing name btw). Password rotation and other rules never worked. Some sites still require a capital letter, number, and symbol, as if 99% of people aren't going to transform "cheese" -> "Cheese1!".