OBLYTECH Logo
OBLYTECH Logo

Enrich observables with WHOIS data

The Enrich Observable WhoIs workflow runs WHOIS enrichment on the observables you select, provided the WhoisXML API integration recognizes their type. You start it through the Security Operations Integration- Enrich Observable capability with the WhoIs implementation selected. Before you run it, activate the required plugins, add WhoisXML API credentials, and confirm that the people running it hold the roles listed below.

How the WHOIS enrichment workflow runs

The Security Operations Integration- Enrich Observable capability triggers the WhoIs workflow when you enrich one or more observables and select the WhoIs implementation. The capability can run a single implementation that you choose, or all implementations that match the supported observable types. When it runs, it executes the flows for the activated implementations.

The workflow begins with the Observable Enrichment Lookup activity, which starts the enrichment process. That activity works with any observables workflow, so other integrations use the same starting step. It has two results. Success means the lookup worked. Fail means an error occurred, and the details are in the activity output error.

Workflow inputs and outputs

The workflow takes implementation_id, which identifies the implementation that performs the lookup, and domain_id, which identifies the domain in which the lookup runs. observable_ids carries one or more observables, and task_sys_id links the run to any associated task. A fifth input, capabilityExcutionId, is needed only for integration capability workflows such as Splunk and Elasticsearch.

The workflow returns two output variables. response_data holds the raw data that the implementation’s API endpoint returned for the domain. mapping_id identifies the enrichment mapping. The WhoIs integration returns data in two formats, IP and URL, and each format has its own mapping ID, so the mapping ID tells you which format a result uses.

Prerequisites and roles for each step

The WhoisXML API integration requires the Threat Intelligence plugin and the WhoisXML API Integration plugin. For the Security Operations path, download the Whois integration from the ServiceNow Store and confirm that you have a valid WhoisXML API account. Threat Intelligence must be installed and activated before you can use the Security Operations Whois integration.

Each step has its own role, so assign access by task:

  • Activating and configuring the Security Operations Whois integration from Integration Configuration: admin.
  • Running the Enrich Observable WhoIs workflow: admin.
  • Running the Security Operations Integration – Enrich Observable flow from Security Incident Response or Threat Intelligence: sn_si.analyst.
  • Configuring an enrichment integration in Threat Intelligence Security Center: sn_sec_tisc.admin.
  • Running Run Observable Enrichment from the Threat Analyst Workbench: sn_sec_tisc.admin.
  • Running threat lookup from the observables list: sn_ti.write.

For help planning this work, see ServiceNow implementation.

Set up the WhoisXML API integration in Security Operations

The Security Operations setup runs through the Integration Configuration feature, which lets you activate and set up third-party security integrations quickly. The WhoisXML API integration submits Whois lookups on domain names and URLs. It adds context to URL observables, which supports better threat determinations.

Follow these steps once the plugins are active:

  1. Download the Security Operations Whois integration from the ServiceNow Store, and wait for the installation to finish.
  2. Go to Security Operations > Integration Configuration. The security integrations appear as cards.
  3. In the Whois API card, select Configure.
  4. Enter the username and password from your WhoisXML API account.
  5. Select Submit.

Credential fields differ between paths

The Security Operations card asks for a username and password from your WhoisXML API account. The Threat Intelligence Security Center enrichment form asks for an API key from the Whois site. The Integration Configuration section varies by app and can include an API key, a client ID and secret, or a username and password, so use the fields your instance displays.

Configure Whois enrichment in Threat Intelligence Security Center

The Threat Intelligence Security Center path is separate from the Security Operations card. It needs the Threat Intelligence Security Center and Whois Observable Enrichment plugins installed and active, plus a valid Whois account. Configuring it requires the sn_sec_tisc.admin role.

The lookups go to the WhoisXML API service, so check where that provider processes data against your transfer rules. For background on that question, see cross-border data transfers and data lineage.

Create and enable the enrichment integration

  1. Open Workspaces > Threat Intelligence Security Center, select the Integrations icon, and open the Observable Enrichment section.
  2. Select Configure new enrichment, then select the integration from the list. For WHOIS, the Create Enrichment Integration page opens with its details filled in.
  3. Enter a name, such as WHOIS1, and a unique description. The vendor name and integration type are prefilled.
  4. In the Integration Configuration section, enter the API key you obtained from the Whois site.
  5. Select Save. The configuration is validated, and the integration status is set to inactive by default.
  6. Select Enable.

