Vulnerability Scanning
Summary
Vulnerability scanning automatically checks systems and applications for known weaknesses such as missing patches, misconfigurations and vulnerable software versions. It is the main discovery step of the vulnerability management lifecycle, run regularly and after changes.
In plain words
Vulnerability management means identifying, classifying, fixing and mitigating weaknesses. Scanners such as Nessus and OpenVAS check hosts for missing patches and configuration problems. A non-credentialed scan sees what an outsider would see. A credentialed scan logs in, so it finds much more, such as misconfigurations and missing patches, which also shows what an insider could reach. Application scanners use static analysis (reviewing code) and dynamic analysis (testing the running app). Package monitoring (SCA tools) tracks third-party components.
Detailed explanation
- Vulnerability management: The continuous cycle of identifying, analyzing, prioritizing, remediating and verifying vulnerabilities.
- Vulnerability scanner: A tool that compares systems against a database of known flaws and insecure settings, such as Nessus, Qualys, OpenVAS or Rapid7.
- Network vulnerability scanner: Scans hosts across the network for open ports, services, versions and known flaws.
- Non-credentialed scan: Scans without signing in, showing what an outsider could see; less detailed and more false positives.
- Credentialed scan: Signs in with an account to inspect installed software, patches and settings; more accurate and complete.
- Agent-based scanning: An agent on each host reports vulnerabilities, useful for laptops that are often off the network.
-
Application scanner: Tests applications for flaws.
- Static application security testing (SAST): Analyzes source code without running it.
- Dynamic application security testing (DAST): Tests a running application from the outside.
- Package monitoring: Tracking third-party libraries and packages for newly disclosed vulnerabilities.
Important terms
taken from the text above- Vulnerability management
- The continuous cycle of identifying, analyzing, prioritizing, remediating and verifying vulnerabilities.
- Vulnerability scanner
- A tool that compares systems against a database of known flaws and insecure settings, such as Nessus, Qualys, OpenVAS or Rapid7.
- Network vulnerability scanner
- Scans hosts across the network for open ports, services, versions and known flaws.
- Non-credentialed scan
- Scans without signing in, showing what an outsider could see; less detailed and more false positives.
- Credentialed scan
- Signs in with an account to inspect installed software, patches and settings; more accurate and complete.
- Agent-based scanning
- An agent on each host reports vulnerabilities, useful for laptops that are often off the network.
- Application scanner
- Tests applications for flaws.
- Static application security testing (SAST)
- Analyzes source code without running it.
- Dynamic application security testing (DAST)
- Tests a running application from the outside.
- Package monitoring
- Tracking third-party libraries and packages for newly disclosed vulnerabilities.
Examples & real-world scenarios
- A weekly credentialed scan of all servers.
- An external non-credentialed scan of the public IP range.
- An SCA tool flagging an outdated library in a build.
Scenario
An external scan of a server shows only two minor findings, but a credentialed scan reveals 40 missing patches. Credentialed scans give the more accurate picture of internal risk.
Common mistakes
- Relying only on non-credentialed scans and thinking systems are clean.
- Scanning systems without authorization or outside the agreed scope.
Practical skills
- Explain when to use credentialed vs non-credentialed scans.
- Read a scanner report and pick the top priorities.
What I should remember
- Credentialed scan: Most accurate; sees inside the host.
- Non-credentialed scan: Shows the outsider's view.
- SAST: Examines code without running it.
- DAST: Tests the running application.
- Package monitoring: Watches dependencies for new vulnerabilities.