SV-219341r610963_rule
V-219341
SRG-OS-000433-GPOS-00192
UBTU-18-010513
CAT II
10
Configure the Ubuntu operating system to enable NX.
If "nx" is not showing up in /proc/cpuinfo and the system's BIOS setup configuration permits toggling the No Execution bit, then set it to "enable".
Verify the NX (no-execution) bit flag is set on the system.
Check that the no-execution bit flag is set with the following commands:
# dmesg | grep -i "execute disable"
[ 0.000000] NX (Execute Disable) protection: active
If "dmesg" does not show "NX (Execute Disable) protection: active", check the cpuinfo settings with the following command:
# grep flags /proc/cpuinfo | grep -w nx | sort -u
flags : fpu vme de pse tsc ms nx rdtscp lm constant_tsc
If "flags" does not contain the "nx" flag, this is a finding.
V-219341
False
UBTU-18-010513
Verify the NX (no-execution) bit flag is set on the system.
Check that the no-execution bit flag is set with the following commands:
# dmesg | grep -i "execute disable"
[ 0.000000] NX (Execute Disable) protection: active
If "dmesg" does not show "NX (Execute Disable) protection: active", check the cpuinfo settings with the following command:
# grep flags /proc/cpuinfo | grep -w nx | sort -u
flags : fpu vme de pse tsc ms nx rdtscp lm constant_tsc
If "flags" does not contain the "nx" flag, this is a finding.
M
4055