Information
Information stored in one location is vulnerable to accidental or incidental deletion or alteration.
Offloading is a common process in information systems with limited audit storage capacity.
Satisfies: SRG-OS-000342-GPOS-00133, SRG-OS-000479-GPOS-00224
Solution
Configure the audit event multiplexor to offload audit records to a different system or storage media from the system being audited.
Install the audisp-remote plugin:
$ sudo apt install -y audispd-plugins
Set the audisp-remote plugin as active by editing the "/etc/audit/plugins.d/au-remote.conf" file:
$ sudo sed -i -E 's/active\s*=\s*no/active = yes/' /etc/audit/plugins.d/au-remote.conf
Set the address of the remote machine by editing the "/etc/audit/audisp-remote.conf" file:
$ sudo sed -i -E 's/(remote_server\s*=).*/\1 <remote addr>/' /etc/audit/audisp-remote.conf
where <remote addr> must be substituted by the address of the remote server receiving the audit log.
Make the audit service reload its configuration files:
$ sudo systemctl restart auditd.service