4.1.15 Ensure changes to system administration scope (sudoers) is collected - auditctl /etc/sudoers.d

Information

Monitor scope changes for system administrations. If the system has been properly configured to force system administrators to log in as themselves first and then use the sudo command to execute privileged commands, it is possible to monitor changes in scope. The file /etc/sudoers will be written to when the file or its attributes have changed. The audit records will be tagged with the identifier "scope."

Rationale:

Changes in the /etc/sudoers file can indicate that an unauthorized change has been made to scope of system administrator activity.

Solution

Add the following line to the /etc/audit/rules.d/audit.rules file:

-w /etc/sudoers -p wa -k scope
-w /etc/sudoers.d/ -p wa -k scope

See Also

https://workbench.cisecurity.org/files/2449

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-3, 800-53|AU-12, CSCv7|4.8, CSCv7|6.3

Plugin: Unix

Control ID: 36d023264af049b8c623ff75b997993f0d2bd42601851812a84ac3c712a6ab84