Communication Breakdown: How to Prevent Firewalls From Silently Disrupting Your Tanium Environment
Special thanks to Boyd White for content and authoring assistance. Managing firewall rules is complicated. This is especially true in large organizations that have thousands of firewall rules across dozens or hundreds of firewalls. Misconfigured or missing firewall rules can be a silent issue and often go unnoticed. You may be seeing communication from some endpoints, but be unaware that other endpoints are having problems communicatingBelow, I'll cover what is required for Tanium network communication and discuss ways to troubleshoot. This guidance can also help you be proactive and prevent Tanium network communications failures.In this article, I'll refer to firewalls, but in many environments we are often presented with other devices that can prevent network communication, having a similar effect to a firewall such as a proxy, router, WAN accelerator, Intrusion Prevention System (IPS), etc. Tanium Network Requirements To start with, let's review and ensure we have implemented the core Tanium Platform network requirements:This pagehas the current list of required network ports and proxy exceptions for a Windows server deployment.The Tanium Appliance Deployment Guide contains the latest required network ports and proxy exceptions for a TanOS server deployment.In addition, each module may have its own set of network requirements. These can be found at under each module's requirements section. Review each module's network requirements and plan for success by working with your Network team to implement.
Discovering If A Firewall Is Preventing Tanium Network Communication
Even after successfully implementing the network firewall and proxy (if applicable) requirements within your environment there is still work to do. New networks come online, firewall rules change, and Tanium modules and operational use cases change too.Sometimes the easiest method to verify if Tanium traffic is being affected is to review your firewall logs and determine if there are any block/deny/reject events occurring from the source and destination of your Tanium infrastructure (including Tanium Server(s), Module Server, and Zone Server(s)).One method to simplify this process is to automate the capture of firewall events on a regular basis and alert on any block/deny/reject events related to Tanium network traffic.This will give you the ability to spot and remediate problems early.Note for customers upgrading to Tanium 7.4: we utilize a new version of the client protocol (315). If your firewall rules utilize a Tanium application object based on the previous protocol (314), this may prevent Tanium 315 protocol traffic. Ensure you address this with your TAM prior to upgrading to Tanium 7.4.
Examples of Affected Tanium Communication and Possible Quick Fixes:
|
Problem |
Possible Quick Fix |
|
Tanium client cannot communicate with the Tanium server or Tanium Zone server |
Check firewall logs/Tanium client log |
|
Live Endpoint Connections in Threat Response won't connect to the client |
Ensure the Threat Response module network requirements are in place |
|
Patch Module scan deployments or repo updates are not downloading |
Ensure the Patch module network requirements are in place |
|
Tanium packages cannot cache files |
Determine if access to the content of the package is being prevented by a firewall or proxy |
|
Tanium packages are stuck in a Downloading File phase and never execute |
Determine if layer 7 (application) firewall rules are preventing package file downloads |
|
Tanium clients are not able to connect to their neighbor peers causing a high leader count |
Check that firewalls (including endpoint firewalls) are not preventing clients from peering |
|
Modules or Content won't import |
Determine if access to https://content.tanium.com is being prevented by a firewall or proxy |
Common Commands to Help Troubleshoot Tanium Client to Server Communication Here are some example commands to check network connectivity:
|
Command |
What it can tell you |
|
ping <Tanium Server Name> |
This will check DNS resolution and IP connectivity |
|
nslookup <Tanium Server Name> |
This will check DNS resolution-be careful as there are multiple ways to resolve names and just because nslookup is working correctly, there may be other unseen DNS problems |
|
netstat -an | findstr 17472 |
Windows command to see if any active Tanium connection exists; use grep on Unix |
|
telnet <Tanium IP> 17472 |
This will check for TCP connectivity from the client, if the connection looks like it hangs that indicates the session is being opened, if it closes quickly that is a sign that the port may be blocked |
|
Test-NetConnection -port 17472 -ComputerName <IP> |
This can be used as a PowerShell command, if telnet is not available |
If you are a customer with a Tanium Appliance you can utilize the Tanium Support menu within the Tanium Appliance to perform a number of network tests from the Tanium Appliance to the Tanium Client, Tanium Module Server, and Tanium Zone Server.Note: ensure you are testing the Tanium Server Name(s)/IP(s) as configured in the client Tanium Server List/Server Name List. Additional Troubleshooting: Tanium Clients That Are in A "Blocked" Status Tanium Clients can go into a "Blocked" status. There are two reasons this can occur:
- The Tanium Client is receiving a number of messages larger than the configured threshold for the Tanium Client.
- The Tanium Client cannot connect to its peer neighbor in order to forward messages.
To determine if a Tanium Client has gone into a "Blocked" status go to the System Status page and review the Status column for any clients with a status of "Blocked". The Tanium Client log found within the Log directory of the Tanium Client installation folder will show which of these two issues is happening. The Tanium Client No Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/client/troubleshooting.ditawill need to have the LogVerbosityLevel setting set to a minimum of 1 in order for client logs to be present. Another method is to ask the following question in Interact to return all blocked systems; Get Computer Name and Tanium Client Subnet from all machines with ( Tanium Back Peer Address contains NoAddress_NoAddress or Tanium Peer Address contains NoAddress_NoAddress )
If a block exists for a long time, it is likely because the client cannot connect to its peer neighbor and it's possible that a firewall is preventing peer communication. Work with your TAM and/or endpoint team to determine the reason for the block status and how to best resolve the issue. The resolution may require you to change Tanium Client tuning settings or utilizing Separated and/or Isolated Subnets. Additional Troubleshooting: Tanium Client Packages That Don't Execute One unexpected interference by a firewall is when clients will respond to questions/sensors but won't deploy packages. Since the Tanium Client is responding to questions/sensors you may believe there are no firewall issues occurring however, in this example your firewall may be performing Application Layer traffic filtering and is determining the protocol Tanium is utilizing to deploy the package is not allowed.A common method used to verify if this behavior is occurring is to review the Tanium Action log for a failed action and determine if the package is not getting past the downloading phase.Troubleshooting Steps:
- Document the failed action Action ID number.
- Look in the Downloads directory of the Tanium client and open the Action Log that is associated with the Action ID or target the affected system in Interact and ask "Get Tanium Action Log" specifying the Action ID for the log you wish to review.
- Verify the Action Log reveals that the package has the status of "Downloading Files" but doesn't complete its download and execution of the package.
If a package is stuck in a downloading phase, it is possible layer 7 traffic filtering on the firewall is preventing the download of the package. Review your firewall logs to determine if a block/deny/reject event is occurring. You can remediate this by specifying the proper protocol for Tanium communication in your firewall rule (The layer 7 object required differs by firewall vendor so work with your TAM to identify the proper rule to implement). Another way you can resolve this issue is to remove layer 7 traffic filtering and implement a standard firewall port rule. To help scope the networks where packages are being prevented from deploying perform the following steps:
- Within Interact, target the hosts that are having issues downloading packages
- Select Drill Down and ask the question get Tanium Client Subnet to identify the affected networks.
- Provide this information to your Network team to assist in identifying which firewall(s) may be mis-configured.
Final NoteFor help troubleshooting Tanium network communication please reach out to your TAM and/or Network team for additional assistance.