Live data from Hacker News

RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

qualys.com

81–90 of 347 posts

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#82
post #75

Earlier quoted context omitted.

For a word like 'safe', or at least in CS, I would assume that the 'safe' one actually is 'safest'; that 'safer' is ehh it's not safe but it's an improvement on the unsafe one. It's saf er .

Similarly, safest is normal English means not completely safe, but more safe than the other options. So safe > safest > safer > safe-ish > unsafe.

Wait, that seems backwards to me as a native English speaker. The superlative version feels more safe. Safest > Safe > (…)

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#83

And who was notoriously not exploitable? The ones hiding sshd behind port knocks. And fail2ban: would work too. And a restrictive firewall: would help too. I don't use port-knocking but I really just don't get all those saying: "It's security theater" . We had not one but two major OpenSSH "near fiasco" (this RCE and the xz lib thing) that were both rendered unusable for attackers by using port knocking. To me port-k…

I put all my jank behind wireguard

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#85
post #74

And who was notoriously not exploitable? The ones hiding sshd behind port knocks. And fail2ban: would work too. And a restrictive firewall: would help too. I don't use port-knocking but I really just don't get all those saying: "It's security theater" . We had not one but two major OpenSSH "near fiasco" (this RCE and the xz lib thing) that were both rendered unusable for attackers by using port knocking. To me port-k…

I use port knocking to keep my ssh logs clean. I dont think it adds security (I even brag about using it in public). It allows me to read ssh's logs without having to remove all the script kiddie login attempt spam.

Saying you use it publicly doesn't defeat the security it gives though. Unless you publicly say the port knocking sequence. Which would be crazy.

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#86

Earlier quoted context omitted.

It should trigger fail2ban, that's for sure. Alerting is useless, with the volume of automated exploits attempted.

> It should trigger fail2ban, that's for sure. But people here are going to explain that fail2ban is security theater...

It's a doorstop, not a fix. Useful nonetheless.

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#87

And who was notoriously not exploitable? The ones hiding sshd behind port knocks. And fail2ban: would work too. And a restrictive firewall: would help too. I don't use port-knocking but I really just don't get all those saying: "It's security theater" . We had not one but two major OpenSSH "near fiasco" (this RCE and the xz lib thing) that were both rendered unusable for attackers by using port knocking. To me port-k…

Port knocking is a ludicrous security measure compared to the combination of: * configuring sshd to only listen over a Wireguard tunnel under your control ( or letting something like Tailscale set up the tunnel for you) * switching to ssh certificate authn instead of passwords or keys

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#88

And who was notoriously not exploitable? The ones hiding sshd behind port knocks. And fail2ban: would work too. And a restrictive firewall: would help too. I don't use port-knocking but I really just don't get all those saying: "It's security theater" . We had not one but two major OpenSSH "near fiasco" (this RCE and the xz lib thing) that were both rendered unusable for attackers by using port knocking. To me port-k…

> I don't use port-knocking but I really just don't get all those saying: "It's security theater".

It's not security theater but it's kind of outdated. Single Packet Authentication[0] is a significant improvement.

> How many exploits rendered cold dead in their tracks by port-knocking shall we need before people stop saying port-knocking is security theater?

Port knocking is one layer, but it shouldn't be the only one, or even a heavily relied upon one. Plenty of people might be in a position to see the sequence of ports you knock, for example.

Personally, I think if more people bothered to learn tools like SELinux instead of disabling it due to laziness or fear, that is what would stop most exploits dead. Containers are the middleground everyone attached to instead, though.

[0] https://www.cipherdyne.org/fwknop/docs/SPA.html

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#89

Earlier quoted context omitted.

Similarly, safest is normal English means not completely safe, but more safe than the other options. So safe > safest > safer > safe-ish > unsafe.

Wait, that seems backwards to me as a native English speaker. The superlative version feels more safe. Safest > Safe > (…)

I would assume he refers to "safe" being absolutely safe, while "safest" refers to the safest of the existing alternatives?

Re: RegreSSHion: RCE in OpenSSH's server, on glibc-based Linux systems

#90
post #4

Patch out for Debian 12; Debian 11 not affected. https://security-tracker.debian.org/tracker/CVE-2024-6387

Looks like Focal (20.04) isn't on an affected version. Jammy (22.04) looks like it is.

My procrastination pays off ...
Post reply on HN