Utkarshwriting · building · reflecting
technical

Operationalizing VMDR – Part 3: Agent vs Network Scanning and a Hybrid Coverage Strategy

Agent vs network scanning by asset class: what each method detects, where it fails, and how to merge findings into one hybrid plan with no coverage gaps.

  • vulnerability-management
  • vmdr
  • vulnerability-scanning
  • authenticated-scanning
  • scan-coverage
  • endpoint-agents

This is Part 3 of Operationalizing VMDR. Part 2 left us with clean tags, signed-off criticality and a list of onboarding gaps: golden records with no matching asset in the VM platform. This part decides how each of those assets gets assessed. The agent vs network scanning question usually gets argued as a product choice. In practice it is a per-asset-class engineering decision about what each method can see, what it costs to run, and how its findings merge with everything else on the same machine. The goal is a hybrid scanning strategy where every asset class has a primary method, a complement and a known blind spot.

A Short Scene at Exalted Jupiter

Krishna, our patching lead, closed a ticket with a screenshot. “Agent says the file server is fully patched. Done.”

Twenty minutes later Pradeep, our red teamer, posted in the same thread. “Same server. SMB signing not required, an old management interface on 8443 with a default login, and a self-signed certificate that expired last year. I didn’t need a password for any of it.”

“The agent didn’t flag any of that,” Krishna said.

“The agent was never asked,” I said. “It reads packages and patches from the inside. Pradeep is looking at it from the network.”

Rakesh, who runs OT device security, joined late. “While we’re on scanning: please don’t point the new authenticated scan policy at the clinical engineering VLAN. The last time someone ran a full port sweep there, an infusion pump gateway rebooted and a nurse had to log a device fault.”

Shaurya added the last piece. “And half the cloud workloads in the onboarding gap list live for under an hour. Neither of your scanners will ever meet them.”

Four people, four blind spots. That afternoon we stopped asking which scanner was better and started writing down which method owned which asset class.

Agent vs Network Scanning: What Each Method Actually Sees

Agent-based assessment

An agent is a small process on the host that collects software inventory, patch state and configuration locally and sends it to the platform. Running with local privileges, its view is functionally authenticated without anyone managing scan credentials. Rapid7 describes its agent assessments as “functionally authenticated already”, and Tenable lists credential-free assessment and coverage of intermittently connected laptops among the main benefits of its agents.

The trade-off is that an agent only sees its own host. Tenable’s documentation is direct about it: agents “are not designed to perform network checks”, and they miss checks that need remote connectivity, such as logging into a database server, trying default credentials or traffic-related enumeration. An agent cannot tell you what an attacker on the next subnet sees.

Unauthenticated network scanning

A network scanner probes from an appliance or engine, discovers live hosts and open ports, fingerprints services and runs remote checks. This is the outside-in view: exposed services, weak protocols, TLS problems and default credentials. It is also the only active method that finds assets nobody onboarded, such as the forgotten test box or the printer that never reached the CMDB.

NIST SP 800-115 treats network discovery and vulnerability scanning as separate target identification techniques, and the distinction matters: discovery finds the asset, scanning assesses it. The weakness of an unauthenticated scan is depth. Without credentials a scanner infers versions from banners and behaviour, which produces both misses and false positives, especially where vendors backport fixes without changing the version string.

Authenticated network scanning

An authenticated (credentialed) scan logs in over SSH, SMB/WinRM, SNMP or an API and reads the same kind of local data an agent collects, plus the remote checks. It gives inside-out depth without installing software on the target, which makes it the natural choice where agents are not allowed or not supported.

The cost moves to credential management: a least-privilege account, a vault, rotation, and someone who notices when authentication silently fails. A scan that fails to log in usually still completes and still reports something, which is how unauthenticated results get counted as authenticated coverage. Vendor support also changes. Microsoft retired the Windows authenticated scan in Defender Vulnerability Management on December 18, 2025, with no direct replacement, so check that your fallback methods still exist.

Passive, API and snapshot methods

Three adjacent methods fill gaps the main two cannot:

  • Passive monitoring watches traffic from a span port or network sensor and infers devices, protocols and versions without sending a probe. It suits fragile OT and medical networks.
  • API inventory pulls instances, images and configuration from cloud providers, hypervisors and management consoles. It tells you what exists, not always what is vulnerable.
  • Snapshot-based agentless scanning reads a copy of a cloud disk out of band. AWS Inspector, for example, can collect software inventory through the SSM agent or through EBS snapshots, and enrols new accounts in a hybrid mode that uses both.

