SV-282506r1200498_rule
V-282506
SRG-OS-000132-GPOS-00067
TOSS-05-000099
CAT II
10
Configure TOSS 5 to prevent kernel profiling by nonprivileged users.
Add or edit the following line in a system configuration file, in the "/etc/sysctl.d/" directory:
kernel.perf_event_paranoid = 2
Load settings from all system configuration files using the following command:
$ sudo sysctl --system
Verify TOSS 5 is configured to prevent kernel profiling by nonprivileged users using the following command:
$ sudo 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-282506
False
TOSS-05-000099
Verify TOSS 5 is configured to prevent kernel profiling by nonprivileged users using the following command:
$ sudo 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
5738