Rule ID
SV-241626r879577_rule
Version
V1R2
CCIs
CCI-000163
Log data is essential in the investigation of events. The accuracy of the information is always pertinent. Information that is not accurate does not help in the revealing of potential security risks and may hinder the early discovery of a system compromise. One of the first steps an attacker will undertake is the modification or deletion of log records to cover his tracks and prolong discovery. The web server must protect the log data from unauthorized modification. This can be done by the web server if the web server is also doing the logging function. The web server may also use an external log system. In either case, the logs must be protected from modification by non-privileged users.
Find any files that are not owned by admin or not group owned by admin, execute the following command:
ls -lR /storage/log/vcops/log/suite-api/* | grep -vE 'pid$' | awk '$3 !~ /^admin/ {print}'
If the command produces any output, this is a finding.At the command prompt, execute the following command: chown admin:admin <file> Note: Replace <file> with any listed files.