|
I have no idea how the heap and stack work, but I have a theory that, in C/C++ you can overload the *malloc() function, with unelevated privileges, and somehow corrupt memory, or cause a buffer overflow (right?).
|
# ¿ Oct 2, 2017 14:48 |
|
|
# ¿ May 10, 2024 10:38 |
|
feedmegin posted:I mean depends on platform, but yes, you could do this with something like LD_PRELOAD. You're only going to break a program running under the same privileges you already had anyway, though, so why would you do this? Since the heap (???) is encapsulated by the kernel I figure it could write in critical areas of memory.
|
# ¿ Oct 2, 2017 17:00 |