Configure Quarantine for Use with a VPN
An important consideration when preparing for an incident is the configuration of Tanium’s Quarantine package. A properly configured quarantine can greatly reduce the time needed to respond to an incident, while an improperly configured quarantine can cost time when time is a critical asset. One common customer issue with quarantining systems is finding the proper way to quarantine a system connected to their main network via VPN.
Why Quarantine can fail on VPN systems
It is important to understand why quarantines will fail on VPN systems before discussing the options available to allow quarantines to succeed on these systems. Generally, a quarantine will fail because over a VPN, a quarantined machine would no longer be able to communicate with the Tanium Server. Maintaining a connection to the Tanium Server is a safety mechanism that ensures a quarantine can be removed from a machine after it has been quarantined. Without this feature it may require a machine to be physically visited in order to remove the quarantine.
Part of the normal quarantining process will remove the machine from the VPN. Because of this, the machine will not be able to connect to the Tanium Server, resulting in the quarantine failing. There are two options in order to resolve this issue, both of which are appropriate in different scenarios.
Option 1: Configuring the VPN Server
Within the Quarantine options, there is one called VPNSERVERS. After entering the IP addresses of the VPN servers in a comma separated list, any quarantined machine will still be able to communicate with the VPN Server. This will allow the quarantined machine to still communicate with the Tanium Server, because it is maintaining a connection to the network.
In general, it is recommended that this is configured in the taniumquarantine.dat file. For example, if the external IP address of the VPN server was 10.10.100.4, the taniumquarantine.dat file may look like this:
Option 2: Configuring the ALTTS
In some cases, it is not acceptable to have the machine on VPN even after it has been quarantined. In these cases, if you have an external zone server, you can set the ALTTS option to force the quarantined client to communicate with this zone server. With this option it is recommended to override the taniumquarantine.dat file, as this will allow you to still use your same dat file for all other machines, and not have internal machines pointing to your external zone server. To do this, check the Apply Custom Config check box, and enter all the details in the screen below. Please remember that this will apply the configuration entered instead of the taniumquarantine.dat, so additional exclusions needed will have to be added directly.
Preparing Quarantine for use is a critical part of being prepared to deal with an incident. As most environments include vulnerable systems connecting through VPN, being able to quarantine them is critical. Even after setting up the quarantine, be sure to test prior to an incident so that you are prepared when an incident occurs.