SLEM 5 must generate audit records for the "/run/utmp file".

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-261469SRG-OS-000472-GPOS-00217SLEM-05-654230SV-261469r996814_rule2024-06-041
Description
Without generating audit records specific to the security and mission needs of the organization, it would be difficult to establish, correlate, and investigate the events relating to an incident or identify those responsible for one. Audit records can be generated from various components within the information system (e.g., module or policy filter).
ℹ️ Check
Verify SLEM 5 generates an audit record for the "/run/utmp" file with the following command: > sudo auditctl -l | grep -w '/run/utmp' -w /run/utmp -p wa -k login_mod If the command does not return a line that matches the example, this is a finding. Note: The "key=" value is arbitrary and can be different from the example output above.
✔️ Fix
Configure SLEM 5 to generate an audit record for the "/run/utmp" file. Add or modify the following lines in the "/etc/audit/rules.d/audit.rules" file: -w /run/utmp -p wa -k login_mod To reload the rules file, restart the audit daemon: > sudo systemctl restart auditd.service or issue the following command: > sudo augenrules --load