SV-230518r627750_rule
V-230518
SRG-OS-000368-GPOS-00154
RHEL-08-040130
CAT II
10
Configure the system so that /var/log/audit is mounted with the "nosuid" option by adding /modifying the /etc/fstab with the following line:
/dev/mapper/rhel-var-log-audit /var/log/audit xfs defaults,nodev,nosuid,noexec 0 0
Verify "/var/log/audit" is mounted with the "nosuid" option:
$ sudo mount | grep /var/log/audit
/dev/mapper/rhel-var-log-audit on /var/log/audit type xfs (rw,nodev,nosuid,noexec,seclabel)
Verify that the "nosuid" option is configured for /var/log/audit:
$ sudo cat /etc/fstab | grep /var/log/audit
/dev/mapper/rhel-var-log-audit /var/log/audit xfs defaults,nodev,nosuid,noexec 0 0
If results are returned and the "nosuid" option is missing, or if /var/log/audit is mounted without the "nosuid" option, this is a finding.
V-230518
False
RHEL-08-040130
Verify "/var/log/audit" is mounted with the "nosuid" option:
$ sudo mount | grep /var/log/audit
/dev/mapper/rhel-var-log-audit on /var/log/audit type xfs (rw,nodev,nosuid,noexec,seclabel)
Verify that the "nosuid" option is configured for /var/log/audit:
$ sudo cat /etc/fstab | grep /var/log/audit
/dev/mapper/rhel-var-log-audit /var/log/audit xfs defaults,nodev,nosuid,noexec 0 0
If results are returned and the "nosuid" option is missing, or if /var/log/audit is mounted without the "nosuid" option, this is a finding.
M
2921