3 ms·
The purpose is to defeat a generic exploit. For example, with ASLR, it's easy to retrieve the current layout of the processus and therefore to debug it (if you
by vbernat 9y ago
The purpose is to defeat a generic exploit.
For example, with ASLR, it's easy to retrieve the current layout of the processus and therefore to debug it (if you have the appropriate symbols) despite the randomization. But an exploit has to be built for the specific instance of the application running. If you share the same privileges as the process, you can get the current mapping but an exploit is useless. If you don't, you don't have access to the mapping either and it's difficult to get it while you are executing code inside the process as you can't easily access the functions you would need for that.