Setting Up Your Toolset

Setting Up Your Toolset

Unfortunately, breaches will occur. Nothing is more frustrating after a breach than going to use threat hunting tools and have those toolsnot work as expected, fail, or just not run at all. By preparing, installing, updating, and testing the Profiles, Live Response, and Quarantine components of Incident Response in Tanium Threat Response" />, you can reduce the severity of incidents in your environment when a breach occurs.

Prerequisites

Endpoint requirements

SensorsNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/console/interact_questions.dita are a key building block of many tools on the Tanium platform. Before running any sensors, it is important to understand the limitations of some of the sensors used in threat hunting. One important limitation is that any of the logging sensors you want to use in Tanium require that the events you are seeking are audited by Windows. As an example, logging for account lockouts is not enabled by default, so you will not see results from the Account Lockouts Security Event Log Search sensor.

Note:

You can find useful logs to enable in this PDF from Malware Archaeology.

The Recorder and Index sensors, as well as context analyzer, are extremely useful for identifying activity in your environment. However, for them to be useful, the tools must be deployed and they must be configured for use. Configuring Profiles for the recorder, index, detection and alerting are beyond the scope of this article, but you can see the Creating profiles page in the Tanium Threat Response User Guide for more information. Even the Incident Response-related sensors require tools to be configured and deployed.

Initial Preparation

One of the most critical steps to prepare for incidents is to get required Tanium tools distributed to your endpoints. Just as important is knowing which endpoints you have chosen not to deploy tools to, and should not expect responses from. While blind spots may be necessary, it is critical to know where those blind spots are. Ideally, document not just where you are not deploying tools, but also why. Documentation can be critical, as the reasons that you chose to deploy or not deploy tools to specific endpoints may change over time.

Tanium Threat Response Tools

Profiles

To ensure that your tools are deployed you will need a Tanium Threat Response Profile. Any endpoint without a profile will be lacking capabilities, including index, recoder, detection, autoruns, and other pieces of the security capabilities. At a minimum, an endpoint should have a Tools Only profile that will potentially not include the recorder, index, or detection engine. If you do not want a target endpoint to generate any alerts, it is important to ensure that a detection profile is configured with a 24/7 blackout window, otherwise, it will respond to on-demand scans. You must ensure that your Security Operations teams understand how the profiles have been configured, as this determines how intel is tested, what is in the recorder, and what gaps in coverage there may be. If your Security Operations team assumes specific endpoints will generate alerts with Tanium when they are not configured to do so, you will have unexpected and potentially dangerous blind spots in your understanding of the environment.

Live Response

Live Response collects forensic evidence from an endpoint and streams it to a location configured in advanced. It cannot stream the data to a Tanium server, so it is important to setup a destination that is reachable from the endpoint. To setup a destination, navigate to Threat Response -> Management -> Live Response and select Destination from the Create button in the top right of the page. The Authentication options differ per destination type. Generally, the type selected depends on the availability of the destination in the environment. SMB is generally discouraged as a destination for multiple reasons:

  • It only works on Windows and requires a domain joined machine.

  • It requires that either the machine has write access to the SMB Share or the Domain Computers Group has write access to the SMB Share.

  • Collecting from machines that are off network is generally not possible.

For all other destination types, the account used is critical. The account should be a special purpose account that only has write access to the share, because the credentials must be on the endpoint during the transfer of information. They are cleaned up after the collection is complete but are at risk while the transfer is occurs. Additionally, for SSH, Tanium recommends using SFTP over SCP because SCP requires that the credentials can be used to log into the machine, where SFTP does not.

You can also create custom file collectors or script sets, scripts that are run on the output and stdout is returned to the server. For these custom scripts or file collectors to be used as part of collection, they must be created like a destination and then added to a collection set. A collection set defines what will be collected by Live Response when run on the endpoint. After all desires pieces are created, you must select Generate Package so that Live Response can be used with the desired options.

Quarantine

The most important consideration with Quarantine is to determine what services that you want to communicate with the system when the system is quarantined. Are you using other security tools on the endpoint? Is there a critical business application you cannot afford to have stop running? You need to answer these questions as part of the system configuration before an incident occurs. Once you identify what communication you want to allow, you can create a quarantine.dat file, and attach it to the quarantine package so that these settings are retained. If you have multiple different configurations that you want to apply to different systems, you will need to create copies of the package. While this is possible, it is not common, and should be carefully considered before it is implemented as it will have long term maintenance and support implications.

Setting up your tools is only the first part of making sure they are ready for use. Continual testing and good upgrade practices are critical to ensuring that your tools are available and ready for use when you need them most.