1.439 ALMA-09-057110

Information

AlmaLinux OS 9 audit system must protect auditing rules from unauthorized change.

GROUP ID: V-269546
RULE ID: SV-269546r1050429

Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality.

Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit AlmaLinux OS 9 system activity.

In immutable mode, unauthorized users cannot execute changes to the audit system to potentially hide malicious activity and then put the audit rules back. A system reboot would be noticeable, and a system administrator could then investigate the unauthorized changes.

Solution

Configure the audit system to set the audit rules to be immutable by adding the following line to the end of "/etc/audit/rules.d/audit.rules"

-e 2

See Also

https://workbench.cisecurity.org/benchmarks/27039