If you do not have the key yet, select Save as Draft. It stores your changes without creating the integration, so you can finish the record later.

The Enrichment Integrations module appears only when at least one installed integration supports an enrichment capability.

Run enrichment on observables

Two surfaces start a WHOIS run. One is the Security Operations flow, which works from observables in Security Incident Response or Threat Intelligence. The other is the workbench in Threat Intelligence Security Center. For related context on the records you act on, see indicators and observables in ServiceNow threat intelligence.

From Security Incident Response or Threat Intelligence

The Security Operations Integration – Enrich Observable flow can be triggered from Security Incident Response or Threat Intelligence in two ways.

  • Select one or more observables in the Observables list, then choose Run observable enrichment from the Actions on selected rows choice list.
  • Open an observable record and select the Run observable enrichment related link.

In either case, choose the implementations to use. The associated implementation flows then run and perform the enrichment. The flow’s process actions include Get Supported Security Capabilities.

From the Threat Intelligence Security Center workbench

Run the enrichment from an observable record with these steps:

  1. Open Workspaces > Threat Intelligence Security Center.
  2. Select the Threat Analyst Workbench icon.
  3. Go to Observables > All Observables and open an observable record.
  4. Select Run Observable Enrichment.
  5. In the Select Implementations modal, select the implementation, such as WHOIS, and select Submit.

Only supported records are submitted to the implementation you select. This action has no common inputs and no implementation-specific inputs, so the modal contains only the implementation choice. After you submit, an information message reports that threat lookup execution has started.

Run Sighting Search, by contrast, adds date and time frequency as common inputs across Splunk, Elasticsearch and other sighting integrations. For more on sightings, see threat intelligence sightings and MISP observables.

Threat lookup from the observables list

The Threat Intelligence application has a second lookup path, which runs threat lookups from the observables list. Its implementations are CrowdStrike Falcon Intelligence, OPSWAT Metadefender, Have I Been Pwned and VirusTotal. WHOIS is not one of them, so run WHOIS enrichment from the workbench or the Security Operations flow. Each implementation’s plugin must be installed, and the Threat Intelligence plugin must be activated. This path requires the sn_ti.write role.

  1. Go to All > Threat Intelligence > IoC Repository > Observables.
  2. For several observables, select them, open Actions on selected rows, and choose Run threat lookup. For one observable, open its record and select the Run threat lookup related link.
  3. Select the implementations you want, or select All to use all of the active implementations, then select Submit.
  4. When the lookups complete, open the Threat Lookup Results tab. Select the Result value to see the raw results for one lookup.

The Security Operations Integration – Threat Lookup Flow runs and executes the implementation workflows you selected. The Recent Threat Lookup Result tab is not part of the base system. To add it, right-click the form header, go to Configure > Related Lists, move Recent Threat Lookup Results to the Selected list, and save. When VirusTotal or OPSWAT Metadefender is used, the details are consolidated in the results view.

Reading results and checking a run

A work note posts to the activity stream of the form view once execution is initiated or completed, so the work notes are where you confirm that a run finished.

A check to run before you rely on WHOIS results

  1. Confirm that the WHOIS integration is enabled on its enrichment record.
  2. Open an observable of a supported type and confirm that the WHOIS implementation appears in the Select Implementations modal.
  3. Run enrichment on that one observable, then open its work notes and confirm the start and completion entries.
  4. After a run from Security Incident Response, open the Enrichment Results tab on the observable details page in Threat Intelligence Security Center. Identify the entry by its Source field. The tab lists threat lookup results, sightings and observable enrichment results separately. Compare the result with the IP or URL format you expected.
  5. Repeat the test through the Security Operations flow before you run the workflow on a larger set of observables.

Questions about WHOIS enrichment menus, flow order and failures

Why does the enrichment action not appear in product menus?

Capability actions are not displayed when no implementations are available. Configure and enable the WHOIS integration first, then check the menu again on the observable.

Can I change the order in which enrichment flows run?

Yes. The Security Operations Integration- Enrich Observable capability has a related task named Change the order of flow execution. Use it when you run more than one implementation and need a specific sequence.

What does a Fail result mean?

Fail means an error occurred during the lookup. Open the activity output error for the run to see the details.