Join our Newsletter — 33% off our NHI Course
Home› Guides› Securing the vulnerability scanner itself: lock down the…
Guide Vulnerability Management

Securing the vulnerability scanner itself: lock down the tool that logs in everywhere

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 13 November 2026 14 min read
On this page

A vulnerability scanner holds credentials that can log in to almost every server, workstation and network device you own, plus a ranked list of every weakness it found, which makes it one of the most valuable systems an attacker can take. Authenticated scanning needs privileged accounts on Windows, Linux, databases and network gear, and cloud and agent-based scanning adds API keys and agent enrolment tokens. The findings database is a ready-made attack plan. This guide is for vulnerability management leads, platform owners and security engineers who run a network, host or cloud vulnerability scanner, self-hosted or as a service. It covers the attack surface, admin roles, scan credentials and integrations, protecting the findings, engine placement, logging, and the lifecycle through to decommissioning. It is vendor-neutral, so confirm exact setting names in your vendor's documentation. For how to run scanning as a programme, see the Vulnerability Scanning Guide.

Key takeaways

  • Treat the scanner as tier 0 where it holds domain-wide credentials. If one scan account can log in everywhere, the scanner is as sensitive as the systems that issue that account.
  • Use many narrow scan credentials, not one powerful one. Split credentials by zone and platform, give each the least rights the checks need, and store them in a vault rather than only in the scanner.
  • Stop the credential leaking to the hosts being scanned. Prefer authentication methods that do not hand a reusable secret to the target, and restrict where scan accounts may log in from.
  • Protect findings like a breach map. Restrict who can see and export results, and encrypt the findings store and its backups.
  • Watch the scanner the way you watch an attacker. Scan accounts used outside scan windows, or from hosts that are not engines, are a high-confidence alert.

What makes up a scanner's attack surface

NIST SP 800-115 describes vulnerability scanning as one of several technical assessment techniques. NIST SP 800-53 RA-5(5) asks you to implement privileged access authorisation to defined system components for defined vulnerability scanning activities, which means the scanner's privileged access is a control to design, not a side effect. The table reflects a common architecture and is NHI Mgmt Group's view; your product may name, merge or split these components differently.

ComponentWhat it holds or doesIf an attacker controls itPrimary control
Management consoleScan policies, credentials, schedules, users, findingsReads every weakness, retrieves or reuses credentials, schedules scans as coverSSO with phishing-resistant MFA, small admin group, privileged access workstation
Scan engines or sensorsRun network and authenticated checks, often in every zoneA foothold with firewall rules into every segment (T1046)Hardened, dedicated hosts; outbound only to the console; engine pairing keys rotated
Scan credentialsPrivileged accounts, SSH keys, database logins, SNMP stringsLateral movement across the estate (T1078.002, T1078.003, T1021.004)Per-zone least-privilege accounts, vault integration, logon restrictions
Endpoint agentsLocal collection with system privileges, enrolment tokensAgent update or command channel used to run code on hosts (T1072)Signed agent updates, restricted enrolment tokens, change control for agent policy
Cloud connectorsAPI credentials to read cloud inventory and configurationCredential reused for broader cloud access (T1078.004)Read-only roles, workload identity federation
Findings database and exportsEvery vulnerability, host and exposure ranked by severityTarget selection for the attacker (T1213)Role-based visibility, export controls, encryption
Ticketing and SIEM integrationsAPI keys into ITSM and SIEMCloses or alters tickets to hide exposure (T1565)Per-integration keys with write scope only where needed

Administrative roles and separation of duties

  • Role design: define at least platform administrator (users, roles, integrations, engine pairing), credential manager (adds and changes scan credentials), scan operator (creates and runs scans against assigned asset groups), analyst (views findings for assigned assets) and auditor (read-only access to the platform audit log). Keep full administrators to a handful.
  • Credential manager is a privileged role: whoever can edit a scan credential can often point it at a host they control and capture it. Limit it to the identity or PAM team that owns those accounts.
  • Scope scan operators to asset groups: a scan operator for one business unit should not be able to launch authenticated scans against domain controllers or OT networks. See the Safe Active Scanning and Testing in OT Guide.
  • Authentication: sign in through your identity provider with SSO and phishing-resistant MFA, as the CISA and FBI Secure by Demand guide asks vendors to support, and keep one documented break-glass local account. See the Break-Glass Account Guide.
  • Admin devices: follow the NCSC secure system administration principles: trusted management devices, protected admin interfaces and tiered administration. See the Privileged Access Workstations Guide.
  • Service providers: if a managed service runs your scanning, give its staff named accounts through your identity provider limited to the contracted scope, and review them every quarter (our recommendation).

Scan credentials and service accounts

The scan credential is the scanner's biggest risk. Authenticated scans see far more than unauthenticated ones, which is why they are worth doing; see the Authenticated vs Unauthenticated Scanning Guide. The aim is to keep that visibility while making each credential worth as little as possible to an attacker.

