Check: RHEL-08-010420
RHEL 8 STIG:
RHEL-08-010420
(in versions v2 r1 through v1 r1)
Title
RHEL 8 must implement non-executable data to protect its memory from unauthorized code execution. (Cat II impact)
Discussion
Some adversaries launch attacks with the intent of executing code in non-executable regions of memory or in memory locations that are prohibited. Security safeguards employed to protect memory include, for example, data execution prevention and address space layout randomization. Data execution prevention safeguards can be either hardware-enforced or software-enforced with hardware providing the greater strength of mechanism. Examples of attacks are buffer overflow attacks.
Check Content
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: $ sudo dmesg | grep NX [ 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: $ sudo less /proc/cpuinfo | grep -i flags flags : fpu vme de pse tsc ms nx rdtscp lm constant_tsc If "flags" does not contain the "nx" flag, this is a finding.
Fix Text
The NX bit execute protection must be enabled in the system BIOS.
Additional Identifiers
Rule ID: SV-230276r958928_rule
Vulnerability ID: V-230276
Group Title: SRG-OS-000433-GPOS-00192
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002824 |
Implement organization-defined controls to protect the system memory from unauthorized code execution. |
Controls
Number | Title |
---|---|
SI-16 |
Memory Protection |