Getting started with policies

Complete these tasks to get started with Enforce policies.

Configure Distribute Over Time settings for policies

Policy enforcement occurs in the following scenarios:

  • The enforcement is first created

  • Changes are made to the policy corresponding to the enforcement

  • The Tanium Client or Tanium Client process restarts on an endpoint

  • At the beginning and end of the enforcement schedule

  • Enforce detects a failed or incomplete verification of policies

  • (User Administrative Template policies) When a user signs in to an endpoint

These scenarios are typically infrequent, but because endpoints check in with the Active Directory server for policy conflicts, they can temporarily cause a surge in traffic to Active Directory servers if a policy is enforced on many endpoints or many policies are enforced at the same time.

You can configure the intervals when endpoints verify and apply policies and also distribute checks with the Active Directory server over time to diffuse the traffic to the Active Directory server. To configure these settings, you must be assigned the Enforce Operator role.

Note: These settings do not apply to remediation policies.
  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog.
  2. On the General tab, update the following settings as needed:

    Policy Update: When an enforcement is created or an enforced policy is updated, endpoints immediately update their policies and policy status.

    • Specify a value in the Distribute Over Time setting to randomize the check in with the Active Directory server for each endpoint by an amount of time up to the value configured.

    Policy Verification: By default, endpoints verify policies and update their policy status every 15 minutes.

    • Update the Interval value to change the frequency of this check. The value must be between 10 minutes and 60 minutes.

    • Specify a value in the Distribute Over Time setting to randomize the check in with the Active Directory server for each endpoint by an amount of time up to the value configured. The Distribute Over Time value must be less than the Interval value.

    Policy Application: By default, endpoints reapply policies and update policy status every hour.

    • Update the Interval value to change the frequency of this check. The value must be between 60 minutes and 480 minutes.

    • Specify a value in the Distribute Over Time setting to randomize the check in with the Active Directory server for each endpoint by an amount of time up to the value configured. The Distribute Over Time value must be less than the Interval value.

  3. Click Save.

Manage cluster policies

Configure settings for cluster policy enforcements

By default, Enforce checks clusters for violations of enforced policies every hour, and the timeout for HTTP calls between clusters and the Tanium Server is 10 seconds. If needed, you can change these values.

Note: This feature is not available in Tanium Atlas.
  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog.
  2. On the General tab, update the following settings in the Cluster Policy Enforcement section as needed:
    • Audit Schedule: Specifies how often Enforce checks clusters for violations of enforced policies.
    • Webhook Timeout: Specifies the timeout for HTTP calls between clusters and the Tanium Server.
  3. Click Save.

Manage anti-malware settings

You can use Machine Administrative Template policies to configure anti-malware settings on endpoints. This requires that Windows Defender be installed on those endpoints.

Note: This feature is not available in Tanium Atlas.

If Enforce has an issue with an anti-malware definition, an Error state-critical shows next to the definition in the Anti-Malware Definitions Status panel of the Anti-Malware Health section on the Enforce Overview page.

Important: Due to the way that Microsoft stores and retrieves exclusions, do not use Enforce to manage anti-malware exclusion settings if you are using Microsoft Defender for Endpoint.

Windows Defender platform updates

Microsoft releases monthly updates to the Windows Defender anti-malware platform. To keep the platform up to date and to help ensure compliance with all applicable security standards, enable Defender platform updates in Enforce. When enabled, Enforce automatically downloads and installs new monthly Defender anti-malware platform update packages on managed Windows endpoints. Defender platform updates are a separate, environment-wide feature from Defender definition (security-intelligence) updates. Definitions are configured per anti-malware policy and update more frequently, often multiple times a day.

Important: Windows Defender platform updates are supported on Defender 4.18.2001.10 or later. Use the Enforce - Defender Platform Version sensor in Interact to find endpoints that do not have the required Defender Platform version.

How Defender platform updates are delivered by Tanium

Tanium checks the Microsoft Update Catalog for the current Defender platform version every 15 minutes and publishes an updated content manifest only when the version changes.

Enforce reads the manifest as part of its hourly maintenance cycle, checks again every 3 hours as a backup, and checks immediately when you select Enable Platform Updates in the Enforce settings.

If the manifest shows a newer platform version than what is currently deployed, Enforce rebuilds the package, filter group, and scheduled action for each processor architecture (64-bit, ARM64, and 32-bit Windows). The scheduled action starts distributing to all applicable endpoints immediately and reissues every hour after that.

Important: The Distribute Over Time and Reissue Action Interval settings apply only to Machine Administrative Template policy enforcements that configure managed defintions and have no effect on Defender platform updates. Platform updates always distribute to all applicable endpoints at once and reissue on a fixed hourly schedule.