Target typeCredential patternAvoid
Windows servers and workstationsDedicated domain account per tier or zone, local administrator rights granted through a group on in-scope hosts only, denied interactive and remote desktop logonDomain Admins or another forest-wide privileged group; one account for all tiers
Linux and UnixDedicated account with SSH key authentication and a sudo rule limited to the commands the checks needRoot login; unrestricted sudo; one key for every host
DatabasesRead-only account for configuration and version queriesDatabase owner or system administrator roles
Network devicesRead-only privilege level or role, SNMPv3 with authentication and privacyFull administrative level; SNMPv1 or v2c community strings
Cloud accountsRead-only security audit role assumed through federationOwner or administrator roles; static access keys
Agent enrolmentEnrolment token limited by scope and expiryA long-lived token baked into golden images and scripts
  • Vault integration: where the scanner supports it, retrieve scan credentials from your PAM vault or secrets manager at scan time, so the password is rotated after use and is not stored long term in the scanner. See the Securing the PAM Vault Itself guide.
  • Restrict where scan accounts work: allow scan accounts to authenticate only from scan engine addresses, through logon restrictions, host firewall rules or conditional access, and deny interactive logon.
  • Prevent credential capture: when a scanner authenticates to a host the attacker controls, a challenge-response exchange can be relayed or cracked (T1557.001). Prefer Kerberos over NTLM, require SMB signing, avoid authentication protocols that send the password to the target, and do not let scans authenticate to unknown or unmanaged hosts discovered on the fly. See the Kerberos Security Guide.
  • Rotate and own: record every scan credential, engine pairing key and API key with an owner and expiry in your NHI inventory, and rotate on staff change and after any suspected scanner compromise. See the Service Account Security Guide.
  • Integration keys: give ticketing, SIEM and reporting integrations their own keys and roles, and prefer federation for cloud connectors. See the Workload Identity Federation Guide.

Protecting findings and scan data

  • Need-to-know visibility: analysts and asset owners should see findings for their own asset groups. Organisation-wide views belong to the vulnerability management team.
  • Exports: limit who can export or schedule reports, cap report distribution to internal addresses, and alert on bulk exports.
  • Sensitive content in results: some checks capture configuration excerpts, banners or file contents that include secrets. Review plugin output for credentials and treat any found as leaked.
  • Encryption: encrypt the findings database, engine local storage and backups; for a service, confirm how tenant data is encrypted and how vendor support staff access it.
  • Retention: keep raw results only as long as remediation tracking and audit need, then purge. NIST SP 800-53 RA-5(8) supports reviewing historic audit logs when a new vulnerability is found, so keep enough history to answer whether it was exploited earlier.

Engine placement and platform hardening

  • Dedicated hosts: run scan engines on hardened hosts that do nothing else, with no internet browsing or email, and administer them only from privileged access workstations.
  • Firewall rules both ways: engines need wide inbound reach to targets, but nothing should be able to connect to the engine except the console and management tools. Permit engine to console traffic only over the vendor's documented ports with TLS.
  • Segment by zone: place an engine per security zone rather than opening one engine's routes to every zone, so a compromised engine does not span the estate.
  • Updates and integrity: apply vendor security updates promptly, subscribe to the vendor's security advisories page, and verify packages and agent updates by signature or checksum before installing.
  • Agent channel: treat agent policy and any remote command capability as software deployment, with change control and alerting, because control of the agent channel is control of every host running it.

Logging and detection

Forward the console's audit log to your SIEM and to immutable storage outside the scanner administrators' control. NIST SP 800-53 AU-9(2) covers storing audit records on a separate system and AC-6(9) covers logging privileged functions.

SignalWhere to lookWhy it matters
Scan account logon outside the scan window or from a non-engine addressDomain controller and host authentication logs, SSH logsStolen scan credential (T1078.002)
Interactive or remote desktop logon by a scan accountHost security logsHuman misuse of a service account
Scan credential edited, or a scan targeting a new address range with credentialsScanner audit logPossible credential capture set-up
New admin, role change, new API key, new engine pairedScanner audit logPersistence in the platform
Bulk export or report sent to a new recipientScanner audit log, mail logsTheft of the findings
Exclusions added for a subnet, host or high-severity checkScanner audit logBlind spot created deliberately (T1685)
Agent policy change or remote command issuedScanner audit log, EDRCode execution through the agent (T1072)

Hardening an existing scanner: a phased approach

  1. Inventory: list every console user, role, engine, credential, integration key and exclusion. Mark which credentials hold domain-wide or cloud-wide rights.
  2. Turn on monitoring first: forward the audit log and deploy the scan-account logon alerts before changing credentials, so you can see what breaks.
  3. Split the big credential: create per-zone accounts with the narrower rights in the credential table and run them alongside the old one on a pilot asset group. Compare authenticated check coverage; the scanner's credential success reports show where rights are missing.
  4. Move to vault retrieval for the pilot group, then expand zone by zone.
  5. Retire the old credential: disable it for a week, watch for failures, then delete it and its stored copy in the scanner.
  6. Roll back safely: if coverage drops, grant the missing right to the narrow account rather than re-enabling the broad one, and keep the previous configuration documented.

For a new deployment, use the Vulnerability scanner rollout playbook.

