Monday, November 14, 2016

Turn off ASLR on linux system

Address Space Layout Randomization is one of the exploit mitigation technique that's implement in most modern OS. But for academic purpose, we can deactivated it for a while

In linux, ASLR can be configured through /proc/sys/kernel/randomize_va_space

# cat /proc/sys/kernel/randomize_va_space
1

1 - randomization is turn on

#echo "0" > /proc/sys/kernel/randomize_va_space