FortiEDR
FortiEDR automates the protection against advanced threats, pre and post-execution, with real time orchestrated incident response functionality.
YehonatanA
Staff
Staff
Article Id 375682
Description

 

This article describes how to resolve application control and upload collector content failures for on-prem deployments.

 

Scope

 

FortiEDR On-prem deployments experiencing application control and upload collector content issues following CentOS to Ubuntu Migration. To clarify, this fix is applied on cloud environments and relevant only for on-prem deployments that performed the Ubuntu migration process. Symptoms might be related to application control not blocking configured applications, and collector content upload  errors, similar to the  screenshot below: 

 

error7338.png

 

Solution

 

To remediate this issue, SSH to the manager cli and run the following steps:

First, run the following command and check the output:

 

  1. ll /opt/FortiEDR/files/ApplicationControl
  2. ll /opt/FortiEDR/files/ApplicationControl/24254/Windows

 

  • In case the output is similar to the following screenshots, proceed with creating the folder in step 3, otherwise, continue with step 4 (owner is root (should be: fortinet), and\or 'No such file or Directoryerror message).

 

application control KB.png

 

No such file or directory error.png

 

  1. Create the missing folder:

    mkdir -p /opt/FortiEDR/files/ApplicationControl/24254/Windows

  2. Run the command:

    chown -R fortinet:fortinet /opt/FortiEDR/files/ApplicationControl/24254/Windows

  3. Run the command:

    chown -R fortinet:fortinet /opt/FortiEDR/files/ApplicationControl

    Followed by the command:

    chown -R fortinet:fortinet /opt/FortiEDR/files/ApplicationControl

    Then, run the command:

    chown -R fortinet:fortinet /opt/FortiEDR/agent

    Perform chmod 777 for all mentioned folders:

    • /opt/FortiEDR/agent
    • /opt/FortiEDR/files/ApplicationControl
    • /opt/FortiEDR/files/ApplicationControl/24254/Windows

     

  4. Wait 10-15 minutes allowing the the new configuration to be updated.

  5. Enable\Disable some applications under Security Settings -> Application Control Manager:

     

    application control manager.png

    application control manager2.png

  6. Wait for another 10-15 minutes allowing the new configuration to be updated.

  7. Restart the manager and then restart the aggregator. Test if the issue persists, and if so share collector logs and manager logs for further investigation.