SV-226611r603265_rule
V-226611
SRG-OS-000215
GEN002870
CAT III
10
Update the /etc/security/audit_control file to save audit records to a remote NFS mount.
dir:<remote NFS directory>
OR
If the /usr/lib/security/audit_syslog.so* exists, update the /etc/security/audit_control file to send all audit records to syslog and update /etc/syslog.conf to send all audit messages to a remote server.
/etc/security/audit_control:
plugin:name=audit_syslog.so.1; p_flags=all
/etc/syslog.conf:
audit.* @<remote syslog server>
Audit records may be sent to a remote server in two ways, via an NFS mount of the audit directory, or via the audit_syslog plugin (if available).
NFS:
Check the "dir" parameter in /etc/security/audit_control. If the directory is on an NFS mount to a remote server, there is no finding.
SYSLOG:
Check the "plugin" parameter in /etc/security/audit_control. Confirm that the audit_syslog.so* plugin is listed with "p_flags=all".
# grep audit_syslog.so /etc/security/audit_control
Check that syslogd is sending messages to a remote server (GEN005450):
# grep '@' /etc/syslog.conf | grep -v '^#'
If both auditd is configured to send audit records to syslog, and syslogd is configured to send messages to a remote server, there is no finding.
If auditd is saving audit records on a local directory, and audit records are not being sent to a remote server via syslog, this is a finding.
V-226611
False
GEN002870
Audit records may be sent to a remote server in two ways, via an NFS mount of the audit directory, or via the audit_syslog plugin (if available).
NFS:
Check the "dir" parameter in /etc/security/audit_control. If the directory is on an NFS mount to a remote server, there is no finding.
SYSLOG:
Check the "plugin" parameter in /etc/security/audit_control. Confirm that the audit_syslog.so* plugin is listed with "p_flags=all".
# grep audit_syslog.so /etc/security/audit_control
Check that syslogd is sending messages to a remote server (GEN005450):
# grep '@' /etc/syslog.conf | grep -v '^#'
If both auditd is configured to send audit records to syslog, and syslogd is configured to send messages to a remote server, there is no finding.
If auditd is saving audit records on a local directory, and audit records are not being sent to a remote server via syslog, this is a finding.
M
4060