Target Intelligence

Use Cases

Step-by-step recipes for the questions Target Intelligence answers best.

Each recipe gives the question, the API calls to answer it, and how to read the results. Every API call is shown with curl, the Go and Python SDKs, and the VulnCheck CLI where the CLI supports the filters used. Steps that analyze results use jq on the JSON saved by curl.


New CVE Exposure

The question: A CVE has just been disclosed or added to KEV. How many hosts on the internet are exposed, where are they, and how sure are we?

1. Pull the target list

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?cve=CVE-2024-21887&limit=2000&start_cursor' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here' > page1.json

jq '._meta.total_documents' page1.json

With curl, follow _meta.next_cursor until it's empty to collect every record (see Paging).

2. Split the results by confidence

Not every match carries the same weight. Separate high-confidence records (tier 40 or 30) from possible backports (tier 20):

jq --arg c CVE-2024-21887 '
  [.data[]
   | [.fingerprints[].cves[]? | select(.cve_id == $c) | .confirmed] | any]
  | group_by(.) | map({confirmed: .[0], records: length})' page1.json

To get only the high-confidence set from the API directly, add confirmed=true. For distro-packaged software (OpenSSH, OpenSSL, Apache httpd, PHP and similar), read the confirmed caveat first: the confirmed set will be a small fraction of real exposure.

3. Break it down by geography and network

# By country
jq -r '.data[].country_code' page1.json | sort | uniq -c | sort -rn | head

# By network operator
jq -r '.data[] | "\(.asn)\t\(.as_name)"' page1.json | sort | uniq -c | sort -rn | head

Narrow server-side when you only need one slice: ?cve=CVE-2024-21887&country_code=DE, or ?cve=…&asn=AS64500.

Vulnerabilities in the same product are often exploited together. Pass them as a list:

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?cve=CVE-2023-46805,CVE-2024-21887,CVE-2024-21893&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

Reading the results

  • Expect coverage to grow quickly for newly exploited CVEs. When VulnCheck's Initial Access team ships an exploit, a detection rule is generated from it automatically and hosts are tagged at tier 40, often before NVD has published CPE data for the CVE. See From Initial Access Exploit to Detection Rule.
  • Zero results don't mean zero exposure. The CVE may not yet have CPE data or a detection rule, the product may not reveal its version, or the service may run on a port scanned on a slower cadence. See Absence from results doesn't mean "not exposed".
  • Exclude CDN edges before quoting a count. See Filtering Out CDN and Proxy Hosts.

Your Own Exposure: ASN, CIDR and DNS

The question: What does the internet see when it looks at us, and which of those services are vulnerable?

Target Intelligence isn't an asset discovery tool. Start from what you know you own, then let Target Intelligence show you what is exposed and vulnerable on it. Combine three kinds of identifiers to get the most complete view.

1. By network: ASN and CIDR

If you have your own Autonomous System, or know your public IP ranges, these are the most complete lookups. They find every observed host regardless of reverse DNS.

# Your ASN(s)
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?asn=AS64500&limit=2000&start_cursor' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

# Your public ranges (one query per range)
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?cidr=203.0.113.0/24&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?cidr=198.51.100.0/25&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

2. By name: reverse DNS

Many internet-facing assets live outside your own ranges, in cloud providers, hosting companies and SaaS-adjacent infrastructure. Find them by the names they carry.

# Hosts whose reverse DNS ends with your domain
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?domain=example.com,example.org&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

# Hostname patterns (substring match on reverse DNS)
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?hostname=vpn.example.com&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

domain matches the end of the reverse-DNS hostname, and hostname matches anywhere in it. Only about a quarter of records have reverse DNS, so name lookups find fewer hosts than ASN and CIDR lookups. A cloud-hosted service without a PTR record won't be found by name, even if its TLS certificate names your domain. TLS certificate names aren't searchable through the API; to match on them, pull the offline backup and filter metadata.cert_common_name and metadata.subject_alternative_names.

3. Focus on what's vulnerable

Add contains_cve=true to any of the queries above to return only records with CVE matches. Add confirmed=true to return only high-confidence matches.

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?asn=AS64500&contains_cve=true&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here' > own.json

List each vulnerable service with its CVEs (? marks an unconfirmed, tier 20 match):

jq -r '.data[] | [.ip, .port, (.fingerprints[] | select(.cves) | "\(.product) \(.version): \([.cves[] | .cve_id + (if .confirmed then "" else "?" end)] | join(","))")] | @tsv' own.json

4. Combine and de-duplicate

The same host can appear in several of these queries. Merge the results and de-duplicate on ip + port + protocol before counting.

