Managing Remote Tanium Endpoint Traffic
Many organizations have enacted enterprise-wide work-from-home (WFH) strategies to help prevent the spread of Coronavirus (COVID-19). This can put unprecedented pressure on critical IT infrastructure, specifically connection points with WFH endpoints. In Tanium instances, this is your Internet circuits servicing your VPN connections and your Tanium Zone Server.
Proper configuration of your Tanium platform will help your remote workers operate without noticeable impact from Tanium traffic. It will also ensure all endpoints are able to respond to Tanium as quickly as possible, allowing your support teams to maintain visibility and control over endpoints even as more of them start connecting remotely.
The first things you should review are the platform bandwidth throttling and client peering configurations. For Tanium Patch, Deploy, and Discover module users, additional configuration steps should be validated to streamline performance and minimize unnecessary network traffic.
High-priority Platform Tuning
Isolated Subnets
All client VPN subnets (or IP ranges) should be added to the Isolated Subnets list. This configures these endpoints to exclude peering with other Tanium endpoints. Without this, Tanium Clients on the VPN will attempt to peer with each other over the VPN connection. When clients peer with each other, all Tanium question and action traffic, including file downloads, will go to each peer in the chain. When these peering endpoints are not actually on the same physical network due connecting over a VPN, this greatly increases the bandwidth consumed by Tanium.To configure the Isolated Subnets list, browse to Configuration → Tanium Server → Subnets and edit the Isolated Subnets list. Add IPv4 address ranges in CIDR formats, separated by line breaks. Optionally, add comments with **# **or **; **immediately after each entry. The isolated subnets for VPN are those that contain the private IP addresses used by the endpoints themselves while on VPN, *not *the IP address of the VPN devices, firewalls, or anything else. Note that for HA Tanium environments, this step must be repeated while logged into the second Tanium Server.
For endpoints connecting to Zone Servers instead of the Tanium Server, this list must be copied or manually added to the Zone Servers. Typically, VPN-connected endpoints connect directly to the Tanium Server, but in some environments they connect to the Zone Server instead or in addition.
Already-connected endpoints will need up to four hours for a settings change to take effect. After this period, you can validate the settings have applied in Administration → System Status. The IP addresses that fall within any VPN subnets as displayed in the Network Location (from client) column will have the Leader status in the Status column and a single arrow pointing up in the Direction column.
See the Tanium Console User Guide or contact your TAM for more assistance with managing the Isolated Subnets list.
Bandwidth Throttling
In general, subnets with limited bandwidth should have bandwidth throttling values configured. This is of heightened importance for VPN subnets during periods of increased remote work due to the strain this increase could put on Internet connections servicing VPN clients. For a comprehensive overview of throttling, see the Managing bandwidth throttling section of the Tanium Console User Guide or contact your TAM for more information.
To configure a new throttle just to protect VPN users and network resources, follow these steps:
-
In the Tanium console, browse to Configuration → Tanium Server → Bandwidth Throttling
-
Under Site Throttles, click Add Site.
-
Enter a descriptive site name and any VPN ranges that should be throttled. These are in CIDR notation, separated by line breaks:
-
Add a Site Throttle for All Data. The number used should be some number that is less than both the Global Throttle for All Data (seen above the Site Throttles section) and the actual total data rate of the Internet connection servicing the VPN connection. For example, if a 1gbps Internet circuit is used for Tanium Clients connecting over VPN, a 200mbps Site Throttle for All Data for VPN subnets might be used to ensure that most of the bandwidth remains available for traffic other than Tanium:
Work with your TAM to optimize the throttles used for VPN subnets and to determine if additional throttles for Package Files or Sensors should be utilized in your environment.
Patch and Deploy Mitigations
One way to reduce the impact to VPN connections is to reduce the amount of concurrent requests for file downloads. This can be done for both scan metadata files (such as the Offline CAB file) within Patch and for updates and installation files for both Patch and Deploy.
Scan Metadata Files
When using Tanium Scan or the Offline CAB scan method, there are several settings in the Scan Configuration you can adjust to reduce the likelihood endpoints start downloading at the same time:
-
Disable the "Download and scan immediately upon new CAB release" or "Scan when new patches are available" setting if it is enabled. If this setting is enabled, all online endpoints will try to download the offline CAB file or Tanium Scan metadata as soon as it becomes available, rather than waiting for their next scan interval. This means they all try to download it at the same time while this setting is enabled. Disable it to spread these requests out.
-
Increase the Frequency value to cause less frequent scanning. New scan files are downloaded when it is time to scan. It will be less likely for many endpoints to need to scan at the same time if they are scanning less frequently. Note that this will have no effect unless the "new CAB" or "new patches" setting described above is disabled.
-
Use or increase the Random Scan Delay value. As with increasing frequency, this reduces the chance that endpoints try to scan at the same time by causing them to wait a random period of time before scanning, which in turn prevents them from all downloading new files at the same time.
-
Use "Limit Scan Times" to create a Scan Window that avoids peak usage hours. Be sure to set an override so endpoints eventually scan.
Sample Configuration for laptops during increased remote work periods:
The result of these settings does mean that your Patch data is less recent than ideal – we typically recommend a daily scan. Targeting only mobile computers with this Scan Configuration is advisable. A more aggressive configuration without randomization is almost always desired for targeting physical, on-premises systems:
Note that you should generally not target Scan Configurations based on dynamic criteria such as Tanium Client Subnet. The highest-priority scan configuration will continue to function on those endpoints even after they change networks, in this example. Work with your TAM to optimize Scan Configuration settings and targeting.
Patch Update Files and Deploy Software Package Files
For Deployments, there are only two controls to reduce the concurrency of file downloads:
-
Deployment Start Time withoutDownload Immediately. Configure the Deployment start time to try to get systems to download outside of peak usage hours. Do not use Download Immediately as that results in endpoints immediately downloading files for that deployment regardless of the start time. Maintenance Windows do not affect download time in Patch.2. Distribute Over Time. Using this results in endpoints waiting a random amount of time before they scan and try to download Deploy files or new updates for Patch. Old updates the endpoints have already recorded applicable with their scan results will still start downloading at the Deployment Start Time without respect to Distribute Over Time when using the Patch module.
Discover Configuration
Discover Profiles should generally be configured to avoid home networks and VPNs. Active scans due to a misconfiguration could cause Tanium Clients to try to scan other VPN-connected systems, causing additional VPN traffic. Personal devices in home networks can also be scanned if home networks are not properly excluded, resulting in that data being displayed in Discover. Review the below subsections on Scan Inclusions and Exclusions sections of Discover profiles:
Scan Inclusions
For Discover profiles that target Computer Groups or Specific Networks that are known with certainty to not include devices in VPN subnets or home networks, it's likely no action is needed. For any profiles targeting All Networks or networks that could include home networks from Zone Server or VPN-connected endpoints, review Scan Exclusions to ensure remote endpoints are excluded from scans.
Scan Exclusions
All four sections of Excluded Networks may be relevant to ensure Discover scans are not running on remote systems.
-
Selecting Isolated Subnets/Systems can act as a blanket exclusion for Tanium Clients that cannot peer with other Tanium Clients because they are connecting over the Internet through a Zone Server. However, you may have some on-premises devices that are isolated (have no peers) that you still want to scan. If the profile targeting includes those, using this setting is undesirable.
-
Use Specific Networks if you have any non-VPN subnets that you know should not be subject to Discover scans.
-
Select VPN Networks and enter all VPN subnets.
-
Select Zone Servers and enter the IP addresses or fully-qualified domain names used by remote endpoints to connect to those Zone Servers over the Internet. Note that the behavior when endpoints are configured to connect to a particular IP address (rather than a hostname) is to not scan if any hostname in the list is not resolvable. Thus, do not use hostnames in Zone Server exclusions unless all endpoints targeted by the profile will be able to resolve it or all endpoints are configured (in the TaniumNameList setting) to connect to hostnames rather than IP addresses. To avoid scanning gaps, the recommended practice is to use IP addresses for exclusions. You can identify which hostnames and IP addresses Tanium Clients are configured to connect to using the Tanium Question Get Tanium Server Name List from all Machines. Note that this also returns Tanium Server and any internal Zone Server addresses, so you will need to review the output and isolate the addresses for Internet-facing Zone Servers.
For a comprehensive review of Discover settings, review the Discover User Guide.