An endpoint is eligible for a platform update only if it is Windows, matches the processor architecture of the package, reports a readable Defender platform version, already has Defender platform 4.18.2001.10 or later, and is running an older version than the one being deployed. Tanium re-evaluates endpoint eligibility at least every 15 minutes.

Once Microsoft publishes a new platform version, the update typically reaches applicable endpoints within an hour, with a typical upper bound of about 90 minutes end to end.

Enable Defender platform updates

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog.
  2. Click the Anti-Malware tab.
  3. In the Windows Defender Platform Updates section, select Enable Platform Updates and click Save.
    To turn Defender platform updates off, select Disable Platform Updates and click Save. Enforce removes the packages, filter groups, and scheduled actions it created for all three architectures. Nothing remains after the removal. Re-enabling the setting rebuilds the deployment from scratch.

Windows Defender definition updates

Machine Administrative Template policies that include anti-malware settings can enable Managed Definitions, which use Tanium to check for and deliver new Microsoft Defender virus and spyware definition (security-intelligence) updates to managed endpoints so that endpoints do not need direct internet access to Microsoft. Definition updates are different from Windows Defender platform updates, described in the preceding section. Platform updates keep the Defender engine itself current, typically on a monthly cadence, while definition updates keep the virus and spyware signature files current, often multiple times a day.

To enable Managed Definitions:
  1. When you configure a Machine Administrative Template policy, expand the Anti-Malware Specific Settings section.

  2. For Managed Definitions, select Deploy definition updates using Tanium.

  3. Complete the Definition Grace Period field to specify how many days the definitions for an endpoint can be outdated before the policy is considered unenforced. The default grace period is 1 day.

For more information, see Machine administrative template.

Note: By default, anti-malware rules do not use Tanium to deliver definition updates. Endpoints continue to receive definitions from the source that Microsoft Defender Antivirus is already configured to use, such as Microsoft Update or WSUS, on the existing schedule for that source. Select Managed Definitions to deliver definition updates through Tanium instead. Enabling Managed Definitions also exposes the Definition Grace Period field in the policy and adds two definition checks to the enforcement status for the policy:
  • If the endpoint has no anti-malware definitions installed, the policy is considered unenforced.

  • If a newer definition is available and the installed definitions for an endpoint are older than the specified Definition Grace Period, the policy is considered unenforced. The default grace period is 1 day. Neither check applies to rules that do not use Managed Definitions.

How Defender definition updates are delivered by Tanium

Tanium checks the definition locations that Microsoft publishes every 15 minutes and refreshes a signed content manifest only when the definitions have actually changed.

Enforce reads that manifest as part of its regular service checks: at service start and then every 60 minutes. When a newer base or delta definition is available, Enforce downloads the file, validates the file, and stores the file as a Tanium package ready for distribution.

When the definition file changes, the distribution action is rebuilt and starts going out immediately rather than waiting for the next scheduled cycle. From then on, the action reissues on the Reissue Action Interval setting, which defaults to every 60 minutes and can be set as low as 10 minutes. The Distribute Over Time setting defaults to Immediate, so all applicable endpoints are targeted at once; setting Distribute Over Time to Diffused spreads delivery across the interval to smooth network load.

Important: Distribute Over Time and Reissue Action Interval govern only Defender definition updates. These settings have no effect on Defender platform updates, described in the preceding section: platform updates always distribute to all applicable endpoints at once and reissue on a fixed hourly schedule, regardless of how Distribute Over Time and Reissue Action Interval are configured.

Each endpoint evaluates its own state before downloading anything: Defender or SCEP must be present and not disabled by policy, the Managed Definitions policy must be in effect on the endpoint, and the offered definition version must be newer than what the endpoint already has. Tanium re-evaluates this check at least every 15 minutes. Endpoints that already have the current definition take no action, so no bandwidth is spent on those endpoints.

Applicable endpoints download the definition file and install the update. Tanium re-checks the endpoint within about 10 minutes and marks the action complete once the new definition version is in place.

In most environments a new Microsoft definition reaches targeted endpoints within 90 minutes of Tanium detecting the definition. If you lower the Reissue Action Interval, endpoints that have not yet received the update get the update sooner. If you use Diffused distribution instead, all endpoints take longer to finish receiving the update, but network load stays lower at any given time.

By default, for compliance reporting, an endpoint whose definitions are more than one day old (the Definition Grace Period described in the preceding section) causes the policy to report as unenforced.

Action Lock Override

You can override action locks on endpoints for anti-malware enforcements. For more information about action locks, see Tanium Console User Guide: Managing action locks.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click the Anti-Malware tab.
  2. Select the Anti-Malware Override option.

Distribute Over Time

Control whether endpoints apply anti-malware enforcements the moment they receive the action (immediate) or at unique moments within the saved action interval (diffused). Diffusing enforcements over time can help prevent a surge in network traffic in exchange for a slower time to compliance.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click the Anti-Malware tab.
  2. Select Immediate or Diffused for the Distribute Over Time setting.
    Note: Distribute Over Time settings are added when Enforce creates new managed definition packages. New packages are created whenever new definition updates are downloaded from Microsoft. To apply Distribute Over Time settings immediately, you can manually delete the managed definition packages and scheduled actions.

Reissue Action Interval

Control the amount of time the server waits between anti-malware enforcement action attempts.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click the Anti-Malware tab.
  2. Set the Reissue Action Interval.

Configure default rules for AppLocker

From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click AppLocker to access the AppLocker settings.

In AppLocker settings, you can select a Rule Template and define default Allow and Deny rules. A rule template contains the default AppLocker rules that are included automatically in any AppLocker policy you create. The rule template includes Allow and Deny rules to specify which files are allowed to run or are blocked. You must include at least one Allow rule.

Note: AppLocker deny rules take precedence over AppLocker allow rules. For more information, see Microsoft: Understanding AppLocker allow and deny actions on rules.
Block List rule template

To access the Block List default template, from the Main menu, go to Modules > Enforce. Click Settings cog and then click the AppLocker tab. Click Configure Default Template > Block List.

The Block List rule template allows Everyone to run all applications through the (Default Rule) All files allow rule. This rule is the only rule that is included in this rule template by default. Define the specific applications you want to block by adding Deny rules.

You cannot delete or modify the (Default Rule) All files allow rule in this rule template because this rule template is intended to allow all files to run except those that you specifically block through a deny rule.

Note: The Block List rule template is the default rule template used in Enforce until you change it.
Allow List rule template

To access the Allow List default template, from the Main menu, go to Modules > Enforce. Click Settings cog and then click the AppLocker tab. Click Configure Default Template > Allow List.

The Allow List rule template, by default, allows only applications that Administrators run, or that are run out of these folders:

  • All files located in the Program Files folder: applies to Everyone

  • All files located in the Windows folder: applies to Everyone

  • All files: applies to Administrators

Note: The default rules in the allow list rule template are based on the Windows AppLocker default rules. For more information, see Microsoft: Understanding AppLocker default rules.
Important:

If you enforce the default Allow List rule template, you might block applications unintentionally. The Allow List rule template blocks applications without explicitly listing the applications. For example, a program run by a user out of that user’s profile directory is blocked. For best results, deploy allow list policies initially in Audit Only mode until audit reports can be reviewed and the intended results are confirmed. For more information about an example workflow, see AppLocker policies workflow.

The Tanium Client uses BAT, EXE, and VBS files. Be sure that you do not block files in the Tanium Client directory that might break the client functions.

Note: Add to the existing default rules to allow or deny applications rather than modifying the default rules. Test any modifications in audit mode first to ensure that they are running as intended before you switch to blocking mode.
Custom rule template

Use the Custom rule template to create your own template.

To create a custom template, from the Main menu, go to Modules > Enforce. Click Settings cog and then click the AppLocker tab. Click Configure Default Template > Custom.

Create Default AppLocker rules

