Integration: How to Use Geolocation Commands in Splunk to Locate Assets via Tanium

There are a number of opportunities to use Splunk geolocation commands on Tanium information to help geographically locate assets. Any Tanium source that includes a public IP address (non-RFC 1918) can be used to leverage these commands. Please see the following Splunk documentation for command details.

For example, the use case might be to physically locate unmanaged interfaces found with Tanium Discover on your corporate network. Alternatively, you might want to locate all interfaces found in the Discover report and include both managed and unmanaged. Or another use case might involve using a sensor like Non-Approved Established Connections to track clients making unapproved network connections. Even Tanium System Status, a report containing systems registered as Tanium clients can be used as a source.

These use cases and others can be executed from a Saved Question, Event, or Module Report data. As long as a public address is available, we can use commands to locate the asset.

Quick steps

  1. Create your connection to Splunk in the Tanium Connect Module

  2. Trigger a Run and make sure the connection sends data to Splunk.

  3. In Splunk execute a verbose search and review the returned fields for one containing an IP Address.

  4. Add the "iplocation" command and check results for City or other location indicator such as lat (latitude) or long (longitude). See screenshot.


    IntegrationUseGeoloc_61526482-5730-4126-b704-e32b205a25e5.png
  5. Add "geolocation" command to create a visual.Please see the following examples. You may need to modify the Index or Saved Question name when appropriate.

Examples

Tanium Connect Source: Discover Event New Unmanaged InterfaceSplunk Query: `tanium_index` Event="Discover Notifications/New UnManaged Interface"  | iplocation IpAddress | geostats count(IpAddress)

Tanium Connect Source: Discover Report, Report: AllSplunk Query: `tanium_index` "Question=Tanium-Discover" | makemv delim="," IpAddress  | mvexpand IpAddress | iplocation IpAddress | geostats count(IpAddress)

Interact Sensor: Non-Approved Established ConnectionsSaved Question Name: Splunk Non-Approved Established ConnectionsSplunk Query:`tanium_index` Question="Splunk-Non-Approved-Established-Connections" NOT "Error"  | rex field=Target_IP "(?<Target_IP>\d{1,3}\\d{1,3}\\d{1,3}\\d{1,3}):(?<Port>\d{1,7})" | iplocation Target_IP |geostats count(Target_IP)

Tanium Connect Source: System StatusSplunk Query: `tanium_index`  Question="System-Status" | iplocation ServerNetworkLocation | geostats count(ServerNetworkLocation)