UBTU-24-900510 - Ubuntu 24.04 LTS must generate audit records when successful/unsuccessful attempts to modify the /etc/sudoers file occur.

Information

Without generating audit records 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 Ubuntu 24.04 LTS to generate audit records for all modifications that affect "/etc/sudoers".

Add or update the following rule to "/etc/audit/rules.d/stig.rules":

-w /etc/sudoers -p wa -k privilege_modification

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_24-04_LTS_V1R1_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, CCI|CCI-000172, Rule-ID|SV-270807r1066910_rule, STIG-ID|UBTU-24-900510, Vuln-ID|V-270807

Plugin: Unix

Control ID: 50955b5702a225d571482f34a6f1dee2feacb8ed51f87046c947d81367ddd56e