UBTU-22-654235 - Ubuntu 22.04 LTS must generate audit records for privileged activities, nonlocal maintenance, diagnostic sessions and other system-level access.

Information

If events associated with nonlocal administrative access or diagnostic sessions are not logged, a major tool for assessing and investigating attacks would not be available.

This requirement addresses auditing-related issues associated with maintenance tools used specifically for diagnostic and repair actions on organizational information systems.

Nonlocal maintenance and diagnostic activities are those activities conducted by individuals communicating through a network, either an external network (e.g., the internet) or an internal network. Local maintenance and diagnostic activities are those activities carried out by individuals physically present at the information system or information system component and not communicating across a network connection.

This requirement applies to hardware/software diagnostic test equipment or tools. This requirement does not cover hardware/software components that may support information system maintenance, yet are a part of the system, for example, the software implementing 'ping,' 'ls,' 'ipconfig,' or the hardware and software implementing the monitoring port of an Ethernet switch.

Satisfies: SRG-OS-000392-GPOS-00172, SRG-OS-000471-GPOS-00215

Solution

Configure Ubuntu 22.04 LTS to audit activities performed during nonlocal maintenance and diagnostic sessions.

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

-w /var/log/sudo.log -p wa -k maintenance

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.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R2_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY, MAINTENANCE

References: 800-53|AU-12c., 800-53|MA-4(1)(a), CAT|II, CCI|CCI-000172, CCI|CCI-002884, CCI|CCI-004188, Rule-ID|SV-260649r986298_rule, STIG-ID|UBTU-22-654235, Vuln-ID|V-260649

Plugin: Unix

Control ID: 6d2533148435bf725516b944be26aeeea1e9a2003c50a724763bafafa16daff3