SV-77631r1_rule
V-63141
SRG-APP-000340
DTAVSEL-202
CAT II
10
Access the Linux system console command line as root.
Navigate to each path to which the nails user or nailsgroup group has unnecessary permissions/ownership.
Using the chmod command, reduce, or remove permissions for the nails user.
Using the chown command remove ownership by the nails user or nailsgroup group.
Access the Linux system console command line as root.
Execute the following commands. This command will pipe the results to text files for easier review.
find / -group nailsgroup >nailsgroup.txt
find / -user nails >nails.txt
Execute the following commands to individually review each of the text files of results, pressing space bar to move to each page until the end of the exported text.
more nailsgroup.txt
more nails.txt
When reviewing the results, verify the nailsgroup group and nails user only own the following paths. The following paths assume an INSTALLDIR of /opt/NAI/LinuxShield and a RUNTIMEDIR of /var/opt/NAI/LinuxShield. If alternative folders were used, replace the following paths accordingly when validating.
/var/opt/NAI and sub-folders
/opt/NAI and sub-folders
/McAfee/lib
/var/spool/mail/nails
/proc/##### (where ##### represents the various process IDs for the VSEL processes.)
If any other folder is owned by either the nailsgroup group or the nails user, this is a finding.
V-63141
False
DTAVSEL-202
Access the Linux system console command line as root.
Execute the following commands. This command will pipe the results to text files for easier review.
find / -group nailsgroup >nailsgroup.txt
find / -user nails >nails.txt
Execute the following commands to individually review each of the text files of results, pressing space bar to move to each page until the end of the exported text.
more nailsgroup.txt
more nails.txt
When reviewing the results, verify the nailsgroup group and nails user only own the following paths. The following paths assume an INSTALLDIR of /opt/NAI/LinuxShield and a RUNTIMEDIR of /var/opt/NAI/LinuxShield. If alternative folders were used, replace the following paths accordingly when validating.
/var/opt/NAI and sub-folders
/opt/NAI and sub-folders
/McAfee/lib
/var/spool/mail/nails
/proc/##### (where ##### represents the various process IDs for the VSEL processes.)
If any other folder is owned by either the nailsgroup group or the nails user, this is a finding.
M
2941