Skip to content

Changes to $CATALINA_HOME/bin/ folder must be logged.

An XCCDF Rule

Description

<VulnDiscussion>The $CATALINA_HOME/bin folder contains startup and control scripts for the Tomcat Catalina server. To provide forensic evidence in the event of file tampering, changes to content in this folder must be logged. For Linux OS flavors other than Ubuntu, use the relevant OS commands. This can be done on the Ubuntu OS via the auditctl command. Using the -p wa flag set the permissions flag for a file system watch and logs file attribute and content change events into syslog.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>

ID
SV-222998r961827_rule
Severity
Medium
References
Updated



Remediation - Manual Procedure

From the Tomcat server as a privileged user, use the auditctl command.

sudo auditctl  -w $CATALINA_HOME/bin -p wa -k tomcat

Validate the audit watch was created.
sudo auditctl -l