Enforcing Secure ACL on BAC Folder on Endpoint

Use this task to secure the BigFix Application Control (BAC) directory by enforcing strict access control and ownership settings.

About this task

The task performs the following actions:
  • Validates the existence of the BAC directory at the \Program Files (x86)\BigFix Enterprise\BES Client\BAC location. If the directory is missing, the task exits with a failure code.
  • Ensures the logging directory exists and writes execution logs to the BAC\Logs\Secure_BAC_Permissions.log location.
  • Updates Access Control Lists (ACLs):
    • Disables inheritance on the BAC directory.
    • Removes any existing inherited permissions.
    • Grants full control explicitly to NT AUTHORITY\SYSTEM.
  • Applies the updated ACL to the BAC directory.
  • Sets ownership of the BAC directory and all child objects recursively to NT AUTHORITY\SYSTEM.
  • Logs all actions (success/failure) with timestamps for audit and troubleshooting.
Refer to the table below to know more about the task's exit code.
Table 1. Exit Codes Table
Exit Code Meaning
0 Success
10 BAC directory not found
20 Failed to apply ACL permissions
30 Failed to set ownership
Figure 1. Task: Enforce Secure ACL on BAC Folder on Endpoint

Enforce Secure ACL on BAC Folder on Endpoint v2.0

Procedure

  1. In the BigFix Console, navigate to All Content > BigFix Application Control > Fixlets and Tasks.
  2. From the Fixlets and Tasks pane, select Task: Enforce Secure ACL on BAC Folder on Endpoint v2.0.
  3. From the Task: Enforce Secure ACL on BAC Folder on Endpoint v2.0 pane, click the Applicable Computers(n) tab and view the endpoints on which you want to run the task.
  4. Select the Take Actions tab and select the endpoints on which you want to apply this installer task.
  5. Click OK.
    Note: Once this task is triggered, it remains as an open action and runs on the system whenever the system becomes relevant. Only an administrator can stop this task.

Results

A successful execution of this task results in the following outcomes:
  • The BAC directory is fully secured.
  • Only the SYSTEM account has full control.
  • Ownership is standardized across all files and sub folders.
  • Unauthorized or inherited permissions are removed.