TOSS must generate audit records for all account creations, modifications, disabling, and termination events that affect "/etc/sudoers".
An XCCDF Rule
Description
Once an attacker establishes access to a system, the attacker often attempts to create a persistent method of reestablishing access. One way to accomplish this is for the attacker to enable a new or disabled account. Auditing account modification actions provides logging that can be used for forensic purposes.
- ID
- SV-253028r958684_rule
- Version
- TOSS-04-030840
- Severity
- Medium
- References
- Updated
Remediation Templates
A Manual Procedure
Configure TOSS to generate audit records for all account creations, modifications, disabling, and termination events that affect "/etc/sudoers".
Add or update the following file system rule to "/etc/audit/rules.d/audit.rules":
-w /etc/sudoers -p wa -k identity
The audit daemon must be restarted for the changes to take effect.