SV-248580r1156623_rule
V-248580
SRG-OS-000138-GPOS-00069
OL08-00-010376
CAT III
10
Configure OL 8 to prevent kernel profiling by nonprivileged users.
Add or edit the following line in /etc/sysctl.d/99-sysctl.conf system configuration file:
kernel.perf_event_paranoid = 2
Load settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify OL 8 is configured to prevent kernel profiling by nonprivileged users with the following commands:
Check the status of the kernel.perf_event_paranoid kernel parameter.
$ sysctl kernel.perf_event_paranoid
kernel.perf_event_paranoid = 2
If "kernel.perf_event_paranoid" is not set to "2" or is missing, this is a finding.
V-248580
False
OL08-00-010376
Verify OL 8 is configured to prevent kernel profiling by nonprivileged users with the following commands:
Check the status of the kernel.perf_event_paranoid kernel parameter.
$ sysctl kernel.perf_event_paranoid
kernel.perf_event_paranoid = 2
If "kernel.perf_event_paranoid" is not set to "2" or is missing, this is a finding.
M
5416