What are some Custom Rule combinations that should be avoided?
Environment
App Control Console: All Supported Versions
Resolution
Expert Rule with both Execute operation and Approve action causes significant performance impact
Execute operations are stalled until confirmed the file is approved or allowed
The Approve action forces the agent to analyze the file which is time-consuming and CPU intensive
Combining both Execute and Approve will significantly slow down any running application matching the rule
Using the Execute Action: Allow and Promote could unnecessarily elevate nested processes which will cause unintended local approvals of files.
Allow and Promote should not be used unless a very specific situation in encountered like multi layered software install where a parent process creates and executes a child process which then creates and executes another child process
File Creation or an Expert Rule with a Write/Modify operations and a custom Yara Tags will cause poor performance and high CPU
A custom Yara Tag combined with a Write/Modify operation forces the agent to analyzes a file before it has been written on disk
Expert Rule using the Open/Read operations can hurt performance and should be avoided
Open/Read operations are generally not considered interesting by the agent
Open/Read operations can still be used within an Expert rule with specific paths to Ignore or Block the action
Using Authenticated Users within a Custom Rule could result in unnecessary rule expansion increasing the overall rules count when multiple users log-in simultaneously (e.g. RDS servers)
The Custom Rule will expand into separate rule for every user that is currently logged in
Authenticated Users provides little benefit over using Any User in a Custom Rule, but a rule with Any User expands only once for all currently logged in users
Performance Optimization rules should avoid:
Adding Processes that write interesting (Executable) files with Any Path - instead, specify the exact non-interesting file extensions to exclude
Adding File Paths ending on a wild card - instead, specify the exact non-interesting file extensions to exclude
Otherwise, these types of combinations could stop the Agent from seeing the Create/Write of an Executable file, and prevent the Local Approvals of such files
When the Agent discovers a file on execution, it causes a stall and analysis in-line, which will delay the execute operation