IncludeOS icon indicating copy to clipboard operation
IncludeOS copied to clipboard

Address-Space Layout Randomization (ASLR)

Open fwsGonzo opened this issue 6 years ago • 1 comments

  • Guard pages on all stacks (CPU cores, fibers, ...)
  • Determine locations to randomize, and by how much

fwsGonzo avatar Feb 07 '18 14:02 fwsGonzo

Stacks are protected, so to speak, but may not be unpresented on original location, and also not yet randomized. LiveUpdate and SystemLog is now moved to high memory, but it's not random. Still, anything that can be moved to A can be moved just as easily to B. Since we implement the heap and we can create custom allocator, it's possible we could place each allocation in a semi-random location.

Now we just need a way to pick a random location not used by anyone else and still have sufficient room to grow in.

fwsGonzo avatar Jun 05 '18 17:06 fwsGonzo