FAQs: Tanium Driver and Kernel Access
This article provides an overview of the Tanium Driver, including how Tanium interacts with different operating systems in kernel space. This article also includes an overview about how Tanium deploys updates and manages change to endpoints and endpoint tooling.
Does Tanium run at the kernel level?
Windows
Yes. On Windows, Tanium uses a filesystem minifilter driver that is included as part of Tanium Engage, Tanium Enforce" />, Tanium Integrity Monitor" />, and Tanium Threat Response" /> where limited privileged access to the kernel space is required.The Windows driver component is only installed on an endpoint if Tanium Engage, Tanium Enforce, Tanium Integrity Monitor or Tanium Threat Response are in use. Most Tanium functions, including the client and endpoint tooling, are executed in user space, with the Tanium Driver only being used for specific functions that can only be done in kernel space.
Mac
No. Tanium uses the Endpoint Security Framework (ESF), Basic Security Module (BSM) audit subsystem, and other user-space data sources on macOS. On MacOS versions older than MacOS11, Tanium uses BSM exclusively. On MacOS11 – MacOS13, Tanium uses a combination of BSM and ESF (if ESF is configured). On MacOS14 and newer, Tanium relies solely on ESF. Additional information can be found under Sources of Client Recorder Extension data on Mac on the Tanium Resource Center.
Linux
Tanium uses Extended Berkeley Packet Filters (eBPF) to interact with the Linux kernel on supported kernels (check support matrix here). eBPF is an open-source kernel module framework that generates instrumentation in the Linux kernel. It provides stable performance and has not been the cause of any crashes as part of Tanium’s functionality. Fundamental to the architecture of this framework is the inability to loop and, consequently, it cannot cause endpoints to become unresponsive.
If eBPF is not available, we will rely on system events generated within the Linux auditd framework, where Tanium is effectively a user-space process polling the auditd log for the presence of new events.
For Windows endpoints, what components does Tanium load at start-up through user-logon? Does Tanium have early-launch drivers?
Tanium does have a Windows filesystem minifilter driver as part of Tanium Engage, Tanium Enforce, Tanium Integrity Monitor, and Tanium Threat Response. More information on the Tanium Driver can be found on the Tanium Resource Center.
Tanium does not load as an Early-Launch Anti-Malware (ELAM) driver in Windows. The Tanium Windows driver is a boot-start driver; the Tanium Client Windows service, Tanium kernel service (TaniumRecorderDrv), and Tanium user-space service (TaniumDriverSvc) launch at startup alongside other services that are configured by Windows to run automatically.
What Tanium modules require the driver on Windows?
The Tanium Windows Driver provides system instrumentation and visibility into activities of the Windows operating system that inform Tanium modules and features on supported Windows endpoints. Currently, Tanium Engage, Tanium Enforce, Tanium Integrity Monitor, and Tanium Threat Response require the Tanium Windows Driver.
-
Engage: Tanium Engage uses the Tanium Client Recorder Extension, which requires the Windows driver to track logon and logoff events to show pending notifications to users.
-
Tanium Enforce" style="font-weight: bold;" />: The Tanium Removable Storage Access policy in Tanium Enforce requires the Client Recorder Extension which requires the driver.
-
Tanium Integrity Monitor" style="font-weight: bold;" />: Tanium Integrity Monitor uses the Tanium Client Recorder Extension, which requires the Windows driver to gather data from endpoints when you enable the Collect process and user attribution information option for a monitor. For more information, see Client Recorder Extension User Guide.
-
Tanium Threat Response" style="font-weight: bold;" />: Tanium Threat Response uses the Tanium Client Recorder Extension, which requires the driver to collect events and data from sources on the endpoint that can be further investigated or used to trigger an alert from a Tanium Signal. More information on Client Recorder Extension configurations with Threat Response can be found here.
Is anything in the Windows Operating System being modified by the Tanium kernel driver?
During regular activity, the Tanium driver does not modify operating system configurations or files. Modifications to the Windows service’s configuration can only be made during installation, removal or update.
-
On install:
-
The Tanium driver creates a kernel driver service, as required by the Windows kernel.
-
This service is named TaniumRecorderDrv, and it is registered as a boot-start driver service.
-
The installer additionally creates the usermode service TaniumDriverSvc.
-
This service is responsible for running a non-kernel support executable responsible for communication with the Tanium driver.
-
The installer will install the
TaniumRecorderDrv.sysandTaniumProcessMonitor.dllfiles within theC:\Windows\system32\driversdirectory without modifying any system files.
-
-
On uninstall:
-
All services registered with the operating system are removed as well as any files placed in operating system directories.
-
-
On update:
-
The installer may change the configuration of the services as necessary.
-
It will also replace any Tanium driver-related files and restart the TaniumRecorderDrv and TaniumDriverSvc services.
-
What files are used by the Tanium Windows Driver?
-
TaniumRecorderDrv.sys -
TaniumProcessMonitor.dll
What access privileges would be required to delete or modify files used by the Tanium Windows Driver?
Tanium Windows driver files are placed in the System32\drivers directory, and therefore require Administrator-level privileges to access.
If Administrator-level access was used to modify TaniumRecorderDrv.sys or TaniumProcessMonitor.dll, the modification would prevent the Operating System from loading due to signature-validation failure which is a feature enforced by the kernel.
Drivers cannot be deleted while they are loaded. Deletion would require that the Tanium driver be stopped, which requires Administrator-level access.
If Administrator-level access was used to delete or rename TaniumRecorderDrv.sys or TaniumProcessMonitor.dll, this could result in issues while booting. A missing boot-start driver may cause the operating system to bug check on Windows 10 and above.
How does Tanium deploy new Signals to Threat Response?
The Tanium Signals feed is downloaded as a single Tanium-signed .zip file containing a .json file with the signal definitions and changelog.txt with notes. Tanium Quality Assurance (QA) reviews new builds prior to release to ensure they are imported properly and tested internally for correct logic in the signal itself. The signals build is consumed by the Tanium Threat Response" /> module service.
Customers can use labels to ensure new signals are not automatically deployed and can be rolled out through the customer’s preferred testing and QA process. Review Tanium’s documentation for best practices regarding safe deployment of intel.
Tanium Signals do not interact with the kernel or have any impact on the Tanium driver.
How does Tanium prevent and address updates that cause endpoint instability?
Client, driver, and endpoint tooling updates are bundled together into regular toolset releases that are tested extensively across a diverse set of endpoints during development. Updates that pass development QA testing are then progressively deployed through development, staging, and internal environments, including our own Tanium production instance. During the controlled rollout to customer environments, Tanium infrastructure monitors and alerts on the health of the client, driver, and tooling. If a significant issue is detected during rollout, Tanium will disqualify the update, prevent it from further progression and a targeted hotfix toolset release would be released to address the issue.
For on-premises customers, Tanium releases the client, driver, and endpoint tooling as part of the semi-annual release bundle. Quality and security updates are released as needed. Customers choose when to import these updates and can control the update of endpoint clients, tooling, and the driver through Endpoint Change Management.
How can a customer manage endpoint client, driver, and tooling updates?
Tanium Cloud customers and on-premises customers with the 2024H1 Release can use Endpoint Configuration Change Management to control the upgrade and deployment of the endpoint tools and client.
When a Tanium solution is upgraded (or when you license a new Tanium solution), Endpoint Configuration must deploy the associated client extensions and any other needed tools to endpoints to provide the functionality included in the upgrade or the new solution. Tools are bundled together in a versioned toolset that contains a specific version of each tool and any upgrades to the Tanium Client. The entire toolset is upgraded as part of newly licensed or updated solutions.
The Endpoint Change Management feature lets you perform a staged rollout of each toolset and client that accommodates the software upgrade strategy for your organization. You can configure upgrade rings through which each toolset version will be promoted, and you assign computer groups to each ring to determine the endpoints that receive the upgrade after each promotion. The toolset is automatically promoted after a configurable number of days, and you can manually promote a toolset after testing is complete in a ring.
Tanium makes available updated content and upgrades, however providing this content to your environment does not override or bypass customers’ configuration of Endpoint Change Management.