3 ms·
every module was protected by ASLR. Address space randomization is not "protection". It's a form of security by obscurity. The odds of an exploit working are
by Animats 10y ago
every module was protected by ASLR.
Address space randomization is not "protection". It's a form of security by obscurity. The odds of an exploit working are reduced, at the expense of more crashes due to exploit failure.
It helps developers ignore bugs, since they can no longer reproduce them.
- jbk 10y ago> It helps developers ignore bugs, since they can no longer reproduce them. Well, it would crash, so they can reproduce it, no?
- throwaway91111 10y agoIn my experience, bugs are almost always easier to reproduce with address randomization. It's easier to see a process leave readable/writable memory than it is to see it overrun a buffer and only trash app code. "Only" security by obscurity is the best we can get in the c/++ world without compiling for a virtual machine.
- legulere 10y agoKeeping the location secret is just like keeping the key secret in encryption. You also wouldn't call that security by obscurity. Still you're perfectly right that ASLR does not provide perfect safety, but merely makes exploitation way harder.
- OneLessThing 10y agoTotal facepalm to this comment. Does modern ASLR increase costs (time, difficulty, money, skill, etc.) necessary for exploitation and decrease benefits (privs, chances of success, etc.)? If yes, then it's a protection. Any security engineer will tell you unequivocally ASLR is a protection. And one of the most successful ones to date.
- alasdair_ 10y ago>Address space randomization is not "protection". It's a form of security by obscurity. This is somewhat akin to saying "Randomly generated passwords are not 'protection'. They are a form of security by obscurity." If things are random enough that an attacker is significantly hampered in most cases, that's one measure of security, no?
- saurik 10y agoIt is going to vary quite a bit depending on the entropy of the ASLR implementation. Many have only had 8-12 bits of entropy to start with, and you sometimes don't need the full address. It is also important to note that services that crash typically restart, allowing retries (sometimes as many as you want). In this case, one might imagine trying to attack thousands of people: some of them will randomly work (and a lot of users are going to see VLC crash and will retry playing the file a number of times, increasing your probability).