Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is an argument for security-through-obscurity.
 help



The phrase "security thru obscurity" is something that people parrot because they heard it somewhere and it makes them feel smart. In reality, all cybersecurity is security thru obscurity. There's nothing else but obscurity. The entire field of encryption is literally obscuring.

A thinking person understands that security, like obscurity, is just a matter of degree, and the only lever you have is increasing the cost for the attacker by increasing obscurity. Security isn't binary, it's a matter of degree in the form of cost.


> In reality, all cybersecurity is security thru obscurity.

I'm usually not here to debate semantics, but good god, trusting in cryptographically secure algorithms is a much stronger promise of security than something like, say, port-knocking.

Just because the math behind these algorithms are being put under a lot more pressure than we could imagine a decade ago doesn't mean we should throw the baby out with the bathwater. If anything, it's a good thing to validate that our assumptions are true, and correct the assumptions we had incorrect.


Obscure as in "I'm using a port nobody can guess" and obscure as in "I multiplied two large primes together that nobody can guess" are very different. Crypto is definitely obscuring, but it is muddying the waters too much to conflate them.

Technically that’s only because the port is 2 bits of secrecy. If port numbers were 128 bits we’d be having a different conversation I think.

Just to nipick, that's 2 bytes, so 16 bits of secrecy (a bit less if you choose to avoid other well-known port numbers).

EDIT: And on a practical level, the port number is sent as plaintext in the packet header, and generally much easier to snoop on than a secret sent in the data.


Though there is a point to be made to also make obscurity a layer of your defence strat (albeit not effective for all threat models, and brittle).

After all, most organisations dont put out their whole network design, serverpark documentation and infra architecture out in the open. It usually goes by many names, like 'company secret', 'internal knowledge', 'NDA', but in the end its all just obscurity.

For me it just another layer of the onion. I don't really consider it security, though I do qualify it as some sort of defence.


> In reality, all cybersecurity is security thru obscurity.

No, that's not what that word means. "Obscurity" means low/no entropy. If you're leaning on a "secret" int between 0 and 65,536 then it's going to break. If your secret is a random int between 0 and 2^2048 then that's not "obscurity", that's an actual secret.


Where is obscurity defined as low/no entropy?

unless its 4, of course

RSA actually is security through obscurity, where the obscurity is that nobody will figure out practical factoring.

The NSA itself has a secret suite of cryptographic primitives for this exact reason.

https://en.wikipedia.org/wiki/NSA_Suite_A_Cryptography


Yes! Thank you for saying this. It bugs me when people don't understand this. Of course, cryptographic obscurity has some measurement of obscurity associated with it, which is why it is valuable.

“Security through obscurity” refers to the algorithm not any key material.

Explain how one time pad is security by obscurity.

Because the pad is not visible to those you want to keep the communication secure from. The pad is 'obscured'.


The phrase is imprecise in its meaning. No dictionary definition of obscure would make it apparent. But the point is that some information has to be held back, even if it is only the key. That's what is obscure.

We just call those secrets in the biz.

It's just dark turtles all the way down

Is a password security through obscurity, since it’s just some not-well-known (known by one) string?

Security through obscurity mostly refers to the attacker not knowing how the system works, not hiding information.


Yes, it is. And code is data. "Security through obscurity" is all that exists.

Cryptography is, in good part, about the practice of using mathematics for the assurance of sufficiently sophisticated obscurity.

The trope of "security through obscurity bad" does not survive scrutiny, because it was never meant to. It's a "practical sense" shorthand, not something to actually deeply consider like this. It falls apart immediately when you do.


Sophisticated obscurity is the key.

Most obscurity is not sophisticated. The things the users are doing aren't much different than a kid hiding behind a sofa and they think their dad doesn't know where they are any longer.


I really do wonder how the cookie will crumble with hardness assumptions in this regard.

The currently trending story may be that it is only a matter of time before the frontier AI labs crack all crypto and then we're hosed, but it's also possible they find hardness proofs and better constructions instead.

Though maybe their focus is not pointing that way right now / counterarguments may continue to be more discoverable.


Nothing wrong with security through obscurity, even in its most naive form of changing your port ranges and stuff like that. It's only a problem when some obscurity is the only method of securing.

Obscurity adds layers of security, and security is all about layering and increasing the difficulty, not about some perfect binary solution secure vs not secure.


There's nothing wrong with obscurity, as long as it's not your only line of defence.

Defense-in-depth does not use security-through-obscurity alone, but obscurity can still be a valuable part of a complete strategy. You should know better than "obscurity makes a system less secure"

Layered security*

Security-through-obscurity is another slice of Swiss cheese, albeit one with a big hole.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: