UBTU-20-010277 - The Ubuntu operating system must generate audit records for the /var/log/wtmp file.

Information

Without generating audit records that are 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).

Solution

Configure the audit system to generate audit events showing start and stop times for user access via the '/var/log/wtmp' file.

Add or update the following rules in the '/etc/audit/rules.d/stig.rules' file:

-w /var/log/wtmp -p wa -k logins

To reload the rules file, issue the following command:

$ sudo augenrules --load

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V2R1_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, CCI|CCI-000172, Rule-ID|SV-238315r991581_rule, STIG-ID|UBTU-20-010277, Vuln-ID|V-238315

Plugin: Unix

Control ID: fa25f2aadf898ac59e5811cb977574b61aeee8b77905fa78817627b9da3a2c3b