Decision guidance

DecisionOption A fits whenOption B fits when
Network authenticated scans (A) or endpoint agents (B)Servers and network devices in stable zones; no agent allowedLaptops and remote hosts; you want to avoid sending privileged credentials across the network
Credentials stored in scanner (A) or retrieved from a vault (B)Small estate, few credentials, strong console protectionAny domain-wide or high-value credential; regulated environments
Self-hosted console (A) or service (B)Data must stay on premises; you can patch and monitor the consoleYou want the vendor to run the platform; confirm SSO, MFA, audit log export and tenant isolation

For the agent question in more depth, see Agent Based vs Agentless Vulnerability Scanning. Small organisations should at least remove domain-wide admin from scan credentials and alert on scan-account logons outside windows. Large organisations should add vault retrieval, per-zone engines and credentials, and scoped scan operator roles.

Lifecycle of the platform

  • Buy: use the Secure by Demand questions (SSO at no extra cost, MFA by default, logging in the base product, at least six months of log retention for cloud services, a vulnerability disclosure policy and an SBOM), and ask whether scan credentials can be retrieved from a vault.
  • Run: review users, credentials, engines and exclusions every quarter, and track the metrics in the Vulnerability scanner health check.
  • Back up: back up scan policies, asset groups and exclusions separately from findings, and test a restore once a year.
  • Retire or migrate: rotate every scan credential the old scanner ever held, revoke engine pairing keys, agent enrolment tokens and integration keys, uninstall agents, and get written confirmation that the vendor has deleted tenant data. See the Vulnerability scanner migration playbook.
  • If compromised: rotate every credential the scanner held, from the most privileged first, and follow If your vulnerability scanner is compromised.

Detection and measurement

  1. Number of scan credentials with domain-wide, forest-wide or cloud-wide administrative rights (target: zero).
  2. Percentage of scan credentials retrieved from a vault at scan time.
  3. Scan-account logons outside scan windows or from non-engine addresses per month, and percentage investigated within one working day.
  4. Number of full console administrators (target: five or fewer, our suggestion) and percentage of users signing in through SSO with MFA.
  5. Exclusions without an owner or expiry date (target: zero).
  6. Days since engine and console security updates were applied, against your patch policy.

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0ATT&CK threat addressed
Scanner privileged accessRA-5, RA-5(5), AC-6, AC-6(5)ID.RA-01, PR.AA-05T1078.002 Domain Accounts, T1078.003 Local Accounts
Scan credential managementIA-5, AC-2PR.AA-01T1557.001 Name Resolution Poisoning and SMB Relay
Console administration and auditAC-5, AU-6, AU-9(2), AC-6(9)PR.PS-04T1685 Disable or Modify Tools
Engine placementSC-7, SC-8PR.DS-02T1046 Network Service Discovery
Agent channel and updatesCM-3, CM-5, SR-3PR.PS-01T1072 Software Deployment Tools
Findings protectionSC-28, AC-6PR.DS-01T1213 Data from Information Repositories

In ISO/IEC 27001:2022 Annex A, see 8.8 Management of technical vulnerabilities, 8.2 Privileged access rights and 5.17 Authentication information. In CIS Controls v8.1, the scanner supports Control 7 Continuous Vulnerability Management, and its own accounts fall under Control 5 Account Management and Control 6 Access Control Management. See the CIS Control 7 Continuous Vulnerability Management Guide.

Common failure patterns

  • Domain admin as the scan account: the easiest way to make authenticated scans work, and it turns the scanner and every host it touches into a place to steal domain admin.
  • Scanning unknown hosts with credentials: discovery scans authenticate to anything that answers, including a host an attacker placed to capture the credential.
  • Credential manager open to everyone: every scan operator can edit or test credentials against any target.
  • Engines that accept inbound connections from anywhere: a flat engine with routes into every zone becomes a pivot point.
  • Findings shared by email: full reports go to distribution lists and file shares, and the breach map leaves your control.
  • Permanent exclusions: a fragile host is excluded during a change freeze and never scanned again.

Practitioner checklist

  • Classify the scanner as tier 0 wherever it holds domain-wide or cloud-wide credentials.
  • Enforce SSO with phishing-resistant MFA and keep one tested break-glass account.
  • Separate administrator, credential manager, scan operator, analyst and auditor roles, and scope operators to asset groups.
  • Replace any domain-wide scan account with per-zone least-privilege accounts, denied interactive logon.
  • Retrieve scan credentials from a vault at scan time where supported.
  • Restrict scan accounts to authenticate only from engine addresses, and prefer Kerberos and SMB signing.
  • Do not authenticate to unknown or unmanaged hosts found during discovery.
  • Run engines on dedicated, segmented hosts reachable only by the console.
  • Restrict findings visibility and exports, and encrypt the findings store and backups.
  • Forward the console audit log to immutable storage and alert on scan-account misuse.

Standards and references

Related NHI Mgmt Group resources: Vulnerability Scanning Guide · Vulnerability Management Guide · Vulnerability scanner health check · Securing the SAST, SCA and code scanning tool itself · Securing the SIEM itself

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.