Adding intel
Intel defines one or more conditions that might indicate malicious behavior on endpoints. Threat Response can leverage multiple sources of intel to identify and alert on potential threats in an environment. In addition to supporting third-party intelligence sources, Tanium provides threat intelligence called Signals. Intel documents and Signals, generally referred to as intel, interact with Threat Response to provide comprehensive monitoring and alerting.
Some intel document types, such as OpenIOC, STIX, CybOX, and YARA, search against existing or historical artifacts on the endpoint. There are a number of providers for these documents. You can upload them directly or configure source streams. Both the 1.0 and 1.1 versions of OpenIOC are supported. CybOX 2.1 is the currently supported version. The current supported version of STIX is 1.2. STIX 2.0 is required for TAXII 2.0 support. Consequently, TAXII 2.0 is not currently supported. YARA 4.5.0 is supported and support for the following default modules is provided: pe, elf, dotnet, hash, cuckoo, math, magic, macho, dex, string, and time.
Signals
Signals overview
Signals provide real-time monitoring of endpoint telemetry events; for example, process, network, registry, and file events for malicious behaviors and methodologies of attack. Unlike other static forms of intel which focus on specific indicators, Signals are evergreen heuristics; they are perpetually relevant.
Signals interact with the engine differently; they can evaluate continuously with the recorder and match on live process events on endpoints. Signals help to identify malicious activity by correlating events and searching for behavior-based indicators that something is awry. You can use Signals as a source directly from Tanium, or you can write your own Signals. See Reference: Authoring Signals for more information.
When a Signal evaluates with the recorder database and an event matches, the resulting alert shows the context of the match. If you have filters for specific events in a recorder configuration, signals that match the events can still generate alerts. For a Signal to evaluate with the recorder database, you need to enable both intel and recorder configurations in an active profile.
The events of a Signal match are always written to the database, and override any filters that are included in a recorder configuration.
An exhaustive reference to Signals syntax - including supported objects, properties, and conditions - is available in the Threat Response Intel Support documentation. To access the Threat Response Intel Support documentation, click from the Threat Response overview page and click the Threat Response Intel Support tab.
Signals do not always evaluate with the recorder database
There are times when Signals cannot be evaluated with the recorder database. For example, it is possible for the recorder to generate Signals, but not record them in the recorder database. Additionally, there are cases where events have been recorded, but one or more of the events in the Signal match occurred too far in the past that the event has been purged from the recorder database.
Threat Response integrates with third-party reputation services. Hashes are sent to the reputation service for assessment, then Threat Response enhances intel with the hash ratings. The Definition and Engine Analysis tabs on the Intel details page provide additional information about how the intel document is structured, which parts are applicable, and the hash rating.
Signals best practices
-
Test any update prior to full deployment. Test intel in a lab or test environment and deploy intel in a ring-based deployment to a production environment. For more information, see Testing intel for deployment.
-
When testing signals, pay close attention to the false positive rate. For more information, see Filter false positives and Distinguish between malicious and false positive alerts.
-
When you test for True and False positive rate, it is important to test on as many system types and workloads as possible. If workload is not tested against, it can generate unexpected false positives. Production workloads often differ significantly from test workloads, thus production is critical. As a best practice, test intel in a lab or test environment and deploy intel in a ring-based deployment before deploying to a production environment.
-
There are multiple methods of getting random computer groups. Use the computer ID to generate a random sample instead of using the Online Random Sample sensor, as systems come in and out of groups on every evaluation.
-
Throttle configuration (configurable, but enabled by default) should be enabled for all production deployments. This mechanism prevents an overabundance of alerts in production installations. It should remain enabled in production, regardless of the testing process.
-
When using any intelligence feed (including Tanium Signals), do not directly deploy new intelligence to the production environment. New intelligence should go through the testing processes you have defined and that are outlined in step 1. In the case of Tanium Signals, use a custom label to include Signals in the production deployment configurations.
-
Intel is not a one-time effort. Regardless of the testing process, a large accumulation of intel causes performance impact on endpoints. After rolling out intel, continue to monitor for performance changes, and opportunities to tailor definitions for your environment, as all environments are different and constantly changing.
-
Use suppression rules to reduce false positives for process events if they are not causing throttling or high numbers of alerts. If events are throttled or non-process events are needed, the signal should be modified.
-
It is not possible to directly modify signals provided from the Tanium Signal Feed. You can add suppression rules, but if you need to modify the signal, make a copy and modify the copy.
-
The intel document development workflow requires suppression rules, but suppression rules cannot compensate for truly poor intel. For example, you should not make intel document to alert on all instances of PowerShell and use suppression rules to all for exceptions. The focus of the signal should be on the positive alerting criteria.
Intel safeguards
Poorly tested or low-fidelity intel can cause a rapid influx of false-positive alerts that can be time consuming to review. By evaluating the fidelity of intel documents and disabling intel documents that generate high volumes of alerts, Threat Response can provide safeguards which help reduce false positive matches that overwhelm analysts. Intel safeguards provide the option to set thresholds across the environment for intel and to suppress intel that generates amounts of alerts that exceed the thresholds.
There are two types of thresholds that you can set; a per-endpoint alert rate before Threat Response disables the intel that initiated the alert, and a maximum percentage of disabled endpoints before Threat Response disables the intel document that initiated the alert.
Intel Safeguards is designed to only occur on Intel that is already being throttled. It only shuts down intel that is repeatedly and continuously throttled. Adjusting throttle settings impacts Intel safeguard settings.
-
From the Main menu, go to . Click Settings
.
-
Click .
-
In the Intel Safeguards section, enable or disable the Intel Safeguards setting. Enabling this setting causes intel documents that initiate a volume of alerts to become disabled. Default: Enabled.
-
In Endpoint Safeguard Setting, specify a number of throttle events that must occur in a time period for the intel document that is initiating the alerts to be disabled on the endpoint where alerts are being initiated. Default: 2 throttle events in 120 minutes. By default, individual endpoints throttle alerts for one hour if an Intel document alerts five times in five minutes. If this happens twice in a row, Intel Safeguards disables that intel document on that specific endpoint. Alerts from all other endpoints continue to be received.
-
In Global Safeguard Setting, set a threshold for continually throttled events across the enterprise that must occur for an intel document to be disabled. For example, if an intel document, at the service level, throttles 250 events consecutively, that intel document is disabled. Default: 250. By default, the service begins throttling alerts if an Intel document has more than 100 alerts in 20 minutes. If the number of alerts continues above this level, and the service counts 250 additional continuously throttled alerts after the throttle is initiated with no break in the throttling, Intel Safeguards will shut down that intel document across the entire environment.
You can disable Intel Safeguards for individual intel documents of the following types: Open IOC, YARA, STIX, and Signals that are part of the Tanium Signal feed.
-
From the Main menu, go to .
-
In the Advanced Settings section, deselect Set to Active.
In the Intel page of the Threat Response workbench, you can filter for intel documents that have the following states of intel safeguards:
- Enabled
-
This designation is assigned to any intel documents that are not assigned another state.
- Reduced
-
This designation is assigned to intel documents that any single endpoint has disabled. The result of an intel document being assigned this designation is that it no longer provides the complete visibility expected from a high-fidelity intel document. A system notification appears in the audit browser to show which endpoints are in a reduced state.
- Disabled
-
This designation is assigned to intel documents that are disabled enterprise-wide. Such intel documents have initiated alerts that have throttled over 250 times. 250 is a default value that you can configure to a more appropriate value for an environment. Intel documents with this designation require tuning and reevaluation to be effective.
- Pending
-
This designation is for new or recently modified intel documents that have not been deployed and consequently have no basis for any other designation. If intel is deployed, but the intel document is not applicable to any endpoints, it continues to display as Pending indefinitely. Intel must be included in a Detection configuration to be applied to an endpoint. If an Intel document does not move to a Reduced or Disabled status, Intel remains in a pending state for up to two hours (by default) after Intel is deployed before moving to an Enabled state. This two hour timeframe is based on the Endpoint Safeguard Setting, which is 120 minutes by default.
- No Safeguards
-
This designation means that automatic management of Enabled, Reduced, or Disabled states is turned off for an Intel document. This designation can be only for a specific intel document, or it could be turned off for the entire environment.
Note: You can re-enable Intel documents after they have become disabled or reduced by updating the intel document and deploying to reset the state. Saving any changes to the name, any suppression rules, or edits to the definition, or labels associated with the intel document constitute a change. Alternatively, you can also turn off safeguards for an individual document and redeploy intel to re-enable a reduced or disabled document. To re-enable all disabled intel documents, disable the Intel Safeguards setting in the Intel Safeguards section from the Settingsavailable from the Threat Response overview page.
Configure intel sources
An intel source provides a set of intel documents from an external source. Sources can be a vendor or a folder in your network. You can import sources manually or use sources that are based on subscription settings.
Intel sources are updated from the Threat Response service, which runs on the Module Server. If security software is deployed in the environment to monitor and block unknown URLs, your security administrator must allow the intel provider URLs on the Module Server.
Threat Response can use several data formats, with the following available source types:
Connect to the Tanium Signals feed
The Tanium Signals feed provides a stream of regularly updated Signals that are designed to detect common patterns of attack on Windows endpoints. Each Signal is mapped to one or more categories in the MITRE ATT&CK Framework.
When the Tanium Signals feed gets updated, system notifications get generated that include the release notes about the updates.
Configuring Tanium Signals feed in an airgapped environment
To configure the Tanium Signals feed in an airgapped environment on the Tanium Appliance, see Install or update Tanium Threat Response Signals.
If you are using one of the following versions of Threat Response, download Tanium Detect Signals v4:
-
Threat Response version 3.10.59 or later 3.10 versions
-
Threat Response version 4.0.1116 or later 4.0 versions
-
Threat Response version 4.2.29 or later 4.2 versions
-
Threat Response version 4.3.176 or later
If you are using Threat Response version 1.4 to any earlier 3.10, 4.0, 4.2, or 4.3 than listed above, download Tanium Detect Signals v3.
To deploy signals in an airgapped environment, navigate to https://content.tanium.com/files/published/thr/signals/refs/ga/DetectSignalsV4.zip and download Tanium Detect Signals from a computer that can access the internet. If you encounter a problem, see Contact Tanium Support.
When the download completes, host the .ZIP file on a Web server that is accessible by Threat Response. You can use the Tanium server to host this content. When this content is hosted, follow the instructions for connecting to the Tanium Signals feed.
For example, you can save the .ZIP file in a sub directory of the Tanium Server HTTP directory named signals. In this example, the URL to use when you create the signals feed is:
https://my.tanium.server/signals/DetectSignalsV4.zip
In this scenario, content downloads directly from the Tanium Server, so the Require Tanium Signature option should be deselected. If the environment uses self-signed certificates select the Ignore SSL option.
All downloads of signals are logged on the module server.
Connect to iSIGHT Partners ThreatScape
The iSIGHT intelligence is always in STIX format. You can have only one stream of this type at a time.
Connect to a TAXII server
TAXII intelligence is always in STIX format. Unlike other streams, TAXII also sorts intel documents into collections, and a document only appears in one collection. Configure a source for each collection. Tanium does not support Subscription Based TAXII Servers; TAXII servers must be collection based.
Set up Connect and Wildfire
For more information about configuring the reputation service, see Reputation data.
Use a local directory or remote share
Stream intel from a set of local directories on the Module Server. The System Administrator for the computer where the Module Server is hosted must authorize a directory for streaming.
To view the allowed paths, use the GET source-types/folder/allowed-roots route. To add or replace paths use the PUT source-types/folder/allowed-roots route. Both routes are only available to users who are assigned the Tanium Administrator role. For more information about using the Threat Response API, click from the Threat Response workbench.
To mount a file share on a Tanium Appliance, see Configuring proxy server settings in a Windows deployment. After configuring the Detect file share mount, use the absolute path value /opt/mounts/detect as the Local Directory Path.
If you edit an existing source, for example, by adding subscription choices, Threat Response indexes and downloads new intel documents every 60 seconds. The intel gets pushed to the endpoint during the next intel publication interval.
For more information about registry settings to use sources with a proxy server, see Configuring proxy server settings in a Windows deployment.
Delete an intel source
When you delete an intel source, all intel documents that are associated with the source are moved to the Orphaned source. The Orphaned source is not displayed on the sources page. To identify intel documents associated with the Orphaned source, you can filter all intel. Alerts that are associated with the intel from the source you are deleting are not deleted.
- From the Main menu, go to .
- Click the intel source that you want to delete.
- Click Delete
. Confirm that you want to delete the intel source.
Any intel documents that were associated with the source you deleted are now associated with the Orphaned source. To manage intel in the Orphaned source, see View orphaned intel documents.
Configure process injection
The Process Injection intel document provides a way to alert on incidents that involve techniques such as process injection and credential dumping. Process injection is a method of executing arbitrary code in the address space of a separate live process. Running code in the context of another process can allow access to the memory of the process, system and network resources, and possibly elevated privileges. Process injection can also evade detection from security products because the execution is masked under a legitimate process. In the context of process injection, the actor identifies the process or file that performs the process injection. The target identifies the artifact that has been the subject of injection.
The Tanium Driver can monitor specific Windows API calls by injecting into user processes and kernel callbacks. The Tanium Driver can detect process injection and enable you to configure which process injection techniques result in an alert.
There are several techniques for process injection for which the Tanium Driver can monitor.
|
Technique |
Description |
|---|---|
|
Asynchronous Procedure Call |
A process injection technique where an asynchronous procedure call executes memory that has potentially been created or modified in a malicious manner. |
|
Asynchronous Procedure Call Write |
A process injection technique where an asynchronous procedure call writes to remote memory. For example, an asynchronous procedure call is queued to execute memset. |
|
Atom Bombing |
A process injection technique where an asynchronous procedure call is queued to write to memory through GetGlobalAtomName. |
|
Callback Overwrite |
A process injection technique that encompasses any method that modifies a function callback pointer in the target to potentially execute malicious code. |
|
Ctrl Inject |
A process injection technique where key combination processing (for example, CTRL+C) is used in a possibly malicious manner. |
|
Exe Header Modification |
A process injection technique that includes an executable showing in-memory header modification that could be intended to load a DLL or execute code in a malicious manner. |
|
Image Section Replacement |
A process injection technique that involves the removal of a mapped DLL or executable from memory and replaced with new memory in a possibly malicious manner. |
|
Thread |
A process injection technique where a new thread has been remotely created in a possibly malicious manner. |
|
Thread Context |
A process injection technique where the context of a thread context has been modified to execute in a possibly malicious manner. For example, SetThreadContext. |
|
Unknown Asynchronous Procedure Call |
A process injection technique where an asynchronous procedure call that was not detected as queued is about to execute. Such a situation could be indicative of something malicious running in the kernel and injecting into a process or it could be other security products performing their own injection. It could also be caused by the Tanium process monitoring DLL not being injected into the actor process that queued the APC. |
|
Unusual Initial Thread |
A process injection technique where the first thread in a process was created in an unusual manner. For example, the operating system did not create the thread, but instead a remote process. |
|
Window |
One of any process injection techniques that use various window manipulations to execute code in a possibly malicious manner. For example, SetWindowLongPtr or SetProp. |
You can view, investigate, and take action on alerts that are the results of matches to process injection criteria from the Alerts tab of the process injection intel document.
Reputation data
Reputation data provides more insight into which alerts might be good candidates to save for further analysis and action. Through a Tanium™ Connect integration, Threat Response uses the reputation data from third parties, such as VirusTotal. Blocklisted hashes are not included in the results unless the hashes are discovered by the saved question.
Threat Response detects if the reputation service is paused or stopped and in this event does not update reputation data. If after 24 hours the reputation service is disabled or deleted, Threat Response deletes the reputation source and any existing intel documents associated with the source are moved to the Orphaned source. If reputation is added again, the reputation source is created again.
The maximum database size for the reputation database is 10GB by default. You can increase this size as needed in the Reputation settings in the Reputation workbench. If the database exceeds this size, the reputation service is disabled.
Configure reputation data in Tanium Connect
In Connect, create a connection from a saved question source to the Tanium Reputation destination. This connection initiates a list of hashes to be sent from a saved question in Connect to Reputation. The detect service queries Reputation for all discovered malicious hashes including known bad hashes. Reputation data requires a Connect version from Connect 4.1 to Connect 4.10.5, or Connect 4.11 and Reputation 5.0. For more information about configuring the reputation service settings, see Tanium™ Reputation.
For endpoints that use reputation data, any hashes found by the saved questions are sent to the third-party reputation service for assessment.
Add Signals
Signals are monitored by the recorder for live process, file, network, registry, and DNS event matching on the endpoint providing a recorder configuration is enabled in an active profile. If a recorder configuration is not enabled in an active profile, Signal matches still initiate alerts, however no specific information regarding the context of the Signal match appears in the resulting alert. You can write your own Signals. By default, each Signal can contain up to 55 terms.
For Signals provided by Tanium, see Connect to the Tanium Signals feed.
You can use the Threat Response Import Signals API to import signals that contain comments in the signal definition. Comments in signals are denoted as // at the beginning of lines or after the signals content.
For example, you can use the Threat Response Import Signals API to import a signal that contains the following syntax:
//Description: Generic single line description
//MITRE: T1234
process.command_line contains "foo" and process.path contains "bar"
For more information about the Threat Response Import Signals API, click and see the API documentation from the Threat Response workbench.
Import and export Signals
Import and export Signals to move them from one platform to another. For example, you can export Signals from a test system and import them to a production system. Signals are imported and exported as JSON files and have a file size limit of 10 MB.
Export Signals
Import Signals
// at the beginning of lines or after the signals content.
- From the Main menu, go to .
- Click Import Signal(s).
- Browse to the JSON files that correspond to the Signals you want to import. Click Open.
- If the Signal already exists, or exists with different suppression rules or labels associated with it, select to not import the Signal. Click Next.
- Review the list of the imported Signals and click Import.
Upload intel documents
You can upload multiple intel documents at the same time, including YARA files. The size limit for uploading intel documents is 10MB for IOCs in XML format, such as STIX version 1.x, and Signals in JSON format.
- From the Main menu, go to .
- Click Import IOC/YARA(s) or Import Signal(s).
- Select intel files and click Import.
- Review the intel validation check. The intel XML schema validation check shows the documents that were successfully uploaded and any documents with errors.
- Click Close.
Create intel documents
Create an intel document with a set of user-defined rules.
Create IOCs
Use the IOC editor to create both simple and complex IOCs using AND/OR operators and understand the IOC objects and properties that Threat Response supports. You can edit IOCs that you import to the Threat Response workbench, remove any unsupported objects or properties, and add conditions to fine tune detections. The IOC editor ensures that the syntax is followed and validates that IOCs that you create feature supported terms. Imported IOCs might contain unsupported terms and therefore editing an IOC only enables you to add, modify, or delete terms supported by Threat Response, and to only delete non-supported terms.
Both the 1.0 and 1.1 versions of OpenIOC are supported.
- From the Main menu, go to .
- Click .
- Add a name and description.
- (Optional) Select a reaction to associate with the IOC. Reactions automate one or more actions on an endpoint based on alerts from intel documents (for example, delete one or more files, kill a process, or quarantine an endpoint). For more information about reactions, see Creating reactions. By default, the reaction is set to Audit Mode. You can disable Audit Mode when you save the IOC.
- In the Advanced Settings section, choose whether or not to enable Intel safeguards. Intel safeguards provide the option to set thresholds across the environment for intel and to suppress intel that generates amounts of alerts that exceed the thresholds. For more information about intel safeguards, see Intel safeguards
- Select a MITRE Techniques. Selecting MITRE Techniques allows users to align with the MITRE Attack Framework and help map coverage to the different tactics and techniques. You can assign multiple techniques.
- Select any applicable labels to add lables to the IOC.
- Use either the IOC Builder or Text Editor to provide the content of the IOC.
- (IOC Builder) Select an object, property, condition, and value to use in the IOC. An exhaustive reference to IOC syntax - including supported objects and properties is available in the Threat Response Intel Support documentation. To access the Threat Response Intel Support documentation, click
from the Threat Response overview page and click the Threat Response Intel Support tab. When you use the matches condition for any supported object, IOC uses regular expressions to evaluate resulting matches. You can include flags in the regular expression string to perform case sensitivity or insensitivity. You can use the (?i) flag around content in the regular expression for case insensivity. To end a section where you want to use case insensitivity, you can use the (?-i) flag. For example,(?i)scvhost.exe(?-i) matches include ScVhOsT.eXe, scvhost.exe, and SCVHOST.exe.
- Click Add Row to add additional criteria to the IOC. When you have multiple rows, you can select whether the IOC evaluates all of the rows logically as AND or OR.
- Click Save.
- (Text Editor) Provide the IOC content using valid syntax. Threat Response validates the content and flags unsupported objects.
- Click Save.
Label intel
Use labels to organize intel into sets that are relevant for your environment. For example, you might want to sort intel by priority, incident case, or based on the applicable attack surface.
Create custom labels to control the promotion of intel in a production environment. The names of labels provided by Tanium are subject to change. Signals are generally updated automatically, creating a possibility that label changes could cause unintended consequences in a production environment. A best practice is to adopt a convention for naming custom labels that follows an organization’s object naming guidelines. Intel documents that Threat Response provides by default, such as Defender, Deep Instinct, and Process injection do not support labels.
You can apply labels to the Reputation intel document, however if you want to add reputation intel for background scanning, you must add the reputation source in a Detection configuration. You cannot add the reputation intel document to a detection configuration as you would add other intel.
Apply a label
- From the Main menu, go to .
- Select the checkbox next to the intel documents or Signals. Click Labels.
- Click Add Label and type in a new label or select an existing label.
- Click Save Changes.
Manage existing labels
- From the Main menu, go to .
- Select the checkbox next to the intel documents or Signals. Click Labels.
- Click Manage Existing Labels and select or deselect the labels you want to apply to the intel document or Signal. In the Selection Preview section, review the impact of making changes to intel documents.
- Click Save Changes.
Configure YARA files
YARA files function like other intel documents, in regards to uploading, streaming from a folder, and labeling. However, Threat Response automatically assigns a scope to limit the evaluation scan; by default, all YARA files are set to scan live files. You can change the evaluation scope for any YARA file.
- From the Main menu, go to .
- Click the intel name, then click the Search Scope tab.
- Select the scope of evaluation scan.
- Live Files: This instructs Threat Response to find the files for any running processes (executable and loaded library files) and then use the YARA rule to scan their file on disk. Limited to the running processes and their executable and library files.
- Memory: Limited to the memory of all running processes.
- Paths: Limited to the configured directory paths. The path search is recursive, up to six directories. When adding paths ensure that no duplicate entries or empty values are added.
- Click Save.
View orphaned intel documents
When the source for a piece of intel is removed, the intel moves into an orphaned state.
- From the Main menu, go to .
- Expand the Filter Results section and set the Source to Orphaned.
Assign a reaction to an intel document
To cause the workflows that you define in a reaction to occur when an alert is initiated for an intel document, you need to assign the reaction to an intel document. For more information, see Creating reactions.
Testing Intel for deployment
When you are ready to promote the intel in a production environment, the following process is advised as a best practice:
- Import or create the new intel in a production environment.
- On-demand scan the intel against a computer group that contains a small number of endpoints that you have identified as appropriate for testing purposes. For more information, see Configure a computer group for more information. On-demand scans send a single piece of intel to the endpoints for immediate matching and alert reporting. You can use Signals, OpenIOC, STIX, YARA, or reputation intel in an on-demand scan. For more information, see On-demand scans. Verify the performance of the intel; for example, ensure it is matching and generating alerts for expected indicators of compromise.
- On-demand scan the intel against a computer group that contains approximately 10-20% of the total endpoints the intel will ultimately target. Verify the performance of the intel. Modify the intel if necessary.
- In addition to testing with on-demand scans, deploy intel in a ring-based deployment as a best practice. Modify the intel if necessary.
- Deploy the intel to the production environment. Continue to verify the performance of intel and refine as necessary.
- Review the settings you have specified for intel safeguards to evaluate the fidelity of intel documents and disable any intel documents that generate high volumes of alerts. For more information, see Intel safeguards.