Details
Frequently, an attacker that successfully gains access to a system has only gained access to an account with limited privileges, such as a guest account or a service account. The attacker must attempt to change to another user account with normal or elevated privileges in order to proceed. Auditing successful and unsuccessful attempts to switch to another user account and the escalation of privileges mitigates this risk.
Satisfies: SRG-OS-000032-GPOS-00013, SRG-OS-000064-GPOS-00033, SRG-OS-000462-GPOS-00206
Solution
To ensure the appropriate flags are enabled for auditing, run the following command:
/usr/bin/sudo sed -i.bak ‘/^flags/ s/$/,lo/’ /etc/security/audit_control; /usr/bin/sudo /usr/sbin/audit -s
A text editor may also be used to implement the required updates to the ‘/etc/security/audit_control’ file.
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Access Control, Audit and Accountability.This control applies to the following type of system Unix.
References
- 800-53|AC-17(1)
- 800-53|AU-12c.
- CAT|II
- CCI|CCI-000067
- CCI|CCI-000172
- Rule-ID|SV-214808r609363_rule
- STIG-ID|AOSX-13-000030
- STIG-Legacy|SV-96189
- STIG-Legacy|V-81475
- Vuln-ID|V-214808