CISA’s BOD 23-01 makes the same point in policy language: discovery can be achieved through “active scanning, passive flow monitoring, querying logs, or in the case of software defined infrastructure, API query”, and it treats both credentialed network scans and agent-based detection as meeting its privileged-enumeration requirement.

Side by side

Property Agent Unauthenticated network scan Authenticated network scan
View Inside-out, one host Outside-in, many hosts Inside-out plus outside-in
Finds unknown assets No Yes Yes, if in target range
Credentials to manage None on the target None Yes, per platform
Needs network reach Outbound to platform only Scanner to target, many ports Scanner to target, management ports
Roaming and off-network hosts Yes Rarely Rarely
Remote-only checks (default logins, TLS, exposed services) No Yes Yes
Detection depth for installed software High Low High, when login succeeds
Cadence Continuous or platform-scheduled Scheduled windows Scheduled windows
Main failure mode Not installed, stale or cloned Blocked by firewalls, inference errors Silent authentication failure

Detection Quality: Why One Asset Gives Two Answers

When the agent and the scanner disagree about the same server, both are often right about different things.

Installed versus exposed. An agent reports a vulnerable library on disk that no listening service uses, so the scanner never sees it. The scanner sees an exposed management interface the agent has no check for. Both findings are real and describe different risk.

Backported fixes. Enterprise Linux distributions often fix a vulnerability without changing the upstream version number. A banner-based remote check flags the old version; an agent or credentialed scan that reads the package release and vendor advisory data does not.

Installed versus running. A kernel or runtime update can be installed but not active until a reboot or service restart. Patch tickets closed on “installed” can leave vulnerable code running for weeks, so prefer checks that report pending-reboot state.

Configuration and policy. Local configuration, registry values, file permissions and hardening baselines need inside access. Rapid7’s comparison table lists the agent as “local only”, the unauthenticated scan as “remote only” and the authenticated scan as “local, remote, and policy”.

Freshness. Signature age matters as much as method. Tenable notes that an agent host that was switched off can start a scheduled scan before its plugin update completes, so it runs with an older plugin set. CISA’s directive requires detection signatures to be no more than 24 hours behind the vendor’s latest release. Track signature age per method, not just per platform.

NIST SP 800-40r4 frames patching as preventive maintenance that depends on knowing what software is installed where, which is exactly what inside-out methods provide. The practical rule: use inside-out methods as the authority for software and patch state, and outside-in methods as the authority for exposure. Do not let one overwrite the other.

Coverage Trade-Offs Behind Each Method

Where agents fall short

  • Install base. An agent covers nothing until it is deployed, and deployment is a change on every host. Part 5 of this series covers agent deployment at scale.
  • Unsupported platforms. Appliances, network operating systems, embedded firmware, older operating systems and vendor-managed systems often cannot run an agent, or the vendor’s support contract forbids it.
  • Clones and golden images. An agent baked into a template with its identity intact makes many machines report as one. Qualys warns that when machines are cloned with the same agent UUID, its unified merge mode will merge them into a single asset record.
  • Health drift. Agents stop checking in or outlive their host. An agent installed is not an agent reporting.
  • Owner refusal. Some owners refuse another privileged process on domain controllers, payment systems or clinical servers. Agree a fallback method in advance.

Where network scanning falls short

  • Reach. Firewalls, segmentation, NAT, VPN split tunnels and cloud security groups decide what a scanner can touch. Part 4 covers scanner placement and reach in detail.
  • Roaming devices. Laptops that spend most of their time at home or on travel are rarely on the network when the scan window opens. Rapid7’s console guidance calls network assessment over VPN “very challenging” and points to agents for those environments.
  • Credential failures. Expired passwords, locked accounts, disabled remote registry, missing sudo rights and changed SNMP strings all degrade a credentialed scan to unauthenticated without anyone noticing.
  • Ephemeral assets and change windows. A workload that lives for forty minutes rarely meets a weekly scan window, and production owners often restrict when scans may run.

Measure authentication, not only scanning

The most useful single metric for network scanning is the share of in-scope hosts where authentication succeeded on the last scan. Most platforms report login success or failure through informational checks. Report it daily by owner team and treat a failed login as a coverage gap.

Scan Load, Bandwidth and Fragile Targets

