1. Home
  2. Security Hardening
  3. CIS Ubuntu 12.04 LTS Benchmark L1 V1.1.0
  4. Enable Randomized Virtual Memory Region Placement

Enable Randomized Virtual Memory Region Placement

Details

Set the system flag to force randomized virtual memory region placement.

*Rationale*

Randomly placing virtual memory regions will make it difficult to write memory page

exploits as the memory placement will be consistently shifting.

Solution

Add the following line to the /etc/sysctl.conf file.kernel.randomize_va_space = 2

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: System and Communications Protection.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles