Automatically Categorize Approved vs Unapproved Changes to Critical System Files, Using Tanium Integrity Monitor

As you can imagine, it is important for compliance teams to be able to distinguish unexpected changes to critical system files, from those that are expected and approved. Accurately categorizing these integrity events allows analysts to concentrate further investigation on the potentially problematic ones, and ignore the rest.

Mature organizations are able to increase their efficiency by automating this categorization process. By auto-applying labels and rules to integrity events using Tanium Integrity Monitor (IM), the events can be stored and sent to a SIEM, where an operator can instantly see which items need review.

Labels and rules

To categorize changes to system files, Tanium IM includes the following customizable labels:


AutomaticallyCa_b3e44e49-2ee7-4ce7-9df7-1ff8698c9bf6.png
Note:

That the Important and Suspicious labels have a Connect icon; this means they can be configured to auto-export events to a SIEM

In addition to categorization, labels can also include notes to provide additional contextual information about a given change. For example: ticket number associated with the change, whether or not the change is deemed approved or suspicious, approval status, approver, or any other pertinent information to document workflow around change management.

Rules allow the enterprise to automatically apply labels to events as they occur, using conditions such as the type of change (create / write / delete / rename / permission), time the change occured, location of files changed, as well as the the process / user performing the change. These can be grouped and nested to create very granular rules, allowing the enterprise to be precise in the application of these labels.

A rule contains both the label to apply to changes which match the rule, and also the default contextual note to attach to labeled events.

Example

In our example scenario, we want to automatically label:

  • Patch-related events

    • based on the process or user making the change

    • and tie it to a specific change window that’s been approved for Saturday 8/11/18 from 1:00am-7:00am.

We want any changes that align with the approved processes or user during the approved timeframe to be labeled “Planned” with a note explaining the change.

Using the nested logic capability, it’s easy to create a targeted rule to perform this automatic labeling.

First we give our rule a name to allow us to refer back to it and differentiate it from other rules:


AutomaticallyCa_1618d009-1380-4460-ba2d-d1e134fb3e72.png

Next we define the rule’s conditions. As indicated we need to auto-label events for the following criteria:

  • Any Tanium process OR

    • The Windows Trusted Installer process OR

    • The Windows Trusted Installer Worker process OR

    • The main SCCM worker process OR

    • By the patch_admin AD account

    • AND during the maintenance window scheduled for 1:00am-7:00am GMT Saturday 8/11/18. (Note that time for IM is always GMT so this needs to be considered when making time based rules)

Our nested rule can be seen below:


AutomaticallyCa_54184ae7-3640-4e1e-84ed-e7607b2a32d8.png

This rule now covers any automated tasks performed by authorized tools during the time period of interest, as well as any manual tasks which may need to be performed interactively using the approved AD account - patch_admin. (Note this is an example account. This will vary by installation).

Once the rule criteria is defined, we need to assign this rule to a monitor as well as assign the desired Label and Note:


AutomaticallyCa_711e66ae-1dc6-452d-a68c-4f0f404aa443.png

With this rule in place, all file changes associated with the approved change ticket will be properly labeled with a note explaining the change details.

Below is a screenshot showing how the final labeled event appears in the Tanium Integrity Monitor UI:


AutomaticallyCa_032ed494-325d-4518-96e1-a282ff10a20f.png

In this same scenario, we could add another rule that would label suspicious changes:

  • Files are located under Windows AND

    • User making the changes are NOT SYSTEM or Administrator or patch_admin


AutomaticallyCa_8dd9c587-a7f7-4bbe-8f06-38297bdb75ab.png

Note that it in this scenario, it would be necessary to create a second rule for suspicious changes, as a rule can only contain one set of criteria.


AutomaticallyCa_00a5c4dd-e9b5-4cfa-8f5c-9346d54eda12.png

Enabling the second rule would then automatically label any changes that met those criteria as “suspicious”, to be investigated as to why unauthorized changes were made.