News for hackers. Stuff that matters.
Re:SSH server 0-day exploit by deutronium on Tuesday July 07, 2009 @03:44PM (#692278)
Or possibly set up port knocking, may be overkill though
Re:SSH server 0-day exploit by tlrobinson on Tuesday July 07, 2009 @03:48PM (#692290)
Is port knocking a common defense these days? I remember reading about it awhile ago, and thought it was a neat idea but didn't really think people would actually use it.
Re:SSH server 0-day exploit by brk on Tuesday July 07, 2009 @03:52PM (#692299)
I use it. It's really handy, but somewhat cumbersome if you just want to jump on an SSH shell to a box from a new machine.

I compromised on some of my boxes and made a non-published/non-linked URL that if you hit it, your source IP will end up on the SSH-allowed list. That plus a non-standard SSH port seems to keep 99.9999% of the risk out of the way without being too overly cumbersome to knock-through when needed.

Re:SSH server 0-day exploit by deutronium on Tuesday July 07, 2009 @03:54PM (#692305)
I don't think it is that popular too be honest, while it is good at preventing access from port scanners etc., the clients aren't standard utilities.

[EDIT] You could always just set up iptables to accept traffic from your ISPs subnet and deny the rest.

Re:SSH server 0-day exploit by Gibbon on Tuesday July 07, 2009 @06:13PM (#692698)
I use a simplified one port "port knocker" with iptables setup such that an ascending or descending linear port-scan will leave the ssh port closed upon completion.

Only one knock is needed to keep the port open for my current IP address indefinitely, or it can be closed immediately without losing my ssh connection.

It also precludes the necessity of filling up iptables with boatloads of DROPs to keep out the riff-raff.

Re:SSH server 0-day exploit by lamnk on Tuesday July 07, 2009 @08:28PM (#692962)
IMO port knocking isn't good defense, people can always use nmap to scan for open ports then try some combinations on them. Certificate authentication is way better (in combination with disabling password login)
Re:SSH server 0-day exploit by mariorz on Tuesday July 07, 2009 @09:26PM (#693008)
Certificate authorization alone may not protect you from 0-day exploits to your ssh server. Not all port knockers use that pinging ports combination technique. Again, I recommend a look at fwknop which addresses your concerns by using certificates actually.
Re:SSH server 0-day exploit by ars on Wednesday July 08, 2009 @03:21AM (#693486)
Port knocking doesn't use open ports. It acts as a packet sniffer, and doesn't do anything to the port.