Reading the results

  • Compare against your inventory. Anything Target Intelligence sees that your inventory doesn't is worth investigating: an unmanaged service, a forgotten test system or a supplier operating on your behalf.
  • Use tiers to prioritize. Remediate tier 40 and 30 first. Review tier 20 records against your own package versions; you know whether your distro build carries the fix. See Using Confidence Tiers.
  • Track what's new. To watch for services that newly appear in your ranges, and for the filtering considerations that make that signal reliable, see Newly Exposed Infrastructure.
  • Absence isn't proof. A clean result for a range means VulnCheck didn't observe a vulnerable service there within the last 30 days. It doesn't prove there isn't one. See Best Practices.

Supplier and Third-Party Risk

The question: Are the vendors, partners and service providers we depend on exposing vulnerable systems to the internet?

Supplier risk uses the same lookups as your own exposure, aimed at the organizations you depend on. It gives you an outside-in view you can raise with a supplier without needing their cooperation to collect it.

1. By network: the supplier's ASN and ranges

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?asn=AS64511&contains_cve=true&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?cidr=192.0.2.0/24&contains_cve=true&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

You can find a supplier's ASN from public registries, or from asn/as_name on a record for a host you already know they operate.

2. By name: the supplier's reverse DNS

Most suppliers run at least part of their estate in cloud and hosting providers, where the ASN belongs to the provider rather than the supplier. Reverse-DNS matching finds those that carry the supplier's domain in their PTR record:

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?domain=supplier.example&contains_cve=true&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

3. Focus on what matters for an escalation

When you take findings to a supplier, lead with evidence that will survive scrutiny:

# High-confidence findings only
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?domain=supplier.example&confirmed=true&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

# Findings for CVEs being actively exploited (pass the KEV CVEs you're tracking)
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?domain=supplier.example&cve=CVE-2024-21887,CVE-2024-3400&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

Reading the results

  • Attribution is your call. Scan data has no owner field. An IP in a supplier's ASN is very likely theirs; a host found only by its reverse-DNS name may be operated by a third party on their behalf. Check hostname, metadata.cert_common_name and as_name before you escalate.
  • Cloud and CDN ranges need care. A supplier fronted by a CDN can show the CDN edge's fingerprint rather than their own server's. Exclude cdn records before drawing conclusions (see Best Practices).
  • Report tiers, not just totals. "3 hosts with tier 40 findings for actively exploited CVEs" is actionable. "400 CVE matches" invites argument.
  • Repeat on a schedule. A monthly pull per critical supplier, compared with the previous month, shows whether their exposure is improving.

C2 Hunting

The question: Where is attacker command-and-control infrastructure running right now, and what else is it connected to?

Target Intelligence identifies C2 servers from their banners, HTTP responses, TLS certificates and TLS handshake fingerprints (JARM), and labels them with the c2 classification. Listener ports commonly used by C2 frameworks are scanned every 14 days, because attacker infrastructure is short-lived.

1. Find C2 servers

# All identified C2 servers
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=c2&limit=2000&start_cursor' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here' > c2.json

# One framework, or several
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=c2:cobalt-strike&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=c2:sliver,c2:mythic,c2:adaptixc2&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

2. Scope it to what you care about

# C2 in a specific country or network
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=c2&country_code=US&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=c2&asn=AS64500&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

# Broader attacker tooling: phishing kits, stealer panels, OAST callbacks, attack consoles
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=attacker-infrastructure&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

3. Pivot on fingerprints

A C2 operator usually reuses the same certificate, server build or page across servers. The TLS and HTTP fingerprints on each record let you find siblings:

# Group C2 hosts by JARM, certificate and page hash to find shared infrastructure
jq -r '.data[] | [.ip, .port, ((.classifications // []) | join(",")),
                  .metadata.jarm, .metadata.cert_common_name,
                  .metadata.body_sha_256] | @tsv' c2.json

jarm, cert_chain_fingerprints, body_sha_256 and favicon_sha_256 aren't searchable through the API. To find every host sharing a value across the full index (including hosts not yet classified as C2), pivot on them in the offline backup.

4. Connect C2 to active attacks

# Hosts seen attacking VulnCheck canaries
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=canary-attacker&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

A host carrying both a vulnerable service and canary-attacker is usually compromised infrastructure being used to attack others. Cross-reference with Canary Intelligence for the attacks observed from it, and with IP Intelligence for C2 and initial-access indicators.

Reading the results

  • Check timestamp. C2 listeners can disappear within days. A record can be up to 14 days old on C2 listener ports, and older on tier 3 ports.
  • Rule out honeypots. Some deception hosts imitate C2 panels. Drop records that also carry a honeypot: classification.
  • No results for a framework is normal. Operators rotate infrastructure, so a framework can have many hosts one week and none the next.

