This is an old revision of the document!


ASLR (Address Space Layout Randomization) stuff (exec shield?).

Links:

Questions:

  • What about kernel ASLR (KASLR)? Look for RANDOMIZE options.
  • Binaries must be position-independent executables.

Checking:

$ sysctl -a --pattern randomize
kernel.randomize_va_space = 2
$

Changing:

# echo 2 > /proc/sys/kernel/randomize_va_space
# sysctl -w kernel.randomize_va_space=2
  • aslr.1534602611.txt.gz
  • Last modified: 2018/08/18 14:30
  • by rpjday