SV-281293r1166831_rule
V-281293
SRG-OS-000433-GPOS-00192
RHEL-10-700900
CAT II
10
Configure RHEL 10 to implement nonexecutable data to protect its memory from unauthorized code execution.
Update the GRUB 2 bootloader configuration.
Run the following command:
$ sudo grubby --update-kernel=ALL --remove-args=noexec
Verify RHEL 10 implements nonexecutable data to protect its memory from unauthorized code execution.
Run the following command:
$ sudo grep ^flags /proc/cpuinfo | grep -Ev '([^[:alnum:]])(nx)([^[:alnum:]]|$)'
If any output is returned, this is a finding.
Run the following command:
$ sudo grubby --info=ALL | grep args | grep -E '([^[:alnum:]])(noexec)([^[:alnum:]])'
If any output is returned, this is a finding.
V-281293
False
RHEL-10-700900
Verify RHEL 10 implements nonexecutable data to protect its memory from unauthorized code execution.
Run the following command:
$ sudo grep ^flags /proc/cpuinfo | grep -Ev '([^[:alnum:]])(nx)([^[:alnum:]]|$)'
If any output is returned, this is a finding.
Run the following command:
$ sudo grubby --info=ALL | grep args | grep -E '([^[:alnum:]])(noexec)([^[:alnum:]])'
If any output is returned, this is a finding.
M
5733