Understanding the Reputation Lifecycle of a Hash
File reputation has long been the standard in assessing risk in an environment. Whether done via an antivirus engine or through a commercial reputation service, like VirusTotal, knowing your environment contains malicious files is an important step to a healthy security posture.
Prerequisites
-
Tanium Core Platform, which includes Tanium Connect and Tanium Reputation
-
Tanium Threat Response to gather hashes from your environment
-
One or more supported 3rd party reputation providers
Configuration
The first step is to have Threat Response configured in your environment and recording process information on endpoints, including the hashes of these files. The configuration of that module is outside the scope of this document, but reference Threat Response (tanium.com) for details.
Next, configure your chosen 3rd party reputation providers inside the Reputation workbench. Each supported provider will have their own licensing requirements and costs associated, so work with those vendors to find the products that best meet your needs.
Once you verify hashes are being recorded within Threat Response, create saved questions (Managing saved questions (tanium.com)) that can be used by Connect to feed the Reputation service. Below are some suggested saved questions to gather hashes from your environment:
Get Trace Executed Process Hashes[3 hours,1529531971174|1529535570174,500] from all machines
Get Loaded Modules with Hash[MD5] from all machines
Get Running Processes with MD5 Hash from all machines
Get Index Query File Hash Recently Changed[*,*,*,*,*,*,4D5A*,3,300,1] from all machines
Get AutoRun Files[MD5,0] from all machines
Now that the hash-gathering Saved Questions have been created, they can be used as data sources in Connect. Create individual connections to send these hashes to the Reputation service (Connect (tanium.com)).
Keep in mind - you should NEVER use a New Items filter when sending your hashes to the Reputation service. The service was designed with controls in place to purge data over time after they have disappeared from your environment, as seen here:
As hashes are first seen by the Reputation service, they are more frequently sent to the reputation providers in case the reputation changes. After the service has seen the hash for some amount of time, the less frequent interval is used. The below flow chart describes this workflow visually:
For more information, please visit Reputation (tanium.com).