STIGQter STIGQter: STIG Summary: Riverbed NetIM OS Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 11 Sep 2025:

Ubuntu OS must generate audit records for the /var/run/utmp file.

DISA Rule

SV-275728r1148234_rule

Vulnerability Number

V-275728

Group Title

SRG-OS-000472-GPOS-00217

Rule Version

RIIM-OS-654205

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the audit system to generate audit events showing start and stop times for user access via the "/var/run/utmp" file.

Add or modify the following line in the "/etc/audit/rules.d/stig.rules" file:

-w /var/run/utmp -p wa -k logins

To reload the rules file, issue the following command:

$ sudo augenrules --load

Note: The "-k <keyname>" at the end of the line gives the rule a unique meaning to help during an audit investigation. The <keyname> does not need to match the example above.

Check Contents

Verify Ubuntu OS generates audit records showing start and stop times for user access to the system via the "/var/run/utmp" file by using the following command:

$ sudo auditctl -l | grep '/var/run/utmp'
-w /var/run/utmp -p wa -k logins

If the command does not return a line matching the example or the line is commented out, this is a finding.

Note: The "-k" value is arbitrary and can be different from the example output above.

Vulnerability Number

V-275728

Documentable

False

Rule Version

RIIM-OS-654205

Severity Override Guidance

Verify Ubuntu OS generates audit records showing start and stop times for user access to the system via the "/var/run/utmp" file by using the following command:

$ sudo auditctl -l | grep '/var/run/utmp'
-w /var/run/utmp -p wa -k logins

If the command does not return a line matching the example or the line is commented out, this is a finding.

Note: The "-k" value is arbitrary and can be different from the example output above.

Check Content Reference

M

Target Key

5706