Identifying and Responding to a Cyberattack Using Tanium Threat Response

Identifying and Responding to a Cyberattack Using Tanium Threat Response

This article walks you through a performing a real-world simulation of detecting and responding to a cyberattack using Tanium Threat Response" />. You will learn the basics of identifying indicators of compromise (IOCs), investigating suspicious activity, documenting threat intelligence, and deploying automated responses to neutralize malicious behavior.

Phase 1: Preparation

Before beginning detection, ensure Tanium Threat Response" /> is deployed across your environment and confirm endpoint visibility. You can also define metrics to evaluate your response effectiveness, such as Mean Time to Detect (MTTD), Mean Time to Respond (MTTR), and Time to Mitigate to help you assess how quickly and efficiently your team can identify and contain threats. For setup instructions, see the Threat Response Overview.

Phase 2: Detection and Analysis

Begin by inspecting the endpoint where the attack originated. For example, an attacker could embed malicious code in a PDF file that appeared to contain confidential employee salary data. Many users would be tempted to open a file like this, making it an effective attack. When a user opens the file, it triggers remote access and unauthorized terminal activity. Look for signs such as unexpected messages, unauthorized access to directories, or unexpected webcam activation, all of which are strong indicators that an endpoint has been compromised.

Next, you can use Tanium Recorder to analyze network traffic from the affected endpoint. Monitor the network traffic of the compromised machine for initiated connections to suspicious IP addresses over rarely-used ports. You can capture this traffic and document it as part of your investigation into the attack. Network indicators are critical for identifying the scope of the attack and determining whether lateral movement has occurred. Learn more in the Client Recorder Extension overview.

Use Direct Connect to inspect the process tree associated with the suspicious file. Some files may spawn hidden processes that require investigation. Examine both parent and child processes, document their relationships, and capture file hashes and execution paths. Documenting can help you understand how the attack is being executed and what payloads are being delivered. Once you identify the malicious IP, port, and processes, create an Intel document to record these IOCs. Use Signal Builder to define detection rules based on these indicators to allow Tanium to automatically detect and respond to similar threats in the future. See Reference: Authoring signals for detailed instructions.

Phase 3: Containment

After you detect and analyze and attack, the next step is to contain the effects of the breach.

Within your Intel document, configure a reaction that will automatically kill the malicious process and quarantine the endpoint when the signal is triggered. This ensures that the threat is neutralized immediately upon detection. You can define these reactions in the signal configuration settings. Assign the Intel document to an endpoint profile and ensure the signal is included in the profile configuration. Label the document clearly so it can be easily referenced later. Once deployed, Tanium will monitor for the defined indicators and execute the configured reactions when a match is found.

Next, confirm the attack is contained. The malicious process should be terminated and the endpoint quarantined. You can try accessing external resources such as Amazon or pinging Google DNS (8.8.8.8) from the endpoint. If the quarantine is successful, these attempts will fail, indicating that the endpoint has been isolated from the network.

Phase 4: Recovery

After containment, run targeted scans on the quarantined endpoint to see if any residual threats remain. Use the Tanium console to locate the quarantined endpoint, then remove the endpoint from quarantine to restore network access. Monitor the action until it completes successfully. Once the endpoint is unquarantined, reconnect to it and confirm that internet access has been restored.

Phase 5: Post-Incident

Once you have successfully resolved the incident, record the timeline of events, including when the attack was detected, how it was contained, and what recovery actions were taken. This documentation is essential for future reference and compliance reporting. You can share the incident summary with your team and security leadership and evaluate the effectiveness of your response by reviewing metrics and identifying any gaps in detection or containment. You can use this analysis to improve your incident response plan and update your Intel documents with new information.

By documenting IOCs, configuring automated reactions, and validating containment, you can neutralize threats quickly and restore normal operations. Always keep your Intel documents updated and monitor for anomalies. For advanced configurations and best practices, refer to the Threat Response User Guide.