SV-215248r508663_rule
V-215248
SRG-OS-000256-GPOS-00097
AIX7-00-002025
CAT II
10
For each audit tool in:
/usr/sbin/audit
/usr/sbin/auditbin
/usr/sbin/auditcat
/usr/sbin/auditconv
/usr/sbin/auditmerge
/usr/sbin/auditpr
/usr/sbin/auditselect
/usr/sbin/auditstream
Set the owner to "root".
# chown root <audit tool>
For /usr/sbin/auditldap
Set the owner to "root".
# chown root /usr/sbin/auditldap
Check the following audit tools are owned by "root":
/usr/sbin/audit
/usr/sbin/auditbin
/usr/sbin/auditcat
/usr/sbin/auditconv
/usr/sbin/auditmerge
/usr/sbin/auditpr
/usr/sbin/auditselect
/usr/sbin/auditstream
/usr/sbin/auditldap
# ls -l /usr/sbin/audit*|grep -v ldap
-r-sr-x--- 1 root audit 64926 Mar 30 2016 /usr/sbin/audit
-r-sr-x--- 1 root audit 41240 Mar 30 2016 /usr/sbin/auditbin
-r-sr-x--- 1 root audit 40700 Mar 30 2016 /usr/sbin/auditcat
-r-sr-x--- 1 root audit 13072 Mar 30 2016 /usr/sbin/auditconv
-r-sr-x--- 1 root audit 11328 Mar 30 2016 /usr/sbin/auditmerge
-r-sr-x--- 1 root audit 53466 Mar 30 2016 /usr/sbin/auditpr
-r-sr-x--- 1 root audit 33128 Mar 30 2016 /usr/sbin/auditselect
-r-sr-x--- 1 root audit 29952 Mar 30 2016 /usr/sbin/auditstream
-r-x------ 1 root security 12204 Mar 30 2016 /usr/sbin/auditldap
If any above file's ownership is not "root", this is a finding.
V-215248
False
AIX7-00-002025
Check the following audit tools are owned by "root":
/usr/sbin/audit
/usr/sbin/auditbin
/usr/sbin/auditcat
/usr/sbin/auditconv
/usr/sbin/auditmerge
/usr/sbin/auditpr
/usr/sbin/auditselect
/usr/sbin/auditstream
/usr/sbin/auditldap
# ls -l /usr/sbin/audit*|grep -v ldap
-r-sr-x--- 1 root audit 64926 Mar 30 2016 /usr/sbin/audit
-r-sr-x--- 1 root audit 41240 Mar 30 2016 /usr/sbin/auditbin
-r-sr-x--- 1 root audit 40700 Mar 30 2016 /usr/sbin/auditcat
-r-sr-x--- 1 root audit 13072 Mar 30 2016 /usr/sbin/auditconv
-r-sr-x--- 1 root audit 11328 Mar 30 2016 /usr/sbin/auditmerge
-r-sr-x--- 1 root audit 53466 Mar 30 2016 /usr/sbin/auditpr
-r-sr-x--- 1 root audit 33128 Mar 30 2016 /usr/sbin/auditselect
-r-sr-x--- 1 root audit 29952 Mar 30 2016 /usr/sbin/auditstream
-r-x------ 1 root security 12204 Mar 30 2016 /usr/sbin/auditldap
If any above file's ownership is not "root", this is a finding.
M
4012