PHTN-67-000069 - The Photon operating system must implement address space layout randomization (ASLR) to protect its memory from unauthorized code execution.

Warning! Audit Deprecated

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

View Next Audit Version

Information

ASLR makes it more difficult for an attacker to predict the location of attack code he or she has 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 to repurpose it using return-oriented programming techniques.

Solution

Open /etc/sysctl.d/50-security-hardening.conf with a text editor.

Ensure that the 'randomize_va_space' is uncommented and set to the following:

kernel.randomize_va_space=2

At the command line, execute the following command:

# sysctl --system

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-7_Y22M04_STIG.zip

Item Details

References: CAT|II, CCI|CCI-002824, Rule-ID|SV-239140r675228_rule, STIG-ID|PHTN-67-000069, Vuln-ID|V-239140

Plugin: Unix

Control ID: cdd473ce39f80eff6801b19cea92ae6a3dd5fb63a60f1c5bfacf76879a038f8c