OL07-00-040201 - The Oracle Linux operating system must implement virtual address space randomization - config

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Address space layout randomization (ASLR) makes it more difficult for an attacker to predict the location of attack code introduced into a process's address space during an attempt at exploitation. Additionally, ASLR also makes it more difficult for an attacker to know the location of existing code in order to repurpose it using return-oriented programming (ROP) techniques.

Solution

Configure the operating system implement virtual address space randomization.

Set the system to the required kernel parameter by adding the following line to '/etc/sysctl.conf' or a config file in the /etc/sysctl.d/ directory (or modify the line to have the required value):

kernel.randomize_va_space = 2

Issue the following command to make the changes take effect:

# sysctl --system

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Linux_7_V2R9_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002824, Rule-ID|SV-221846r853718_rule, STIG-ID|OL07-00-040201, STIG-Legacy|SV-108535, STIG-Legacy|V-99431, Vuln-ID|V-221846

Plugin: Unix

Control ID: c1dfce79904e993d59eb600aedd8c1b2c1756ce86b3b90a069df03e50ecd613c