Network scanning concentrates load. A scanner opens many connections to many hosts inside a window. Full port sweeps, service fingerprinting and credentialed checks across a remote site can saturate a thin WAN link or overwhelm a firewall’s session table. The levers are familiar: scanners close to targets, fewer simultaneous hosts per scanner, tuned port lists for routine scans with periodic full sweeps, and scan windows agreed with network operations.

Agents spread load. Each agent uses local CPU and disk for its own collection and sends results outbound. Steady-state traffic is usually modest; the spikes come from mass events, such as every agent downloading a large signature update at once or thousands of endpoints reconnecting on Monday morning. Randomized check-in, local caching and update throttling handle most of that.

As an illustrative example, not a measurement: a branch with a few hundred endpoints on a thin link might struggle to finish a weekly credentialed scan from a central scanner, while agents there report several times a day. Measure a pilot before you commit.

Fragile targets need a different answer altogether. NIST SP 800-82r3 lists the performance impact of host-based agents and “the impact of active scanning on devices” among OT monitoring concerns, and describes passive monitoring through SPAN ports and network taps. The same applies to infusion pump gateways, imaging modalities and lab analysers in a clinical environment, where a port sweep a server shrugs off can crash an embedded TCP stack. The default for these networks should be passive discovery, vendor-supplied data and only carefully tested, explicitly approved active checks.

Agent vs Network Scanning by Asset Class: A Decision Matrix

The matrix below is a starting point. The right answer for any one estate depends on platform support, policy and risk appetite, but every asset class should end up with a named primary method, a complement and an owner for the blind spot.

Asset class Primary method Complement Main watch-outs
Data centre servers Agent Unauthenticated network scan for exposure; authenticated scan where agents are refused Clones, agent health, change windows
Workstations and laptops Agent Periodic network scan of office subnets for exposure and unknown devices Roaming, VPN split tunnels, BYOD
Cloud VMs Agent or provider-native agent Snapshot-based agentless scan; network scan from inside the VPC Autoscaling churn, golden image identity
Containers and Kubernetes Image scanning in registry and pipeline Runtime inventory from cluster sensor; host agent on nodes Short-lived pods, image-to-workload mapping
Network devices Authenticated scan (SSH, SNMPv3, API) Unauthenticated scan for exposed management planes Read-only accounts, firmware version mapping
Appliances and vendor-managed systems Authenticated scan where permitted Unauthenticated scan; vendor advisories Support contracts, no local access
OT and medical devices Passive monitoring and vendor data Approved, tested active checks in maintenance windows Device safety, vendor approval, clinical operations
Ephemeral and remote assets Agent in the image, or pipeline scanning Cloud API inventory, snapshot scans Lifetime shorter than scan cycle

Servers

Servers are where hybrid coverage pays most. The agent owns patch and package state without credential management. A scheduled unauthenticated scan from the same zone owns exposure: open ports, TLS, default logins. Where an owner refuses an agent, an authenticated scan with a least-privilege, vaulted account fills the gap. Domain controllers cut both ways: some owners refuse agents there, while Tenable lists domain controllers and DMZs as places where remote credentialed access is undesirable and agents help. Settle it per server class with the owner and record the decision.

Workstations and laptops

Agents are the only method that reliably reaches roaming laptops. A periodic network scan of office and Wi-Fi subnets still finds the devices without agents. Microsoft Defender for Endpoint’s device discovery uses onboarded endpoints to passively observe traffic and actively probe for unmanaged devices, a useful pattern on any platform.

Cloud VMs

Cloud VMs are best covered by an agent baked into the image, with identity reset at first boot so clones do not collide. Snapshot-based agentless scanning, offered by both Microsoft Defender for Cloud and AWS Inspector, needs nothing on the instance and catches workloads where the agent failed to start. A scanner inside the VPC or VNet provides the exposure view, and cloud API inventory provides the denominator.

Containers

Containers change the unit of assessment from host to image. Registry and pipeline scanning catch package vulnerabilities before they run, a runtime sensor maps which images run where, and node agents cover the host OS and runtime. Network scanning of individual pods is rarely useful. The container vulnerability management post covers the build-to-runtime chain, and NIST SP 800-190 remains the reference for container security risks.

Network devices

Routers, switches, firewalls and VPN gateways cannot run agents. An authenticated scan with a read-only SSH, SNMPv3 or API account reads the exact firmware version that vulnerability matching needs. Microsoft’s authenticated network scan, for example, assesses network devices from an onboarded scanning device using SNMP read-only credentials. An unauthenticated scan shows which management planes are exposed and from where. The edge device vulnerability management post covers why these devices deserve their own remediation track.

