1. Home
  2. Security Hardening
  3. Tenable Cisco Firepower Management Center OS Best Practices
  4. Ensure changes to system administration scope (sudoers) is collected – /etc/sudoers.d

Ensure changes to system administration scope (sudoers) is collected – /etc/sudoers.d

Details

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.’ 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/audit.rules file:
-w /etc/sudoers -p wa -k scope
-w /etc/sudoers.d -p wa -k scope

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles