Quickly Create Rules to Flag Suspicious Changes to Sensitive Files, by Using the Learn Function in Tanium Integrity Monitor

For our advanced users of Tanium Integrity Monitor, anticipated file change events are automatically categorized using Labels and Rules. This allows uncategorized events (generally unusual or non-approved events that require scrutiny) to come quickly to the surface as unlabeled and therefore unanticipated events: top candidates for investigation.

While this capability is powerful, building and maintaining Rules for applying Labels requires advanced knowledge of the events of interest in order to properly define a good ruleset. In a previous post we talked about how this process works when the enterprise has this advanced knowledge of what to expect.

But what about scenarios where the enterprise is unsure of what “normal” looks like? What about scenarios where a monitored event is investigated and the enterprise wants all future events of this type to be automatically categorized? This is where Tanium Integrity Monitor’s “Learn” mode comes in.

Rules Overview

Rules can contain a robust and granular nested criteria including ANDs and ORs to clearly define a given set of criteria, then used to apply a selected Label to future events in order to automatically categorize future events.


QuicklyCrRulesF

The rule above would be used to identify when a Write occurs to any files under /etc by any user other than root, or by processes that are not related to the Tanium agent. Notice the pull down menu allows this criteria to continue to be nested. Once defined, the final Rule can be applied to a specific Monitor.

Learn Mode

With Learn Mode, we start in the Current Results view of the appropriate Monitor. (Monitors are applied to one or more Computer Groups and operationalize how Tanium Integrity Monitor applies the appropriate Watchlists for continuous file system change monitoring).

While reviewing recent unlabeled changes, our investigator finds an unexpected change:


QuicklyCrRulesF

The hosts file on one of our critical Windows Servers has been updated manually in what appears to be a command window. The security policy for these systems is strict, allowing only for changes to critical configuration files via tools such as Tanium or SCCM, which provide a complete audit log of these changes. This is definitely a change that we want to label and which we want to apply labels to automatically going forward, to allow the compliance officer to quickly surface items of note using the custom Needs Review Label.

With Learn mode, this is easy. Rather than requiring the user to manually edit key details of the observed change into the Rule Editor, the investigator simply selects the change of interest and selects Learn Event in the menu options above the Current Results grid.


QuicklyCrRulesF

Upon selecting Learn Event, the investigator is taken directly to the Rules Editor with all of the key details automatically filled in, taken directly from the observed event itself. Note that these details can still be edited (optional) for fine tuning.


QuicklyCrRulesF

All that’s required to operationalize this is to give the Rule a unique name, select the Label that needs to be applied when this criteria is seen in the future, and save the updated rule. That’s it. Once completed, the rule will apply the Label configured to all future occurrences, allowing suspicious changes to be found easily by reviewing results for the Needs Review tag.

Our final rule looks like this:


QuicklyCrRulesF