Processing integrity - PI1.4

The trust service criteria for additional criteria for processing integrity PI1.4 is a set of guidelines that outline requirements for ensuring the completeness and integrity of an entity's processed data. It states: "The entity implements policies and procedures to make available or deliver output completely, accurately, and timely in accordance with specifications to meet the entity's objectives."

Wazuh helps meet the processing integrity PI1.4 requirement by monitoring and reporting file changes using the FIM capability. This use case shows how you can configure the Wazuh agent on an Ubuntu 24.04 endpoint to detect changes in the critical_folder directory. The finding generated can serve as supporting evidence for integrity control.

Use case: Detecting file changes using the Wazuh file integrity monitoring capability

The use case below demonstrates how Wazuh helps meet this requirement.

Ubuntu endpoint

  1. Switch to the root user:

    $ sudo su
    
  2. Create the directory critical_folder in the /root directory:

    # mkdir /root/critical_folder
    
  3. Create the file special_data.txt in the /root/critical_folder directory and add some content:

    # touch /root/critical_folder/special_data.txt
    # echo "The content in this file must maintain integrity" >> /root/critical_folder/special_data.txt
    
  4. Add the configuration highlighted to the <syscheck> block of the Wazuh agent configuration file /var/ossec/etc/ossec.conf:

    <syscheck>
      <directories realtime="yes" check_all="yes" report_changes="yes">/root/critical_folder</directories>
    </syscheck>
    
  5. Restart the Wazuh agent to apply the changes:

    # systemctl restart wazuh-agent
    
  6. Modify the file by changing the content of special_data.txt from The content in this file must maintain integrity to A change has occurred:

    # echo "A change has occurred" > /root/critical_folder/special_data.txt
    # cat /root/critical_folder/special_data.txt
    

    The command output looks similar to this:

    A change has occurred
    

Wazuh dashboard

  1. Navigate to Regulatory Compliance on the Wazuh Overview dashboard and click on TSC.

    Wazuh Overview dashboard - Regulatory Compliance
  2. Select the Findings subsection and apply the following filter: wazuh.integration.name: wazuh-fim

    TSC Findings filtered by wazuh-fim
    FIM file modified finding details