File Creation Control rule is not applying as expected.
search cancel

File Creation Control rule is not applying as expected.

book

Article ID: 368948

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

File Creation Control rules are not working as expected on files, despite the rule pattern matching successfully.

Environment

  • App Control Server: All Supported Versions
  • App Control Agent: All Supported Version
  • Microsoft Windows: All Supported Versions
  • MacOS: All Supported Versions
  • Linux OS: All Supported Versions

Cause

Not all files are discovered during the write to disk and some are discovered upon their first execution instead. The App Control console will have Discovery type events for these files with a description that includes a value like:

DiscoveredBy[Kernel:Execute]

Example:

Computer <hostname> discovered new file '/<path>/<filename>' [<hash>]. DiscoveredBy[Kernel:Execute] FileCreated[Wed May 29 11:39:20 2024 by <username>] Discovered[Wed May 29 11:39:20 2024 (Hash: Wed May 29 11:39:20 2024)]

Resolution

File Creation Control rules will not work for files that already exist on disk, so an Execution Control Rule or File Rule would be other options to allow those files to execute or block based on the needed action.