News for hackers. Stuff that matters.
Re:Mozilla Guidelines to Secure SSH by infosechandbook on Tuesday November 09, 2021 @12:30AM (#29158069)
The guide is outdated if you rely on the latest version of OpenSSH. You must update such guides with every new version of OpenSSH.

Adding legacy configuration to your OpenSSH config files can even result in a false sense of security (e.g., if the server/client just skip the legacy part and you think it adds some protection).

Newer options to secure OpenSSH are also missing (e.g., using U2F for 2FA, introduced in OpenSSH 8.2 (Feb 2020).

Re:Mozilla Guidelines to Secure SSH by skoskie on Tuesday November 09, 2021 @12:56AM (#29158225)
Are there any updated guides you’re aware of that you could share?
Re:Mozilla Guidelines to Secure SSH by beermonster on Tuesday November 09, 2021 @04:36PM (#29167807)
The ssh-audit tool is quite handy for making config recommendations in line with current best practice.
Re:Mozilla Guidelines to Secure SSH by cosentiyes on Tuesday November 09, 2021 @12:16AM (#29157999)
What are some other high quality “harden your server” guides? Many seem to be out of date
Re:Mozilla Guidelines to Secure SSH by bravetraveler on Tuesday November 09, 2021 @06:00PM (#29168733)
Compliance benchmarks like the other user suggests are probably best. eg: CIS

They're updated fairly regularly. However, take them with a grain of salt.

They'll worry about things like TCPWrappers, but that's how we did firewalls before they existed. Needless in the days of iptables, ebtables, nftables, etc.

Blogs tend to be recycled/dated recommendations with none/very little third party testing.

Re:Mozilla Guidelines to Secure SSH by igetspam on Tuesday November 09, 2021 @06:37AM (#29160312)
CIS workbenches are updated regularly. You have to sign up for an account, which is free, to get access.
Re:Mozilla Guidelines to Secure SSH by bravetraveler on Tuesday November 09, 2021 @06:04PM (#29168778)
Just keep in mind that some of the recommendations could've been dropped 20 to 30 years ago.

I don't disagree, they make some good suggestions - but take TCPWrappers for example. CIS will suggest you use it.

That predates firewalls, and requires applications be built/linked against the library.

These days, not worth the time/effort. Do the default-drop policy they suggest, and carry on!

Re:Mozilla Guidelines to Secure SSH by markmaglana on Tuesday November 09, 2021 @01:06AM (#29158277)
It doesn't address the Trust On First Use (TOFU) issue.
Re:Mozilla Guidelines to Secure SSH by zdw on Tuesday November 09, 2021 @01:22AM (#29158364)
A SSH Certificate Authority signing host keys handles that, but requires additional setup.
Re:Mozilla Guidelines to Secure SSH by franga2000 on Tuesday November 09, 2021 @03:01AM (#29158961)
A quick and dirty way to do this is by syncing the known hosts file between all your clients. Make it writable by only the IT staff in charge of provisioning new systems and have them add the pubkeys during provisioning.
Re:Mozilla Guidelines to Secure SSH by csdvrx on Tuesday November 09, 2021 @09:31AM (#29162199)
Add SSHP records to your DNS entries, and use DNSSEC or, if you can't, DoH (DNS over HTTPS)
Re:Mozilla Guidelines to Secure SSH by fnord123 on Tuesday November 09, 2021 @12:27AM (#29158056)
> Mozilla Guidelines to Secure [Secure Shell]
Re:Mozilla Guidelines to Secure SSH by franga2000 on Tuesday November 09, 2021 @03:10AM (#29159006)
Seems pretty reasonable, actually. Not as crazy as ATM Machine, since you can't have an ATM that isn't a machine, but you can have a Secure Shell that isn't secure.

Could also be a verb ("Guidelines [on how] to Secure Secure Shell") but even as an adjective it makes sense. "Guidelines to [a] Secure [setup of] Secure Shell" is a reasonable way to shorten that sentence, just like "Guide to [writing] Fast Java [code]" would be.

Re:Mozilla Guidelines to Secure SSH by shmoe on Tuesday November 09, 2021 @12:37AM (#29158115)
Secure Secure Shell?
Re:Mozilla Guidelines to Secure SSH by soneil on Tuesday November 09, 2021 @04:43AM (#29159553)
It works. Secure is being used as a verb and SSH is being used as a noun. Mozilla guidelines to verb noun.
Re:Mozilla Guidelines to Secure SSH by 0xdeadb00f on Tuesday November 09, 2021 @10:38AM (#29163124)
...to secure the thing known as "secure shell"