OT and medical devices

This is where a clinical network differs most from a corporate one. Infusion pumps, patient monitors, imaging systems and lab analysers are regulated devices; the manufacturer usually controls what can be installed and when it can be patched, and an outage can affect patient care. Agents are almost never an option, and active scanning needs clinical engineering and vendor sign-off.

A workable model:

  1. Passive discovery first. A network sensor on the clinical VLANs identifies devices, protocols and firmware from traffic.
  2. Manufacturer data. Use the manufacturer’s disclosure statements, SBOMs where available and security advisories. FDA premarket cybersecurity guidance now expects manufacturers to supply SBOM and vulnerability management information for devices they submit.
  3. Tested active checks only. Test on a spare device first, run in agreed maintenance windows and limit the port and plugin set.
  4. Compensating controls. When a device cannot be assessed or patched, the finding becomes a segmentation and monitoring requirement owned jointly by clinical engineering and security.

Ephemeral and remote assets

Anything that lives shorter than the scan cycle needs assessment built into how it is created: an agent in the image, pipeline scanning and cloud API inventory. For remote assets such as home-office devices and field equipment, the agent is the primary method and its last check-in time is the coverage signal.

Building a Hybrid Scanning Strategy

A hybrid scanning strategy is a set of rules, not a product decision:

  1. Inside-out is the authority for software state. Use the agent where it can run, and an authenticated scan where it cannot.
  2. Outside-in covers every reachable asset. Run unauthenticated discovery and exposure scans across all address space you own, including assets with agents, because they find what agents cannot see and what nobody onboarded.
  3. Fragile and ephemeral assets get purpose-built methods. Passive monitoring for OT and clinical devices; pipeline and snapshot scanning for short-lived workloads.
  4. Every exception has an owner and a fallback. An asset class without an agent needs a named alternative method, not a gap in a spreadsheet.

Write it down as data, next to the tagging dictionary from Part 2, so it can be checked automatically. An illustrative policy file:

scan_policy:
  server:
    primary: agent
    complement: [unauth_network_weekly]
    fallback_if_no_agent: auth_network_weekly
    max_assessment_age_days: 3
  network_device:
    primary: auth_network_weekly
    credential_type: [ssh_readonly, snmpv3]
    complement: [unauth_network_weekly]
    max_assessment_age_days: 7
  medical_device:
    primary: passive_monitoring
    complement: [vendor_advisories, approved_active_checks]
    active_scanning: requires_clinical_engineering_approval
  ephemeral_workload:
    primary: image_scan_in_pipeline
    complement: [cloud_api_inventory, snapshot_scan]

The age limits are illustrative; set your own from your SLAs and risk appetite. A daily job then checks each golden record’s asset class tag against a recent assessment from its primary method.

Deduplicating and Correlating Agent and Network Findings

Two methods against one asset only help if the platform knows it is one asset. Otherwise you get two records, double-counted vulnerabilities and two tickets for the same fix.

Asset identity

Agents identify assets by a UUID. Network scans identify them by IP address, hostname or MAC. Correlation needs a bridge between the two:

  • Qualys uses an Agent Correlation Identifier. During a scan, the scanner retrieves the agent’s correlation ID over configurable ports (TCP 10001 to 10005 by default) through QID 48143, and the platform merges unauthenticated results into the agent record according to the asset tracking and data merging option you choose. Qualys does not recommend enabling it on hosts with external-facing interfaces.
  • Rapid7 recommends agent assessments for local checks and engine scans for remote checks, and merges results when both assess the same asset. Agent hosts need UDP 31400 open so the agent can return its UUID to the scan engine for correlation.
  • Tenable and Microsoft use their own identity logic, combining agent identifiers with network attributes. Check the documentation for your version rather than assuming.

Whatever the platform does, keep the golden record ID from Part 1 as the external key and push it to the platform as a tag or custom attribute. When the platform merges incorrectly, as happens with clones, multi-homed servers and reused IP addresses, the golden record is how you notice.

Finding-level deduplication

Even with one asset record, the same vulnerability may be reported twice through different checks. Treat a finding as the combination of asset, vulnerability and affected component, and store which methods detected it as evidence. A short, illustrative merge rule:

