UBTU-18-010341 - The Ubuntu operating system must generate audit records for successful/unsuccessful uses of the sudoedit command.

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 an audit event for any successful/unsuccessful use of the 'sudoedit' command.

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

-a always,exit -F path=/usr/bin/sudoedit -F perm=x -F auid>=1000 -F auid!=4294967295 -k priv_cmd

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-219264r958446_rule, STIG-ID|UBTU-18-010341, STIG-Legacy|SV-109857, STIG-Legacy|V-100753, Vuln-ID|V-219264

Plugin: Unix

Control ID: 25a0e8ead4a8fc64ed8df0635a05a13ec37d30f9860c41b12b4408b0e4073f2c