Vulnerability scanning
Scanners compare what they observe — software versions, open ports, configuration, responses — against databases of known issues. They are fast, cheap and broad, which makes them good for routine hygiene.
Their weakness is certainty. A scanner reports what might be vulnerable; it does not prove it. Large scans produce many false positives and say nothing about how weaknesses combine.
