4.9.1 Ensure Address space layout randomization is enabled

Information

Address space layout randomization (ASLR) is an exploit mitigation technique which randomly arranges the address space of key data areas of a process.

Randomly placing virtual memory regions will make it difficult to write memory page exploits as the memory placement will be consistently shifting.

Solution

Run the following command to enable ASLR for all programs:

# /usr/sbin/vmo -r -o aslr=2 -o aslr32=0 -o aslr32r=333 -o aslr64=0 -o aslr64r=33333 -o alsr_r=0

A reboot is required before this change takes effect.

See Also

https://workbench.cisecurity.org/benchmarks/22751

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-16, CSCv7|8.3

Plugin: Unix

Control ID: bd3d611b10d6af497566f1b1c0371ba7c3911b680cde62fc3ef5d18c75ceff8e