Connectors

File Analysis connector for Splunk

This article describes how to install, configure and use the NetClean connector for Splunk, an add-on that analyzes and enriches SHA-1 file hashes in your Splunk environment with the NetClean File Analysis API.

Prerequisites

Before using the add-on, make sure the following requirements are met:

  • A Splunk environment where SHA-1 file hashes are ingested, for example from endpoint logs, file scans, DLP systems or forensic tools
  • API credentials for the File Analysis API (Client ID and Client Secret)

Install the add-on

Install the add-on using the standard Splunk installation process.

Configure API credentials

After installation, configure the API connection in Splunk:

  1. In Splunk Web, go to Apps.
  2. Open NetClean ProActive API.
  3. Enter your Client ID and Client Secret.
  4. (Optional) Adjust the logging level if needed. The default is INFO.

Set up an index for analysis results

The add-on stores analysis results in a dedicated Splunk index.

Default index: netclean_proactive

If you use the default index, no further configuration is required.


Using a custom index (optional)

To store results in a different index:

  1. Create a new Splunk index for the results. See Splunk's documentation: https://docs.splunk.com/Documentation/Splunk/latest/Indexer/Setupmultipleindexes
  2. Go to Settings > Advanced Search > Search macros.
  3. Update the macro netclean_proactive_index with your custom index name.

Create a Splunk search for SHA-1 hashes

Create a Splunk search that identifies SHA-1 file hashes in your environment. Hashes can come from endpoint logs, file scans, DLP tools or other security systems. See Choosing what to analyze: files for guidance on which file types, folders and sizes are worth including.


Only the hashes are submitted to the File Analysis API. We recommend keeping contextual metadata such as hostname, username, file path and source system in your search results where available, so that you can correlate and follow up on results in Splunk.

Send hashes for analysis using an alert action

To analyze hashes with the File Analysis API, configure your search as an alert and enable the NetClean alert action:

  1. Create or open the Splunk search that extracts SHA-1 hashes.
  2. Configure the search as an alert.
  3. Go to Alert Actions and select Add Action.
  4. Select NetClean ProActive API.
  5. Specify the field name that contains the SHA-1 hash value.


A sample search is available under the add-on's Alerts tab.

Acting on results

Decide in advance what happens on a match, for example an alert, dashboard or incident based on the results index, with clear ownership in your existing workflows. A match is a verified event, not a heuristic alert. Avoid automated deletion of matching files, since preserved evidence matters for any subsequent investigation or reporting obligations.