SV-99095r1_rule
V-88445
SRG-OS-000064-GPOS-00033
VROM-SL-000305
CAT II
10
At a minimum, the SLES for vRealize audit system should collect file permission changes for all users and "root". Add the following to "/etc/audit/audit.rules":
-a always,exit -F arch=b64 -S lsetxattr
Or run the following command to implement all logging requirements:
# /etc/dodscript.sh
To determine if SLES for vRealize is configured to audit calls to the "lsetxattr" system call, run the following command:
# auditctl -l | grep syscall | grep lsetxattr
If SLES for vRealize is configured to audit this activity, it will return several lines, such as:
LIST_RULES: exit,always arch=3221225534 (0xc000003e) syscall=lchown,sethostname,init_module,delete_module,setxattr,lsetxattr,fsetxattr,removexattr,lremovexattr,fremovexattr,clock_settime
If no lines are returned, this is a finding.
V-88445
False
VROM-SL-000305
To determine if SLES for vRealize is configured to audit calls to the "lsetxattr" system call, run the following command:
# auditctl -l | grep syscall | grep lsetxattr
If SLES for vRealize is configured to audit this activity, it will return several lines, such as:
LIST_RULES: exit,always arch=3221225534 (0xc000003e) syscall=lchown,sethostname,init_module,delete_module,setxattr,lsetxattr,fsetxattr,removexattr,lremovexattr,fremovexattr,clock_settime
If no lines are returned, this is a finding.
M
3461