UBTU-18-010238 - 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

Note:
The 'root' account must be used to view/edit any files in the /etc/audit/rules.d/ directory.

In order 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_18-04_LTS_V2R15_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, CCI|CCI-000172, Rule-ID|SV-219217r991581_rule, STIG-ID|UBTU-18-010238, STIG-Legacy|SV-109765, STIG-Legacy|V-100661, Vuln-ID|V-219217

Plugin: Unix

Control ID: 2c54354a857245cc381aba39cc2c6f6cb885629bc576cde54a0d6ec9d024b442