|
|
|
|
|
by reitanqild
2824 days ago
|
|
> But attackers have already invented new techniques for circumventing ASLR, such as return-to-plt, GOT overwrite or GOT dereferencing. Again making it more inconvenient for script kiddies to write exploits, but again no problem for an attacker who can throw lots of money and people at the problem. Helmets and bulletproof vests is no match for powerful rifles. I'm a bit tired of this reasoning here on HN: If it isn't perfect it is worthless. I think I can see reasons why a vendor might want to avoid ASLR in safety critical systems. But we shouldn't talk down decent protection tecniques that will often save us. |
|
This argument (that "If it isn't perfect it is worthless" does not hold) is suitable for many topics in life, but in my opinion not for IT security. I can conceive that this might be one reason, why so many people (explicitly including politicians) make such bad decisions about IT security.
I might be somewhat paranoid regarding this topic (which is not a bad trait if you want to work in this area), but let me give my arguments:
First: the fight for secure systems is deeply asymmetric. The attacker side just needs one working exploit, while the defender side has to ensure that there exists no security hole. This strong asymmetry really makes it necessary that the security is as perfect as possible.
Second: if the device is connected to the internet, everyone/every device that exists in the world can be an attacker. So what you are fighting against is the whole world. Or in other words: the security of the system that you use has to withstand the smartness of some of the smartest people in the world.
Let it be stated clearly that this fight is not hopeless as it looks based on these arguments: for designing the security of your system, you can resort to the knowledge of many really, really smart people, too: this is what the various standards (e.g. for cryptography) are about. What you cannot afford is to tolerate the slightest bit of imperfection in the security architecture of the system.
TLDR: In security, at least "If it isn't at least nearly perfect, it is worthless" does indeed hold.