Check: AIX7-00-002013
IBM AIX 7.x STIG:
AIX7-00-002013
(in versions v3 r1 through v1 r1)
Title
Audit logs on the AIX system must be owned by root. (Cat II impact)
Discussion
Unauthorized disclosure of audit records can reveal system and configuration data to attackers, thus compromising its confidentiality. Audit information includes all information (e.g., audit records, audit settings, audit reports) needed to successfully audit operating system activity. Satisfies: SRG-OS-000057-GPOS-00027, SRG-OS-000058-GPOS-00028, SRG-OS-000059-GPOS-00029
Check Content
Check the log files under the audit logging directory have correct ownership. The default log file is /audit/trail. The log file can be set by the "trail" variable in /etc/security/audit/config. # grep trail /etc/security/audit/config trail = /audit/trail # ls -l <auditlog dir> total 240 -rw-rw---- 1 root system 0 Feb 23 08:44 bin1 -rw-rw---- 1 root system 0 Feb 23 08:44 bin2 -rw-r----- 1 root system 116273 Feb 23 08:44 trail If any file's ownership is not "root", this is a finding.
Fix Text
Set the owner of the audit log file to "root". # chown root <auditlog file>
Additional Identifiers
Rule ID: SV-215243r958434_rule
Vulnerability ID: V-215243
Group Title: SRG-OS-000057-GPOS-00027
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000162 |
Protect audit information from unauthorized access. |
CCI-000163 |
Protect audit information from unauthorized modification. |
CCI-000164 |
Protect audit information from unauthorized deletion. |
Controls
Number | Title |
---|---|
AU-9 |
Protection of Audit Information |