Vulnerability Discovery and Analysis

A server exposes only TCP 443, and a network scan of it finds nothing. The tester must check the OS for an outdated local sudo package. Which scan BEST does this?

Show the answer

Correct answerA. Host-based scan of installed packages

AWhy this is right: Checking from inside the host reveals installed package versions that no network service exposes.

BWhy not this: DAST sends requests to the web app and tests its behavior, not the OS packages beneath it.

CWhy not this: A UDP scan only probes ports, and a local sudo flaw has no listening port to find.

DWhy not this: SAST analyzes first-party code, not the packages installed on the server's operating system.

A host-based scan inspects the operating system from inside, so it can list installed packages and match versions to known flaws that no open port exposes. DAST tests only the running web application through its requests and cannot inventory OS packages.