Tanium Reveal: Using Validation to Tune Data Patterns to Improve Accuracy
This post discusses how to utilize Reveal Validation Tuning to improve accuracy of Rule detection in an IT environment. Validation Tuning is a key component to effective use of Reveal, in identifying true and false positives. This information will help Reveal users establish a continuous data compliance program, ultimately allowing them to more quickly discover potentially sensitive data. One of the biggest difficulties in employing any kind of data discovery tool is weeding through the false positives generated by generic regular expression searching. Most tools attempt to overcome this difficulty through the addition of targeted keywords or additional data patterns to cross-reference. Even so, in both personal experience and what we’re hearing from customers, 40% - 60% false positive rates using those out of the box rules are not uncommon. Additionally, this method creates new problems:
False Negatives: Narrowing down your list of pattern matches by also looking for coordinated keywords seems like a great idea, but if one of those keywords isn’t present, you can entirely miss large amounts of sensitive data.
Time Lag: Once you’ve settled on your list of keywords or additional patterns, you must build them into your rule, then deploy them and gather data again to determine if they were successful or not. That’s a process that can take days or weeks and is rife with opportunities for human error as your analysts pore over potentially thousands of files to determine if the new rule is working.
Lather-Rinse-Repeat: The time lag issue is exacerbated in each instance that you want to update your pattern combination. Each instance requires the same level of diligence and mind-numbing work from your team. This essentially makes your data discovery tool unusable – at least for that rule – while you’re conducting the new data analysis.
Reveal takes a different tack to solve this thorny problem. Rather than creating complex rules with multiple patterns and keyword lists up front, Reveal allows you to create simple patterns to find the data that you’re interested in. Then we use a Validation mechanism to identify what is “good” data (in other words, data you wanted to find) and “bad” data (those pesky false positives). Validation is done using your own data so it’s extremely accurate and highly flexible.
Here’s a simple example. One of the most common patterns in data discovery tools is the US Social Security Number. Nine digits arranged in a 3-2-4 pattern with some specific limitations on what combinations are not acceptable. In 2011, the Social Security Administration released a whole new batch of numbers for use, which nearly eliminated the numeric validation options available to data discovery tools. In addition, SSNs are often stored in differing formats: for example, using different separators or no separators at all. The result is that you’re essentially left looking for a nine-digit number in nearly any format. Unfortunately, the same challenges exist with many other numeric patterns, creating a situation rich with probable false positives and triggering the analysis burden I mentioned before.
With Reveal, you can simply deploy a rule to detect those nine-digit numbers in file types of interest to you, like documents, PDFs, and text files. That rule will likely find many matches on most of your computers, and a lot of those matches will be false positives. Let’s look at how Reveal’s Validation mechanism can help you work through them quickly.
Below is a list of files on a Windows computer that have potential matches for a Social Security Number. Looking at the file names, we can already tell that there are going to be a lot of false positives, and probably some good matches as well. Let’s start at the top.
Opening the first file shows us the Snippet View of that file, allowing analysts to get information from context to determine what is and is not a good match. At the top of the screen is a summary of the matches in the file, including the numbers of Unverified, Confirmed, and Rejected matches. Below that are the individual Snippets. There are 85 Snippets to verify in this file.
Looking at the first Snippet, we can see that this is probably a list of actual Social Security Numbers, based on the “SSN:” prefix. (Clarification: this is test data and not valid SSN numbers. Also, this review functionality is RBAC limited so that it can be restricted to trained analysts only).
To add a Validation to the Snippet, we select the Add Validation button, which brings the Snippet into sharp focus.
Then we select the text that we want to use to validate the match, in this case “SSN:”. Notice when we make that selection, additional Snippets come into focus. Reveal is letting you know about any other Snippets that will be affected by this Validation, thus improving your efficiency and accuracy.
From there, click the Apply button and fill out the Validation Rule form. Note at the bottom of the form you are informed of the total number of Affected Snippets in the file. Since that number shows as 85 in this example, we know that we’ll verify every Snippet in the file with this one Validation.
Scrolling back up, in the Snippets list we can see in the summary that we’ve cleared all the matches, marking them as Confirmed.
That was a pretty simple example, and clearly a test file, so let’s look at another. The next file in the list is a log file, so it’s unlikely to have SSNs in it, but we need to make sure. Again, we check the Snippet Details at the top of the page and see that there are 30 Unverified Snippets.
Scrolling down, there appears to be disk information like volume sizes and free space. Good info, but not relevant to an SSN search.
Again, we look over the Snippets to see what commonality they might have. Right off the bat, we can see several that have “(bytes)” prefixing the number. This could be a good Validation.
Sure enough, we get quite a few Snippets highlighted, so we select Reject (since this is a false positive) and Apply the Validation. On the Add Rule screen, we can see that this Validation will apply to 21 of our 30 Snippets. We fill out the Name and Description fields, and hit Save.
We can quickly find a couple more patterns to eliminate the rest of the false positives. For this file, “= [“ yields 2 matches, “space:” yields 5, and “offset” yields the remaining 2.
As you can see, with minimal effort we are able to validate matches on both sensitive data and false positives very quickly, by finding relevant nearby text. Once your initial pass at validation is complete, Reveal creates hashes of those validations and publishes them to all endpoints. Thus, when any endpoint finds a match in any file and your Validation text is present, Reveal will automatically know whether to flag that match as Confirmed, or to mark it as Rejected. Reveal’s Validation Tuning feature will greatly accelerate your data classification process without introducing false negatives based on generic matching, and with no time lag between identification of data on one system and classification of that data across the enterprise. Reach out to your TAM to learn more.