Scanning endpoints for antivirus interference

Important:

Antivirus (AV) interference scanning has the following requirements:

  • AV interference scanning is supported on Windows endpoints only.

  • The endpoint that you want to scan must run toolset version 2.38 or higher.

The Tanium MiniFilter Delay tool identifies minifilter drivers on an endpoint that run slower than expected and might be causing performance issues. Minifilter drivers intercept file system operations at the kernel level. When a driver adds latency to those operations, the visible symptom is often elevated CPU or high kernel time in the affected processes, even though the processes themselves are behaving normally.

The analysis examines file activity across all processes on the endpoint and surfaces the drivers with the highest latency relative to other drivers on the same endpoint. You can run this analysis in the following common scenarios:

  • Diagnose Tanium Client CPU usage: An administrator investigates a high-CPU alert on the Tanium Client, and Task Manager attributes the load to the Tanium Client itself. After running MiniFilter Delay on the endpoint, the administrator pinpoints the driver that is adding milliseconds of latency to every Tanium Client file operation.

  • Validate antivirus exclusions: A security administrator applies antivirus exclusions for Tanium components per the deployment guide. The administrator runs the analysis before and after the change to confirm that driver interference is reduced.

  • Diagnose slow deployments: A patch or action deployment is taking longer than expected on a subset of endpoints. An administrator runs the analysis during the deployment to identify whether a security driver is intercepting file operations and slowing the deployment.

  • Investigate third-party application performance: A user reports that an application is running slowly on certain endpoints. An IT operations engineer runs the analysis to determine whether a driver is adding latency to the file operations the application performs.

For more information about minifilter drivers, see Microsoft: Filter Manager Concepts.

Run a scan

Note:

You require the following permissions:

  • To view scan status and results, you require the Performance MiniFilter Analysis Read permission. All Performance roles have this permission.

  • To start or cancel scans, you require the Performance MiniFilter Analysis Write permission. The Performance User, Performance Operator, and Performance Admin roles have this permission.

Each MiniFilter Delay scan takes approximately 5 minutes to complete. For the most useful results, start the scan while the endpoint is actively running the workload you are investigating, such as during a patch deployment or during periods of elevated CPU:

  1. In Tanium Atlas, run the minifilter-delay-scan skill and identify the Windows endpoint by hostname or endpoint ID (EID). For example, enter minifilter-delay-scan on hostname.

    For more information about skills, see Reference: Tanium-managed skills.

  2. Approve the MiniFilter Delay scan when Atlas prompts you. Atlas prompts you only after it confirms that it can connect to the endpoint. After you approve, a progress bar appears so that you can see the time remaining until the scan completes.
  3. After the scan completes, Atlas returns a summary of the findings, including the filter drivers and file operations that are causing latency. The MiniFilter Delay Analysis panel includes a table that contains the following information:
    Table 1. MiniFilter Delay findings

    Column

    Description

    Driver

    The name of the minifilter driver that is intercepting file operations.

    Process

    The process whose file operations the driver is intercepting.

    Function

    The type of file operation that the driver is intercepting, such as CREATE, READ, or WRITE.

    Average (µs)

    The average time, in microseconds, for the driver to process the file operation.

    Noise Floor (µs)

    The median of the average times across all qualifying drivers for the same file operation on this endpoint. This value represents how fast a typical driver processes that operation on the same endpoint.

    Ratio

    The ratio of this driver's average duration per call to the median duration for the same file operation across all qualifying drivers on this endpoint. A ratio of 1 means the driver matches the typical duration for that operation. A ratio of 10 means the driver is 10 times slower than typical.

    Category

    The impact that the minifilter delay is having on the endpoint. Category can have the following values:

    • Mild: Ratio is less than 5. Driver performance is within an expected range, and no action is required.

    • Moderate: Ratio is 5 to 10. Driver performance might indicate an issue that is worth investigating.

    • Critical: Ratio is greater than 10. Driver performance indicates an issue that is likely affecting endpoint performance.

    Note: If the average call time for a driver is very short, the row appears as Mild even when the Ratio falls in the Moderate or Critical range. A high ratio applied to very short call times does not affect endpoint performance.
    Note: If a driver that you expect to see does not appear in the results, MiniFilter Delay might exclude it from the analysis.

    Atlas also describes which drivers are critical, what operations they are slowing, and how to remediate the interference. For more information about remediation, see

Resolve driver interference

Note: A flagged driver does not always indicate a problem that needs action. Some flagged drivers correspond to legitimate system or application features that require different remediation. For example, elevated activity from wof.sys might indicate Windows CompactOS file compression or a Unified Write Filter on a non-persistent endpoint, neither of which is addressed by antivirus exclusions.

When a scan finds driver interference, Atlas returns recommended exclusions you can apply to reduce the impact. Before you apply the exclusions on production endpoints, complete the following review:

  1. Confirm that each flagged driver is a recognized security or system driver. If a driver name is unrecognized, contact your security team before proceeding.
  2. Review antivirus and security exclusions for Tanium components to reduce driver interference. Coordinate with your security team before modifying antivirus exclusions on production endpoints. For more information, see Reference: Endpoint security exclusions.
  3. Confirm with the application owner or endpoint owner that the behavior captured during the scan matches the reported symptoms.
  4. See the documentation for the affected application or endpoint protection product for additional guidance on reducing driver interference.
  5. After making changes, verify that driver interference has decreased. To run a new scan, see .