The question: Where are AI services (model servers, agent builders, MCP servers, LLM gateways) exposed to the internet, and which of them are vulnerable?

AI tooling is often deployed quickly, with defaults intended for local use: no authentication, permissive APIs, and a web UI on a high port. It's also one of the fastest-growing areas of new exploits. Target Intelligence fingerprints the most common AI platforms and scans their default ports.

1. Exposed MCP servers

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=mcp&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

Model Context Protocol servers expose tools to AI agents. An MCP server reachable from the internet may let anyone invoke those tools.

2. AI platforms and agent builders

Query by product name (lowercase, comma-delimited for several):

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?product=langflow,flowise,ollama,comfyui,mlflow,litellm&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?product=open%20webui,anythingllm,n8n&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

Fingerprinted AI and AI-adjacent products include Langflow, Flowise, Ollama, Open WebUI, ComfyUI, MLflow, LiteLLM, AnythingLLM, n8n, Ray, Gradio, Crawl4AI, llama.cpp, DB-GPT and OpenClaw.

3. Vulnerable AI infrastructure

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?product=langflow,flowise,comfyui,mlflow&contains_cve=true&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here' > ai.json

Summarize each vulnerable host with its product, version and CVE count:

jq -r '.data[] | [.ip, .port, .product[0], .version[0], (.summary.cve_count|tostring)] | @tsv' ai.json

Many recent AI-platform CVEs are covered by rules derived from VulnCheck's Initial Access exploits, so these findings frequently carry tier 40 confidence.

4. AI-powered attacker infrastructure

Attackers use AI tooling too. Autonomous, LLM-driven attack consoles are classified as attacker infrastructure:

curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?classifications=attacker-infrastructure:artex&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

Reading the results

  • Scope to your own ranges for governance. Add asn, cidr or domain (see Your Own Exposure) to find AI services your teams have deployed without review.
  • Product-only matches need a look. Many AI tools don't advertise a version, so a host can be identified without a version. Those hosts only reach tier 10 for KEV-listed CVEs. Treat them as "verify", not "vulnerable".
  • Coverage is growing quickly. New AI products and their default ports are added as exploits for them appear.

Newly Exposed Infrastructure

The question: What has appeared on the internet recently, in a network, for a product, or across the board?

1. Query by first-observed date

date_added records when VulnCheck first observed a service on a host-port. Filter on it with date, or with pubStartDate / pubEndDate for a range:

# Everything first observed on one day
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?date=2026-11-09&limit=2000&start_cursor' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

# First observed in the last week, in your network, newest first
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?asn=AS64500&pubStartDate=2026-11-02&pubEndDate=2026-11-09&sort=date_added&order=desc&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

# Newly observed vulnerable services for one product
curl --request GET \
    --url 'https://api.vulncheck.com/v3/index/target-intel?product=connect%20secure&contains_cve=true&pubStartDate=2026-11-01&limit=2000' \
    --header 'Accept: application/json' \
    --header 'Authorization: Bearer insert_token_here'

2. Know what "new" means

date_added is the first time VulnCheck observed this service fingerprint on this host-port. That isn't always the day it came online. A record can be "new" because:

  • The service just appeared. This is the signal you want.
  • Its port is on a slower scan cadence. A service on a 30-day port may have been running for weeks before its first observation.
  • VulnCheck started looking for it. A port was added to the catalog, or a new detection rule now identifies a service that was already there. Records are keyed on IP + port + fingerprint, so a newly identified product appears as a new record.
  • The IP changed. Cloud and residential addresses are reassigned, so the same service can reappear at a new IP.

3. Filtering considerations

To turn "first observed" into a reliable "newly exposed" signal:

  • Scope it. Unscoped, a single day contains a very large number of records. Combine the date filter with asn, cidr, domain, product or cve.
  • Exclude CDN, proxy and honeypot records on your side. They churn constantly and rarely represent a new asset of yours (see Best Practices).
  • Diff against your previous pull. Keep the set of ip + port + protocol you saw last time. A record that's new to the index and new to your set is the strongest signal.
  • Allow for cadence lag. Look back at least 14 days for tier 2 ports and 30 days for tier 3 ports, rather than only at yesterday.
  • Use the right date filter for the job. Use date / pubStartDate to ask "what is new?". Use lastModStartDate to ask "what changed since my last sync?": it covers re-scans of existing records too, and is the right filter for incremental loads.

More Examples

See Query Parameters for a quick reference of single-call queries, and Best Practices for getting accurate answers from the data.