Domain Tools

DomainTools helps security analysts turn threat data into threat intelligence. It takes indicators from your network, including domains and IP addresses, and connects them with nearly every active domain on the internet. These connections perform risk assessments, help profile attackers, guide online fraud investigations, and map cyber activity to the attacker’s infrastructure.

DomainTools collects Open Source Intelligence (OSINT) data from many sources, along with historical records, and stores it in a central database. It then indexes and analyzes the OSINT data based on various connection algorithms to deliver actionable intelligence, including domain scoring and forensic mapping.

Pre-requisites

  • You will need a DomainTools Enterprise API username and API key to complete the configuration.
  • DomainTools typically provides access to obtain the API credentials by creating an account for the primary point of contact in your organization. For more information, visit https://www.domaintools.com/
Configuration

FieldDescription
API KeyEnter DomainTools API Key
Domain Tools UsernameEnter DomainTools Username
  • Enter the above details and click Save.
DomainTools lookup plugin functions

Retrieve parsed information

This function returns parsed information extracted from the most recent raw WHOIS record.

Function_name

get_parsed_whois

Input

A domain name

_retrieve query DomainDetails

Here:

The DomainDetails is a custom event store created to demonstrate this example. The _retrieve directive fetches the $Domain field for each event in the DomainDetails (custom) eventstore. The output is as shown below:

image 2-Dec-22-2023-12-27-20-5805-PM

Output

_lookup domaintools get_parsed_whois $Domain

In the pipelined query function, the _lookup directive calls the get_parsed_whois function of the domaintools plugin. $Domain is passed as a parameter to the function. This report contains details about the domain, the source domain, country in which the domain is registered, age of the domain and so on. The output is as shown below:

image 3-Dec-22-2023-12-27-34-2991-PM

The Lookup call returns output in the following structure for available data

FieldTypeDescription
$DomaintextSource domain for lookup
$OrgtextRegistrant Organisation for the domain
$CitytextCity in which the domain is registered
$DomainAgetextAge of the Domain
$CreatedTimetextDomain registration date
$CountrytextCountry in which the domain is registered
$ExpiredTimetextDomain registration expiry duration
$RegDomainIdtextDomain Registry Id
$RegistrarNametextName of the Registrar
$RegistranttextName of the Registrant

Retrieve Domain Analytics Data

This function returns risk scores and threat predictions based on DomainTools Proximity and Threat Profile algorithms. It helps in deeper investigation of a domain.

Function_name

get_domain_analytics

Input

A domain name

_retrieve query DomainDetails

Here:

The DomainDetails is a custom event store created to demonstrate this example. The _retrieve directive fetches the $Domain field for each event in the DomainDetails (custom) eventstore. The output is as shown below:

image 4-Dec-22-2023-12-27-47-2202-PM

Output

_lookup domaintools get_domain_analytics $Domain

In the pipelined query function, the _lookup directive calls the get_domain_analytics function of the domaintools plugin. $Domain is passed as a parameter to the function. This report contains details about the domain, the source domain, overall risk score, proximity risk score for the queried domain and so on. The output is as shown below:

image 5-Dec-22-2023-12-28-10-8465-PM

The Lookup call returns output in the following structure for available data

FieldTypeDescription
$DomaintextSource domain for lookup
$OverallRiskScorenumberOverall Risk Score for the queried domain
$ProximityRiskScorenumberProximity Risk Score for the queried domain
$OrgtextRegistrant Organisation for the domain
$StatetextState in which the domain is registered
$DomainAgetextAge of the Domain
$CreatedTimetextDomain registration date
$CountrytextCountry in which the domain is registered
$ExpiredTimetextDomain registration expiry duration
$RegistrarNametextName of the Registrar
$RegistranttextName of the Registrant
$ThreatProfileRiskScorenumberThreat Profile risk Score for the queried domain

Retrieve IP Analytics Data

This function returns a complete report of all threat indicators for a given IP address.

Function_name

get_ip_analytics

Input

_retrieve query SourceIP

Here:

The SourceIP is a custom event store created to demonstrate this example. The _retrieve directive fetches the $SrcIP field for each event in the SourceIP (custom) eventstore. The output is as shown below:

image 6-Dec-22-2023-12-28-24-5389-PM

Output

_lookup domaintools get_ip_analytics $SrcIP

In the pipelined query function, the _lookup directive calls the get_ip_analytics function of the domaintools plugin. $SrcIP is passed as a parameter to the function. This report contains details about the source domain, overall risk score, proximity risk score for the queried $SrcIP and so on. The output is as shown below:

image 7-Dec-22-2023-12-28-40-2994-PM

The Lookup call returns output in the following structure for available data

FieldTypeDescription
$DomaintextSource domain for lookup
$OverallRiskScorenumberOverall Risk Score for the queried IP
$ProximityRiskScorenumberProximity Risk Score for the queried IP
$OrgtextRegistrant Organisation for the Domain
$StatetextState in which the domain is registered
$DomainAgetextAge of the Domain
$CreatedTimetextDomain registration date
$CountrytextCountry in which the domain is registered
$ExpiredTimetextDomain registration expiry duration
$RegistrarNametextName of the Registrar
$RegistranttextName of the Registrant
$ThreatProfileRiskScorenumberThreat Profile risk Score for the queried IP