IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: DLL Blocks On "c:\windows\assembly\nativeimages" Directory

App Control: DLL Blocks On "c:\windows\assembly\nativeimages" Directory

Environment

  • App Control Server: All Supported Versions
  • App Control Agent: All Supported Versions
  • Microsoft Windows: All Supported Versions

Symptoms

Agent is enforcing Execution Blocks on .dll files contained within the "c:\windows\assembly\nativeimages" directory.

Cause

The .NET Runtimes are dynamically generating these files on the endpoint. Some vendors rely upon these files being dynamically generated, and without an Approval Method in place the Agent will enforce execution blocks.

Resolution

Create a Custom Rule that will allow the current files to be executed, and future files to be issued a Local Approval:
  1. Log in to the Console and go to Rules > Software Rules > Custom > Add Custom Rule.
  2. Use the following details:
    • Rule Name: Approve Dynamic .NET Files (or something memorable)
    • Platform: Windows
    • Rule Type: Advanced
    • Operation: Execute and Write
    • Execute Action: Allow
    • Write Action: Approve
    • Path or File: <relevant files from Block Events, example:>
      • c:\windows\assembly\nativeimages_v*_32\*.dll
      • c:\windows\assembly\nativeimages_v*_64\*.ni.dll
      • c:\windows\assembly\nativeimages_v*_32\*.exe
      • c:\windows\assembly\nativeimages_v*_64\*.ni.exe
    • Process: <relevant Process(es), or use Any if they cannot be determined>
    • User: Any User
  3. Click Save & Exit

Additional Notes

  • This Custom Rule could be further modified by adding an <OnlyIf> Macro if the files share a company value.
  • More information on using Macros, and the available options, can be found in the Custom Software Rules chapter of the User Guide.

Related Content


Labels (1)
Was this article helpful? Yes No
100% helpful (2/2)
Article Information
Author:
Creation Date:
‎01-24-2019
Views:
4166
Contributors