What Is a Credentialed Vulnerability Scan?
A credentialed vulnerability scan logs in to a server and reads what is installed, so it finds missing updates an outside scan cannot see. How it works.
A credentialed vulnerability scan is a scan that logs in to the server with an account you provide and reads what is actually installed, then compares those exact versions with the vendors' security advisories. An uncredentialed scan stays outside and only sees what the server shows on the network. Logging in is what lets a scanner find the missing updates that never answer on a port.
What is a credentialed vulnerability scan?
Every vulnerability scan answers one question: which known vulnerabilities affect this server? The difference is where the scanner stands when it asks.
A credentialed scan, also called an authenticated scan, uses a login: SSH on Linux, WinRM on Windows. With that access it reads the package database, the installed applications and the updates already applied, the same facts an administrator would check by hand.
Most vulnerabilities on a server live in software that never listens on the network: libraries, kernels, interpreters, command line tools and packages pulled in as dependencies. An outside scan cannot see them. A scan that logs in can.
What a credentialed scan reads
Once logged in, the scanner collects:
- the operating system, its release and, on Windows, its build number;
- every installed package with its exact version;
- installed applications and the updates already applied;
- the running kernel, which can differ from the newest kernel installed.
It then compares those versions with the advisories the vendor publishes for that release. A package is vulnerable when its installed version is older than the version the vendor says fixes the problem. Because the comparison uses the vendor's own data and the real version string, the result is a list of missing updates, not a guess based on a service banner.
Credentialed vs uncredentialed scans
| Credentialed | Uncredentialed | |
|---|---|---|
| Point of view | An administrator logged in to the server | Someone on the network |
| Sees | Installed packages, applications, updates, running kernel | Open ports and what services announce |
| Finds | Missing updates in all installed software | Exposed services and versions they report |
| Version source | The package database on the server | Banners, which can hide or misreport the version |
| Needs | An account on each server | Network reach only |
The two answer different questions. An uncredentialed scan shows what an outsider can reach. A credentialed scan shows what is unpatched. For patching, the second one is the list you work from.
Checking one server by hand
On a single server you can see the pending updates yourself. These commands list updates that are available but not installed.
Debian and Ubuntu (apt manual):
sudo apt update
apt list --upgradableRed Hat Enterprise Linux, Rocky Linux and AlmaLinux, security updates only (dnf manual):
sudo dnf updateinfo list --securitySUSE Linux Enterprise and openSUSE, security patches only:
sudo zypper list-patches --category securityAlpine Linux:
apk version -l '<'Windows, from PowerShell, with the Windows Update Agent (Microsoft documentation):
$session = New-Object -ComObject Microsoft.Update.Session
$session.CreateUpdateSearcher().Search("IsInstalled=0 and Type='Software'").Updates | Select-Object TitleThese commands tell you which updates are pending. They do not tell you which CVEs each update fixes, how the vendor rates them, or which of your servers share the same gap. That is the part a credentialed vulnerability scanner does for many servers at once. If the severities confuse you, CVSS or the vendor's rating explains which one to patch by.
What to watch for
- The account. Use a dedicated account for scanning, with only the rights needed to read package and update information. Keep its password or key out of scripts and rotate it like any other credential.
- Coverage. A credentialed scan only covers servers it could log in to. Count how many servers were scanned with a working login, not only how many were reached.
- The running kernel. A new kernel is often installed but not yet running until a reboot. A good scan reports the kernel that is actually running.
- Release support. A scanner can only judge packages for releases it has vendor data for. Check that your releases are on the supported systems list before you trust an empty result.
- Different counts. Two scanners can report different CVE counts for the same server. The usual reasons are different vendor data, different release support and counting per CVE or per update.
How often to run a credentialed scan
Run it after every patch cycle, to confirm the updates really landed, and whenever a vendor publishes an urgent fix for software you run. Between those, a fixed rhythm that matches how often you patch keeps the list current: a scan that is older than your last patch window describes servers that no longer exist.
Doing it across many servers
Openness is an open source credentialed vulnerability scanner for Linux and Windows servers. It logs in over SSH or WinRM, collects what is installed and running into one evidence file, and compares it with the advisories each vendor publishes. Nothing is installed on the servers you scan. The free plan covers 20 servers in 90 days, and Run your first scan walks through adding a server login.
What to do now
- Pick one server and run the command for its distribution above.
- Create a dedicated scanning account on it with read access to package and update information.
- Download Openness, run a credentialed scan of that server, and compare its list of missing updates with what the command showed.
Frequently asked questions
What is the primary purpose of a credentialed vulnerability scan?
To find missing updates and vulnerable software from inside the server. By logging in, the scanner reads exact installed versions and compares them with vendor advisories, which an outside scan cannot do.
What is the difference between a credentialed and an uncredentialed scan?
A credentialed scan logs in and reads installed software. An uncredentialed scan stays on the network and sees only open ports and what services announce. The first shows what is unpatched; the second shows what is exposed.
Does a credentialed scan change anything on the server?
It should not. A credentialed scan reads package and update information; it does not install updates. Use an account limited to reading that information, and check what the scanner leaves behind: Openness installs nothing on the servers it scans.
What account does a credentialed scan need?
An account that can log in remotely (SSH on Linux, WinRM on Windows) and read the package database and update history. A dedicated account for scanning is easier to audit and to revoke than a personal one.