Use rule exceptions to specify files or folders to exclude from a default AppLocker rule. You can create default executable rules, default Windows Installer rules, and default script rules.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click the AppLocker tab.
  2. Click a tab: Executable, Windows Installer, or Script. Then click Configure Default Template and select a template: Allow List, Block List, or Custom.
  3. (Optional) To import AppLocker rules to the default rules, click Import Rules.
    Note: You can import rules using the XML files generated in the AppLocker section of the Windows Local Security Policy Tool or an exported Enforce AppLocker policy to quickly add multiple rules to a policy.
    1. Click Browse for File in the Import Rules From XML section.
    2. Select the XML file that contains the exported AppLocker rules and click Open.
    3. The Import Rules window shows up to three tabs, depending on the content in the XML file: the new rules added to the policy from the imported XML file, duplicate rules, and the rules Enforce cannot import.
      import_rules
    4. Click Save to import the XML.
  4. (Optional) To manually add rules to the default rules, click Add Rule.
    1. Specify a Name for the rule.
    2. Select an Action for the rule.
      • Deny rules prevent the specified files from running on endpoints where the policy is enforced.

      • Allow rules let the specified files run on endpoints where the policy is enforced.

        Note:

        AppLocker Deny rules take precedence over AppLocker Allow rules. You must include at least one Allow rule. For more information about best practices and rule precedence, see Configure default rules for AppLocker.

        Be aware of AppLocker allow or deny rules that are set in your Domain Policy. These rules might take precedence over AppLocker rules created in Enforce.

        Note: The Tanium Client uses BAT, EXE, and VBS files. Be sure that you do not block scripts in the Tanium Client directory that might break the client functions.
    3. Select Everyone or Administrators for the Windows User.
    4. In the Type section, select Hash, Path, or Publisher.
    5. Specify the settings for the file:
      • If you selected Hash, click Add Condition and provide the Hash and optional file size in bytes.

        Important: For best results, use a utility other than the Get-AppLockerFileInformation cmdlet to generate the SHA-256 hash. For example, you can use Get-FileHash to generate the hash. Hashes generated with Get-AppLockerFileInformation are different than hashes generated by other utilities and are not supported by Enforce. For more information about Get-FileHash, see Microsoft Documentation: Get-FileHash.
      • If you selected Path, provide the file path or file name including the path to the file. The path must start with a drive letter (for example C:\Windows), a supported environment variable (%WINDIR%, %SYSTEM32%, %OSDRIVE%, %PROGRAMFILES%, %REMOVABLE%, or %HOT%), a UNC share (for example \\server\share\folder), or *. The path cannot contain angle brackets or the characters " | ?. The only colon allowed is the one after the drive letter. If the path is not valid, a message that describes the issue appears next to the field.

      • If you selected Publisher, provide the Publisher, Product Name, File Name, and File Version, using the dropdown list to indicate whether you want earlier or later versions included or only the version you specify.

        Important: You can use the * character as a wildcard character only for the entire value. Partial wildcard values are not valid for any of these values.
        applocker-allow-rule
        Note: Use the Get-AppLockerFileInformation cmdlet to determine the publisher information. For example: Get-AppLockerFileInformation -Path 'C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE' | Select-Object -ExpandProperty Publisher
        getapplockerfileinformation

        Ensure that you correctly capture and include any special characters, such as ®. For more information about the Get-AppLockerFileInformation cmdlet, see Microsoft Documentation: Get-AppLockerFileInformation.

      Note: Each rule in a policy must have a unique rule ID. Enforce does not save a policy that contains two rules with the same ID. If you import rules from an XML file or a policy that was edited by hand, make sure that the rule IDs are not duplicated.
  5. Configure additional rules as needed.
  6. Click Save. Select Apply AppLocker template to existing policies if you want to apply the changes to existing AppLocker policies, and then click Save.
    Note: If an existing AppLocker policy is not in sync with the current AppLocker template, a message appears when you open the policy. Click Sync with AppLocker Template to sync the policy with the template.
    applocker_sync_template

Configure endpoint encryption

Endpoint tools used by the associated solutions must be pushed out to endpoints where BitLocker and FileVault policies are enforced:

  • The End-User Notifications endpoint tool
  • The Direct Connect endpoint tool
  • Tanium Core Content

For more information, see Reference: Client extensions and endpoint tools used for Tanium solutions.

Note: You can create BitLocker and FileVault policies even if one or more of these components are not in place, but the policy is not successfully enforced until the entire configuration is on the endpoint.

Manage Windows device classes and devices

From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and go to Device Control to manage the global list of Windows device classes and devices for use with Windows device control policies.

Note: This feature is not available in Tanium Atlas.
Device Classes
The list includes the predefined device classes that are provided by Microsoft and any additional device classes that were added, either from this page or through a device control policy. Click Device Classes to manage the global list of device classes.
Figure 1. List of device classes
Example page from Enforce that shows the Device Classes in the Enforce settings
  • Use the sort menu to sort the list by Name, Type, or Associated Policy.

  • Use the Filter by name field to filter the list by a specific name.

  • Click Create to add a custom device class to the global list.

  • You can edit or delete custom device classes that are not associated with a policy:

    • Select a custom device class and click Edit to update the configuration for that device class.

    • Select a custom device class and click Delete to delete that device class.

Note: Only custom device classes that are not associated with a policy can be modified or deleted. You cannot modify or delete default device classes or custom device classes that are associated with a policy.
Devices

This list includes devices that were added from this page or through a device control policy. Click Devices to manage the global list of devices.

  • Use the sort menu to sort the list by Name or Associated Policy.

  • Use the Filter by name field to filter the list by a specific name.

  • Click Create to add a new device to the global list.

  • Select a device that is not associated with a policy and click Edit to update the configuration for that device.

  • Select a device that is not associated with a policy and click Delete to delete that device.