for each finding in incoming_results:
    asset_id = resolve_golden_record(finding.asset)
    key = (asset_id, finding.cve_or_check_id, finding.component)

    record = findings.get(key) or new_finding(key)
    record.evidence[finding.method] = finding.last_seen

    if finding.status == "fixed":
        if finding.method in authority_for(record):
            record.close(reason="fixed", by=finding.method)
        else:
            record.flag("fixed by non-authoritative method, confirm")

    findings.put(key, record)

The important part is authority_for. A package vulnerability closes only when the inside-out method confirms the fix; an exposed service closes only when the outside-in scan stops seeing it. Without that rule, findings flap between open and fixed depending on which method ran last.

When methods disagree, route recurring cases to the platform team as tuning work. The cause is usually a backported fix, a pending reboot or a credential failure, not something the application owner can resolve.

Metrics for Scan Coverage

These sit alongside the inventory and tagging metrics from Parts 1 and 2:

Metric Definition What it tells you
Assessed coverage Share of in-scope golden records with an assessment from their primary method within the allowed age Whether the strategy is actually running
Authentication success rate Share of credentialed scan targets where login succeeded on the last scan Hidden degradation of network scans
Agent reporting rate Share of installed agents that checked in within the allowed window Agent health, as opposed to install count
Outside-in coverage Share of reachable address space scanned for exposure in the period Unknown assets and exposure blind spots
Correlation rate Share of assets with both agent and network results merged into one record Duplicate records and double counting
Signature age Time since last detection content update, per method Stale results that look current
Exception count by class Assets with no primary method, grouped by asset class and owner Where Part 4 and Part 5 need to focus

Report coverage by asset class and owner team. A single overall percentage hides the clinical VLAN and the branch office that are actually missing.

Pitfalls We Hit

  • Counting installs as coverage. The install count looked excellent; the reporting rate, excluding agents silent for weeks, did not.
  • Silent credential failures. A password rotation broke a scan account and turned a whole server range into unauthenticated results for a month before anyone checked.
  • Cloned agent identities. A VM template carried an agent identity, so a group of new servers appeared as one asset with one very confused patch history.
  • Closing findings from the wrong method. An exposure finding was closed because the agent did not report it, while the service was still listening.
  • Scanning the clinical network like an office. One sweep was enough for clinical engineering, rightly, to require written approval before any active check.

A Hybrid Scanning Rollout: An Idealized Phased Approach

In an ideal world, a rollout might follow the phases below. It is an illustrative example, not a prescription. Each enterprise should tune the sequence, depth and pace to its own risk appetite, tolerance, tooling and team capacity, and there is deliberately no timeline attached.

  1. Classify the onboarding gaps. Take the gap list from Part 2 and tag each record with its asset class.
  2. Agree the matrix. Primary method, complement and fallback per asset class, approved by platform owners, network operations, clinical engineering and GRC.
  3. Turn on identity correlation. Configure the platform’s agent-scanner merge and push golden record IDs before running both methods widely.
  4. Pilot both methods on one scope. Compare agent and network results for the same servers and tune the disagreements.
  5. Fix credential hygiene. Least-privilege scan accounts, a vault, rotation and an authentication success report.
  6. Add passive and pipeline coverage. Sensors for OT and clinical networks, image scanning for containers, snapshot scanning for cloud.
  7. Publish coverage and hand on the gaps. Report by class and owner; send reach problems to scanner placement and install problems to agent deployment.

CIS Control 7 asks enterprises to “continuously assess and track vulnerabilities on all enterprise assets”, and its safeguards call for both authenticated and unauthenticated scans. A written, per-class hybrid strategy is how that requirement becomes something you can show an auditor and measure every week.

Closing Thoughts

Krishna’s patched file server was not a tool failure. The agent answered the question it was built for, the network scan answered a different one, and nobody had decided which answer owned which finding. Agent vs network scanning stops being a debate once each asset class has a primary method, a complement, an identity bridge between them and a metric that shows when one quietly stops working.

Which asset class in your estate has no clear primary assessment method today, and who owns closing that gap?

Next in the series: Part 4 covers scanner reach: where to place scanners, how to get through segmentation and firewalls safely, and how to prove a scanner can actually see what it is meant to scan. Part 5 then covers agent deployment at scale, from packaging and identity to health monitoring.

References and Further Reading

About the author

Vulnerability Management @ Philips. Writing on cybersecurity, security automation, and the inner life — from Bengaluru, building in public since 2014.

Connect on LinkedIn →

Related posts