<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd" -->

---
title: Credentialed Pre-Port Discovery: Don't Probe the Host,...
description: Credentialed pre-port discovery in InsightVM, available from version 8.58, replaces outside-in network port scanning with a direct query to the host. Using...
canonical: https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Credentialed Pre-Port Discovery: Don't Probe the Host, Ask it | daily.dev
og:description: Credentialed pre-port discovery in InsightVM, available from version 8.58, replaces outside-in network port scanning with a direct query to the host. Using...
og:url: https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd
og:image: https://api.daily.dev/og/posts/q2A0hnwzd.png
og:image:alt: Credentialed Pre-Port Discovery: Don't Probe the Host, Ask it
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Credentialed Pre-Port Discovery: Don't Probe the Host, Ask it

**[Rapid7 Cybersecurity Blog](https://daily.dev/sources/rapid7-blog)** · 7 min read · 0 upvotes · 0 comments

## Summary

Credentialed pre-port discovery in InsightVM, available from version 8.58, replaces outside-in network port scanning with a direct query to the host. Using credentials already configured for authenticated scanning (Scan Assistant, SSH, or Windows), the engine connects to the credential's port, authenticates, and receives an authoritative list of listening TCP and UDP ports directly from the host's OS, avoiding probing, timeouts, and rate-limiting issues that plague traditional scans. It's a per-template, opt-in checkbox under Asset Discovery, off by default, with automatic fallback to a standard network port scan when no matching credential exists or authentication fails. The trade-off: the host reports what it's listening on regardless of whether the scan engine can actually reach it through firewalls, so segmented networks may see longer scans and false 'excessive connection errors' findings on ports the host can't be reached on despite being genuinely open.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.rapid7.com/blog/post/pt-credentialed-pre-port-discovery-asking-host>

## Questions this post answers

### What is credentialed pre-port discovery in InsightVM and when was it added?

Credentialed pre-port discovery is an InsightVM feature, available starting in version 8.58, that lets the scan engine ask a host directly which TCP and UDP ports it is listening on using an existing credential, instead of probing ports from outside. The engine connects via Scan Assistant, SSH, or a Windows connection, authenticates, and receives an authoritative port list, skipping the network port scan entirely for that host.

_Teams evaluating credentialed scanning approaches can track InsightVM feature rollouts like this on daily.dev._

### Why would a vulnerability scanner report a host scan terminated due to excessive connection errors even though the port is actually open?

This happens because pre-port discovery reports ports the host is listening on regardless of whether a firewall or network control lets the scan engine actually reach them. After discovery, the engine still tries to connect to each reported port to identify its service; if it cannot reach a genuinely open port, repeated connection failures can make the engine conclude the host stopped responding, terminating the scan early even though the host answered correctly.

_Anyone debugging inconsistent scan results can follow discussions on network-path issues like this via daily.dev._

### How does InsightVM decide which credential to use for pre-port discovery when multiple credentials match a host?

InsightVM prefers the Scan Assistant first, then SSH, then a direct Windows connection, using whichever authenticates successfully first. SSH and the Scan Assistant are tried on their standard ports, TCP 22 and TCP 21047 respectively, unless a different port is set on the credential's restriction. If no credential matches or authentication fails, the engine falls back automatically to a standard network port scan without reporting an error.

_Engineers configuring credentialed scanning workflows can keep tabs on tooling details like this through daily.dev._

## Similar posts on daily.dev

- [Introducing Internal Network Scanning: see your network the way an attacker inside it would — ProjectDiscovery Blog](https://daily.dev/posts/introducing-internal-network-scanning-see-your-network-the-way-an-attacker-inside-it-would-projec-9jwj2v4ay) · ProjectDiscovery Blog · 0 upvotes · 0 comments
- [How we replaced our host vulnerability scanner with the Datadog Agent](https://daily.dev/posts/how-we-replaced-our-host-vulnerability-scanner-with-the-datadog-agent-rujd3xnsu) · Datadog · 0 upvotes · 0 comments
- [AWS Security Hub now offers Network Scanning to identify publicly reachable resources](https://daily.dev/posts/aws-security-hub-now-offers-network-scanning-to-identify-publicly-reachable-resources-bi055i6bo) · AWS · 0 upvotes · 0 comments
- [Bots found my home server in minutes - here’s how I kept them out](https://daily.dev/posts/bots-found-my-home-server-in-minutes---here-s-how-i-kept-them-out-npnoh3efi) · XDA Developers · 1 upvotes · 0 comments
- [10 Things to Look for in an AI-Powered Network Vulnerability Scanner](https://daily.dev/posts/10-things-to-look-for-in-an-ai-powered-network-vulnerability-scanner-tsvyf0itg) · Security Boulevard · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#ssh](https://daily.dev/tags/ssh)

[View this post on daily.dev](https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Credentialed Pre-Port Discovery: Don't Probe the Host, Ask it","url":"https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd"},"datePublished":"2026-09-09T16:02:26.582Z","dateModified":"2026-09-14T09:00:43.869Z","description":"Credentialed pre-port discovery in InsightVM, available from version 8.58, replaces outside-in network port scanning with a direct query to the host. Using...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dd29b1c668d3baee76e9b1ebf2656f0b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/dd29b1c668d3baee76e9b1ebf2656f0b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Rapid7 Cybersecurity Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Rapid7 Cybersecurity Blog","logo":"https://media.daily.dev/image/upload/logos/placeholder.jpg","url":"https://daily.dev/sources/rapid7-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,ssh","timeRequired":"PT7M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Rapid7 Cybersecurity Blog","item":"https://daily.dev/sources/rapid7-blog"},{"@type":"ListItem","position":3,"name":"Credentialed Pre-Port Discovery: Don't Probe the Host, Ask it"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/credentialed-pre-port-discovery-don-t-probe-the-host-ask-it-q2a0hnwzd#faq","mainEntity":[{"@type":"Question","name":"What is credentialed pre-port discovery in InsightVM and when was it added?","acceptedAnswer":{"@type":"Answer","text":"Credentialed pre-port discovery is an InsightVM feature, available starting in version 8.58, that lets the scan engine ask a host directly which TCP and UDP ports it is listening on using an existing credential, instead of probing ports from outside. The engine connects via Scan Assistant, SSH, or a Windows connection, authenticates, and receives an authoritative port list, skipping the network port scan entirely for that host. Teams evaluating credentialed scanning approaches can track InsightVM feature rollouts like this on daily.dev."}},{"@type":"Question","name":"Why would a vulnerability scanner report a host scan terminated due to excessive connection errors even though the port is actually open?","acceptedAnswer":{"@type":"Answer","text":"This happens because pre-port discovery reports ports the host is listening on regardless of whether a firewall or network control lets the scan engine actually reach them. After discovery, the engine still tries to connect to each reported port to identify its service; if it cannot reach a genuinely open port, repeated connection failures can make the engine conclude the host stopped responding, terminating the scan early even though the host answered correctly. Anyone debugging inconsistent scan results can follow discussions on network-path issues like this via daily.dev."}},{"@type":"Question","name":"How does InsightVM decide which credential to use for pre-port discovery when multiple credentials match a host?","acceptedAnswer":{"@type":"Answer","text":"InsightVM prefers the Scan Assistant first, then SSH, then a direct Windows connection, using whichever authenticates successfully first. SSH and the Scan Assistant are tried on their standard ports, TCP 22 and TCP 21047 respectively, unless a different port is set on the credential's restriction. If no credential matches or authentication fails, the engine falls back automatically to a standard network port scan without reporting an error. Engineers configuring credentialed scanning workflows can keep tabs on tooling details like this through daily.dev."}}]}
```