Note: Only devices that are not associated with a policy can be modified or deleted. You cannot modify or delete devices that are associated with a policy.

For more information, see Device Control - All Devices.

Manage Stream profiles

With Tanium Stream, you can send events generated from Tanium Removable Storage Access Control policies or cluster policies to external Splunk destinations using an HTTP Event Collector (HEC) or TCP connection. With Stream profiles, you can create different Stream configurations to target specific endpoints.

Note: This feature is not available in Tanium Atlas.
Note:
  • Tanium Removable Storage Access Control policies are available only for Windows endpoints.

  • Cluster policies are available only when Cloud Workloads is included in your license.

  • You must have the Enforce Endpoint Configuration All permission to create a Stream profile.

Create a Stream profile

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click Stream Profiles > Create.
  2. Enter a Name and optional Description for the profile.
  3. Select a Management Method:
    • Automated: Specify configuration parameters to generate the profile. If you select Automated, complete the subsequent steps.

    • File Upload: Upload a JSON file of a Stream configuration that you previously exported. If you select File Upload, click Browse for File and select a JSON file to upload that contains the configuration parameters for the Stream configuration. Skip to Step 6.

  4. In the Events section, select the event types that you want to stream:
    • (Tanium Removable Storage Access Control policies) Device Inserted
    • (Tanium Removable Storage Access Control policies) Device Removed
    • (Tanium Removable Storage Access Control policies) Device Blocked Mount
    • (Tanium Removable Storage Access Control policies) Device Blocked File Access
    • (Cluster policies) Cluster Violations: when a cluster policy denies an operation for a cluster

    At least one event type is required. Audit log entries for blocking events are identified with the policy ID and name. Events corresponding to read/write or read only rules in a policy are logged with the policy ID, policy name, and the rule name for the rule that allowed access.

  5. In the Destination section, select a Destination Type and provide the associated configuration settings:
    Splunk HEC
    • URL: The URL or IP address to access the Splunk REST API.

    • Authorization Token: The authorization token to access your Splunk environment. Do not include the Splunk prefix in this token.

    • (Optional) If you want to use a proxy to provide a gateway, provide the host, port, and a username and password for the proxy in the Proxy section.

    • (Optional) Select Allow Unsigned Certificates in the Advanced Settings to disable the validation of the certificate presented by the destination.

    Splunk TCP
    • Host: The fully-qualified Splunk host domain name or IP address.

    • Port: The port for the stream communication to the host.

    Select Dry Run if you want to collect statistics about the data that would be streamed to the destination, but not actually send data.

    Note: Select Dry Run when you first create a stream configuration. Analyze the amount of event data that would be streamed to a destination before you deselect Dry Run. While this setting is enabled, no data is streamed to a destination; it must be disabled for data streaming to occur.

    You can use the Enforce - Daily Stream Stats sensor to gain an understanding of the amount of data that would be sent.

  6. Click Select Computer Groups and select the computer groups from which you want to send events generated by Tanium Removable Storage Access Control policies to an external Splunk destination.
  7. In the Additional Filtering Criteria section, specify additional filtering parameters as needed:
    • None: Select None to use the selected computer groups with no additional filtering applied.
    • Specify Individual Endpoints: Provide a case-insensitive, comma-separated list of computer names. Due to a possible performance impact, this list cannot exceed 50 entries. Duplicate entries are ignored.
    • Ask a question: Ask a question to filter the selected computer groups. For example, if the selected computer groups contain non-Windows endpoints, you can filter the endpoints by asking the question: Operating System contains Windows.
    • Define a Rule: Define a rule to use when filtering the selected computer groups.
  8. Click Create.

Prioritize Stream profiles

If an endpoint is targeted by multiple Stream profiles, the profile with the highest priority applies to that endpoint. The profile with the highest priority has the lowest priority number. For example, a profile with a priority of 1 takes precedence over a profile with a priority of 10.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click Stream Profiles > Prioritize.
  2. Click draggable and drag the profiles to set the priority. Click Save.

Take actions on Stream profiles

You can delete, edit, duplicate, or export Stream profiles.

  1. From the Main menu, go to Modules > Enforce to open the Enforce Overview page. Click Settings cog and then click Stream Profiles.
  2. Select a profile.
  3. Click Actions and select an action to take on the profile:
    • Delete: Delete the selected profile.
    • Edit: Edit the selected profile.
    • Duplicate: Create a new Stream profile using the settings in the selected profile as a starting point.
    • Export: Export the selected profile in JSON format, which you can apply in a different Enforce environment. For example, you can export profiles that you have tested from a lab environment and import them into a production environment.