Course contentsShow
← Security
Lesson 1609 of 3,05232. Operating System Security - Endpoint ProtectionFree lesson

Credentialed vs Non-Credentialed Scans

Understand the differences between authenticated and unauthenticated scans, coverage depth, and when to use each approach.

Credentialed vs Non-Credentialed Scans

What You'll Learn

You'll understand the fundamental difference between authenticated and unauthenticated vulnerability scans, and when each approach is most appropriate.

The Core Difference

When performing vulnerability scanning (as introduced in lesson 1608), you can scan targets in two distinct modes: credentialed (authenticated) and non-credentialed (unauthenticated).

Non-credentialed scans operate like an external attacker would—the scanner probes the system from the outside without logging in. It identifies open ports, exposed services, and externally visible vulnerabilities. Think of this as someone walking around your house checking if windows are unlocked.

Credentialed scans provide the scanner with legitimate login credentials (username/password, SSH keys, API tokens). The scanner logs into the system and examines it from the inside—checking installed software versions, missing patches, configuration weaknesses, and registry settings. This is like giving someone your house key to inspect every room, closet, and drawer.

Coverage Depth

Non-credentialed scans reveal:

  • Network-accessible vulnerabilities
  • Service banner information
  • Basic configuration issues
  • What attackers see externally

Credentialed scans reveal everything above plus:

  • Missing security patches (critical for patch management)
  • Software inventory and versions
  • Local configuration errors
  • Compliance violations
  • User and permission issues

When to Use Each Approach

Use non-credentialed scans to:

  • Simulate external attacker perspective
  • Scan third-party or untrusted systems
  • Perform initial reconnaissance

Use credentialed scans to:

  • Support patch compliance monitoring (lesson 1607)
  • Conduct thorough internal assessments
  • Prioritize vulnerabilities accurately
  • Meet regulatory requirements

Key Takeaway: Credentialed scans provide significantly deeper visibility by authenticating to target systems, revealing internal vulnerabilities that non-credentialed scans miss—making them essential for comprehensive vulnerability assessment and patch management programs.