News for hackers. Stuff that matters.
Re:Security Through Obscurity by tptacek on Sunday May 22, 2011 @12:01PM (#2573521)
You can't use SHA-512 by itself as a secure password hash. SHA-512 is plutonium. You need the reactor to do anything but kill yourself with it.

None of those "obscurity" measures do anything meaningful to improve your security. People just do them to make themselves feel less powerless.

Re:Security Through Obscurity by SoftwareMaven on Sunday May 22, 2011 @12:15PM (#2573560)
So how do you quantify "less likely to be h@xxored by some script kiddy's scripts" versus "actually able to resist a focused penetration test"?

Are you saying the zero-day exploit "todo list" isn't a valid concern? Mathematically, perhaps there is no difference because the focused penetration attempt overwhelms the equation, but if I'm just "some IP" on the Internet, isn't the less knowledge about me better?

It is very similar to the "secret military facility". The security of the facility is determined by what would stop somebody who knows about you, but you reduce the number of times that is tested through the "secret" (obscure) part of the base.

Re:Security Through Obscurity by JoachimSchipper on Sunday May 22, 2011 @12:34PM (#2573608)
Security plus obscurity probably does beat obscurity (as long as you're not trying to rely on scanners to find the vulnerabilities in your own network), but the people asserting this are almost always doing something horribly wrong (e.g. using SHA-256 for passwords, like this guy is doing). Even if this is not the case, moving your SSHD to a high port is unlikely to be as effective as just switching to public-key crypto, which doesn't end up taking more time. Etc.

In short, you're right in theory, but in practice obscurity is pretty much never the right answer.

Re:Security Through Obscurity by tptacek on Sunday May 22, 2011 @12:18PM (#2573569)
I have no idea what you're talking about. Nobody with OpenSSH zero-day is feeding it through an Internet-wide scanner.
Re:Security Through Obscurity by SoftwareMaven on Sunday May 22, 2011 @08:18PM (#2574629)
The point is the scanner keeps track of versions: 148.65.45.123 is using SSH x.y. When a zero-day hits for a particular version, they are able to look at the list previously generated to see immediately where they can put a back door.

If you don't advertise your ssh (eg change ports) or your version, you aren't on that zero day list. Your system isn't more secure, but your are less likely to be hacked.

So, that's the scenario. The above has reduced your chances of being hacked without actually increasing how secure your systems actually are.

And then the question: how do you account for that in assessing the cost/value benefits associated with security? I really am curious about this, because there is a cost to the above, so any value should be included in the calculation of whether it is worth it. How do you calculate the value of not being on that list?

Re:Security Through Obscurity by mjb on Sunday May 22, 2011 @12:59PM (#2573646)
> None of those "obscurity" measures do anything meaningful to improve your security

That's just not true. Consider a practical analogy: the access ID badges that many companies issue to their employees. Most of the time, these badges do not include information identifying the company other than a simple postal address. This isn't a strong security mechanism by a long shot, but does serve to make it more difficult to use a lost card. Often, more difficult is all it takes to make a casual attacker lose interest in the target.

Hiding version information is a lot like that. Which is more useful to an attacker: "ApacheTomcat 6.0.25" or "BigCompanyServer"? Sure, a sophisticated and dedicated attacker could identify the software you are running (often down to a version number), but that takes time. The time that takes is time taken away from the rest of the attack, and possibly enough of a timesink to deter some attackers.

I don't think anybody sensible is claiming that "hide your server version" is as important as "don't run a known-buggy version", but there is no doubt that both of these things have value.

Re:Security Through Obscurity by tptacek on Sunday May 22, 2011 @01:07PM (#2573661)
In 1995 when you were breaking into a server, you maybe telnetted to port 25 and checked out whether they were running Sendmail 8.6.9 or Sendmail 6.6.12, so you could decide whether you were going to try a character quoting bug or a buffer overflow.

Nowaways, you just run your ruby script and wait for the connectback shell. You might not even care if they're running a server on port 80. Either the exploit works or it doesn't; who cares why it doesn't?

Hiding version numbers does nothing at all to meaningfully improve your security. Exploits don't care about version banners. They don't not try the attack if they see the wrong version.