4 ms·
This is the problem with a monoculture in security libraries. Back when the gnutls vulnerability came up earlier this year, some people seriously stated that we
by belorn 13y ago
This is the problem with a monoculture in security libraries. Back when the gnutls vulnerability came up earlier this year, some people seriously stated that we should only have one tls library and that would ensure the security of it.
Find a vulnerability in a browser, and a minority subset of all users get effected. Find a issue with openssl, and key to the kingdom is there.
- rabino 13y agoNot sure I agree. More eyes in a library should mean it is more secure. I guess. Having 200 broken TSL libraries is security by obscurity. Not very useful, and a pain for sysadmins.
- bitwizzle 13y agoIt's not security by obscurity. It's security by diversity, which is arguably a good thing.
- lugg 13y agoSecurity by obscurity is also, arguably, a good thing by your logic. Seeing as someone didn't get it... Security by diversity is secure in the same way something is secure by obscurity. In other words, its not, its just harder to find the insecurity.
- rabino 13y agoIt's not harder to find the insecurity. At all. It's harder to get a generic exploit that will give you access to a lot of targets. But I'd argue that finding an exploit for a particular target would be easier.
- belorn 13y agoSecurity by diversity means that any extreme rare vulnerability will only hit a few individuals. The trade is that there will be more unique vulnerabilities found. In risk management, having risk spread out is general a favored tactic. Same is true in biology. The chance that remote memory access vulnerability is so rare, that 200 libraries (if equally used) would lower the effected number of people with a factor of almost 200.
- aranjedeath 13y agoThen you're advocating risk management, and not security.
- belorn 13y agoRisk management and security is two sides of the same coin. Lets make an analogy of an investor. If person invest in a single company and it goes bankrupt, the investors might loose his roof over his head and the food on the table. This in turn effects his personal security. In order to mitigate this risk, he uses risk management to diversify his risks. He might not be able to spend the same amount of time per investment and this increasing the general risk, but high risk events like bankruptcy is spread out and is unlikely to cause a large impact.
- lugg 13y agoI'm not exactly disagreeing with you here. I just dont understand how that is different from obscuring your attack surface making you less likely to be targeted by some sort of mass generic attack vector. Nobody argues security through obscurity doesn't work in some form, we argue that it doesn't make you secure as a matter of fact. Much like using some obscure SSL implementation. It sure does have the net effect of making you less likely to fall victim but that isn't security that is obscurity.
- bch 13y agoIt's not about "obscure SSL implementations", it's "alternative implementations", and letting different projects theoretically play off each others strengths and mitigating consumer risk similar to investing in an index or mutual fund rather than all-in with any single entity. Also, there's nothing wrong with security through obscurity, but please don't let that be your only security.
- lugg 13y agoAs someone else has already pointed out that could be better classified as risk management than the way I originally put it. The problem with security through obscurity is that it is not security. Kind of what people mean when they bring it up.. At least in my circles anyway. It is fine to have security through obscurity but you can't, much like the alternative implementation scenario claim it makes you more secure as a result. Its exactly like when apple claimed they were more secure and couldnt get viruses like their PC counterparts. That is what I was trying to bring to the conversation when I made my first post. I get the feeling were starting to move off topic / split hairs over words now so I'm going to leave it at that I dont think I can explain myself any further.
- rodgerd 13y agoThere is OpenSSL, nss, and GnuTLS. That's 3. Two of those have had major breaches this year. How many more libraries do you think will provide adequate security?
- belorn 13y agoIf each of those where equally used, and same with different key handling system, security by diversity would help. For example, the gnutls vulnerability only effected x509 resolving of the certificate chain, so those handful of people who use the pgp model were not effected. Sadly, even if those options are available, gnutls is not common on the web, and https with pgp is even less common. Worse, some propose that we should use such options less in favor of one and only one library in the name of security.
- deleted 13y ago[deleted]