Threat-intel lookups (enrichment)¶
Threat-intel lookups are response actions that only read: they ask a service such as VirusTotal or AbuseIPDB what it knows about an indicator (an IP address, a domain, a URL, a file hash, an email address or a CVE) and hand the answer to the next steps of a workflow. They change nothing, need no approval by default, have nothing to undo and are safe to run again.
Configure one like any other action under Detection & Response > Response
(Actions tab, section Data & enrichment of the type
picker), with the service's API key as a credential.
In the workflow editor, configured lookups appear in the palette under
Data & enrichment, grouped by vendor. Point the step's target at the
indicator: the incident's src_ip, a manual target, or an expression such
as {{ trigger.input.domain }}.
What every lookup returns¶
Every lookup returns the same fields in steps.<step>.output.details, so a
condition does not depend on the vendor:
| Field | Meaning |
|---|---|
verdict |
malicious, suspicious, harmless, unknown, or not_public (a private, loopback or reserved address, or an internal name such as printer.local: never sent to a public service) |
score |
0-100 in bands: malicious 70-100, suspicious 30-69, harmless 0-29, unknown 0 |
malicious_count |
engines, reports or sources calling it malicious (VirusTotal engines, AbuseIPDB reporters, OTX pulses...) |
found |
the service knows the indicator |
categories, tags |
the vendor's categories and labels (at most 25 each) |
first_seen, last_seen |
ISO 8601 dates, when the vendor gives them |
country, asn, as_name |
where the address lives (asn as AS15169) |
permalink |
the indicator's page at the vendor |
cached, cached_at |
the answer came from the cache (no vendor call) |
raw |
a few of the vendor's own fields, at most 8 KB |
dry_run, planned_request |
a dry run: the request it would send, nothing was sent |
Example: block an IP when VirusTotal and AbuseIPDB agree.
condition: {{ steps.vt.output.details.malicious_count >= `3`
&& steps.abuse.output.details.score > `80` }}
then: Cloudflare: block IP on {{ trigger.target.value }}
The whole condition is one {{ }} expression; numbers in a comparison are
written in backticks (`3`).
Indicators are cleaned first: defanged notation is undone (hxxps://evil[.]com,
1.2.3[.]4, alice[at]example.com), a URL without a scheme gets http://,
a hash is recognised by its length (MD5 32, SHA-1 40, SHA-256 64 hexadecimal
characters), a CVE looks like CVE-2024-3400.
Services¶
Free-tier limits are the vendors' published limits at the time of writing; check your plan. The connector card shows the same limits and plan requirements, and Test calls the vendor with your key: it names a wrong key, a plan without API access, missing billing, a used-up quota or a rate limit. Where the vendor has a free key or quota call (Shodan, urlscan.io, Have I Been Pwned, Hybrid Analysis, Censys, GreyNoise, OTX, IPinfo, MISP, OpenCTI), the test spends no lookup; elsewhere it looks up one public indicator, which counts once against the quota.
| Service (action) | Checks | Key | Free tier | Verdict and score |
|---|---|---|---|---|
VirusTotal (virustotal_lookup) |
IP, domain, URL, hash | API key (x-apikey) |
4 lookups/min, 500/day; the free public key must not be used in commercial products or services (Premium for business use) | 3+ engines malicious: malicious (70 + 3 per engine above 3); 1-2 malicious or any suspicious: suspicious; only harmless/undetected: harmless |
IBM X-Force Exchange (xforce_lookup) |
IP, domain, URL, hash, CVE | API key + password (credential "user name and password") | none: a paid X-Force Threat Intelligence subscription or its trial (Freemium keys have no API access) | IP and URL risk 1-10 times 10 (7+ malicious); a malware family entry is malicious; a CVE is scored by its CVSS |
AbuseIPDB (abuseipdb_check) |
IP | API key (Key) |
1,000 checks/day | the abuse confidence score; no report: unknown; whitelisted: harmless |
AlienVault OTX (otx_lookup) |
IP, domain, URL, hash, CVE | OTX key, optional | generous, lower without a key | 30 + 10 per pulse naming it (4 pulses: malicious); whitelisted by OTX: harmless |
GreyNoise (greynoise_lookup) |
IPv4 | key optional (community); a key with a subscription for the full IP lookup (api: enterprise) |
no key: 10/day; free key (business email accounts only): 50/week | malicious 90, suspicious 60; benign or RIOT (known business service): harmless; scanning with unknown intent: suspicious 30; not observed: unknown |
Shodan (shodan_lookup) |
IP | API key for the host API (the default); the keyless InternetDB only with Allow InternetDB on (see below) | IP lookups use no query credits | malware/c2/compromised labels: malicious 80; tor/proxy/vpn/scanner: suspicious 40; otherwise unknown (ports and vulnerabilities in raw) |
Censys (censys_host_lookup) |
IP | Platform personal access token (the Search API v2 ID and secret is retired); on paid plans the connector's Organization ID (Censys Platform > user icon > API Access > Current Organization) | Free: 100 credits/month, 1 credit per host lookup, 1 request at a time | same labels as Shodan |
IPinfo (ipinfo_lookup) |
IP | access token, optional (required for IPinfo API: lite) | no token: 1,000/day; free token: 50,000/month; the free Lite API (api: lite): no limit, country and ASN only; privacy flags need Core or higher |
Tor/proxy/VPN/relay: suspicious 40; otherwise unknown (geolocation and ASN) |
CrowdSec CTI (crowdsec_lookup) |
IP | API key (x-api-key) |
Community key: 120 lookups/month (1,500 with Premium) | reputation malicious / suspicious / known (suspicious) / safe (harmless); score = overall score (0-5) times 20 |
Pulsedive (pulsedive_lookup) |
IP, domain, URL | API key, optional | no key: 10/day; free account: 50/day, 500/month; business use: Commercial API plan | risk critical 95, high 80, medium 50, low 30, none 0 |
urlscan.io search (urlscan_search) |
IP, domain, URL, SHA-256 | API key, optional | 1,000 searches/day | a scan with a malicious verdict: malicious; otherwise unknown |
urlscan.io submit (urlscan_submit) |
URL, domain | API key | free plan: 5,000 public, 1,000 unlisted and 50 private scans/day; commercial use needs urlscan.io's written permission or a commercial plan | the new scan's verdict (the first poll after 10 seconds, as urlscan.io asks), or scan_status: pending with the result link |
abuse.ch URLhaus (urlhaus_lookup) |
URL, host (domain/IP), MD5/SHA-256 payload | Auth-Key | free, fair use; for-profit use may need a paid subscription | listed URL: malicious (online 100, offline 80); a host serving malware: malicious 70-90; a payload: malicious 90 |
abuse.ch ThreatFox (threatfox_lookup) |
IP, domain, URL, hash | Auth-Key | free, fair use | the highest confidence level of the matching IOCs (70+: malicious) |
abuse.ch MalwareBazaar (malwarebazaar_lookup) |
hash | Auth-Key | free, fair use | a known sample: malicious 100 |
Google Web Risk / Safe Browsing (google_url_check) |
URL, domain | Google Cloud API key | Web Risk: needs a Google Cloud project with billing; 100,000/month free; Safe Browsing: non-commercial only | on Google's lists (malware, social engineering, unwanted software): malicious 90; otherwise unknown |
Hybrid Analysis (hybrid_analysis_lookup) |
hash (lookup only, no upload) | API key | free account; your key's limits are under Profile > API key | the worst report's verdict, scored by its threat score |
MISP (misp_search) |
IP, domain, URL, hash, email | your instance's read-only auth key (a role with Auth Key Access that cannot change events) | your instance | an attribute with the IDS flag: malicious (by the event's threat level, 75-95); without: suspicious 40 |
OpenCTI (opencti_search) |
IP, domain, URL, hash, email | the API token of a user whose role has Access knowledge (and API usage with authorization headers > Allow token usage where offered); the group's allowed markings limit what is found | your instance | the highest score of the observable and its active indicators |
RDAP / WHOIS (rdap_lookup) |
domain, IP | none | public registries, asked directly through the IANA bootstrap files (data.iana.org); rdap.org, which allows 10 lookups in 10 seconds, only for what they do not list | registered fewer than 30 days ago (configurable): suspicious 40, tag newly-registered; otherwise unknown |
Have I Been Pwned (hibp_breached_account) |
API key (hibp-api-key) |
paid plans only (Core or higher); the data is CC BY 4.0: each result carries source, source_url and license, and its summary names haveibeenpwned.com; keep that attribution wherever you show it |
in breaches: suspicious (30 + 10 per breach); in none: harmless |
Shodan InternetDB is opt-in. Shodan allows its keyless InternetDB for non-commercial use only; commercial use needs a licence from Shodan. A Shodan lookup therefore uses the host API with your key. Turn on Allow InternetDB (non-commercial use only) in the action only when your organization holds such a licence or uses DRACO non-commercially; without a key and without that switch the action asks for a key.
The workflow node Threat intel lookup checks indicators against DRACO's own threat intelligence without any key.
Quotas, caching and retries¶
- Cache. An answer is reused for the same organization, credential and
indicator for an hour (a platform-wide default; an
action's Cache answers setting overrides it, 0 turns it off). A loop over
50 IPs that repeat does not spend the free tier twice. A cached answer
shows
cached: true. - One at a time. Executions of one action run one after another, which also keeps a loop under the vendor's per-second limits.
- Rate limits. A 429 answer is retried after the vendor's
Retry-After(up to 30 seconds inside the execution); a longer wait fails the step as retryable, so the workflow's retry setting decides when to try again. - Refused keys (401/403) fail at once with the reason and are not retried; check the key and its plan.
- Not found at the vendor is not an error:
verdict: unknown,found: false(Have I Been Pwned:harmless).
Privacy and transport¶
- Private, loopback and reserved addresses and internal names are never
sent to a public service (
verdict: not_public). MISP and OpenCTI are your own systems and do get them. - Every call to a public service uses HTTPS. MISP and OpenCTI take your
instance URL: https by default; plain
http://only with Allow plain HTTP on and an internal host (private address,localhostor a single-label name). An instance on a private network also needs your DRACO operator to allow private networks, as for MISP feeds. - API keys stay in the credential: they are never shown in a preview, a step's input or output, an error or a log. The cache key is a digest.
urlscan_submitis the one lookup that publishes: it sends the URL to urlscan.io with the visibility you choose (private by default). Useurlscan_searchto only read.
Not included¶
- WHOIS over port 43: RDAP replaces it for generic top-level domains;
rdap_lookupcovers domains and IP networks. - Hybrid Analysis submission and VirusTotal file upload: lookups never send files.