Skip to content
Lesson 2 of 70 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Scope and authenticated access
  1. 1. Bind Qualys assets to a customer-approved scanFree
  2. 2. Prove what Qualys Unix authentication can collectFree
  3. 3. Review a Qualys scan profile before launchFree account
  4. 4. Reconcile Qualys scan results with current findingsPremium
  5. 5. Turn Qualys priorities into an owned remediation planPremium
  6. 6. Verify a Qualys fix without hiding coverage lossPremium
  7. 7. Hand over a Qualys vulnerability service with evidencePremium

Prove what Qualys Unix authentication can collect

Review scoped Unix credentials and effective privileges, separate an authentication test from a vulnerability assessment, and investigate missing evidence.

28 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: Prove that the intended account authenticated to the intended host and collected the evidence the assessment needs. A successful login and an authentication-only test do not establish complete vulnerability coverage.

Where you are. Lesson 2 of seven. Establish the evidence depth before the assessment profile is approved.

Reference and lab scope. Qualys VMDR and VM/VMDR console documentation, checked November 2026. This is a SaaS reference, not a recommended scanner or operating-system release. Product procedures are documentation-checked, not executed against Qualys or a host. Optional product work requires explicit authorization for isolated customer-owned lab systems. Python examples use fictional records offline; they do not run scans or emulate Qualys.

Separate credential scope from collection capability

Rhea supplies an existing dedicated assessment account for H21 and H22 through the customer's approved secret-handling process. Omar records its nonsecret account and authentication-record identifiers. He does not copy passwords, private keys or vault responses into a ticket, lesson, screenshot or exported service packet. The account can expose package and configuration information even if it cannot deploy a patch.

The Unix authentication setup describes the record location: Scans > Authentication, then New > Operating Systems > Unix for a new record. Use an explicitly approved record scoped to these two hosts. Before editing an existing record, have its owner inspect the full membership. Qualys notes that a Unit Manager can see only permitted IPs while a record edit affects hosts outside that visible subset. A narrow console view is therefore not a safe edit boundary.

The lab uses the customer's already approved SSH2 authentication method and a supported Linux account. It does not enable clear-text fallback, install a dissolvable component or change host SSH policy. If a prerequisite is missing, Rhea resolves it through a separate change. Do not weaken account restrictions merely to turn a failure indicator green.

Match privileges to the actual evidence

Qualys distinguishes Unix vulnerability and compliance privileges. Vulnerability assessment needs access to relevant platform and package information; policy-compliance evaluation has a different privilege requirement. This course performs VM/VMDR assessment, not a compliance audit. A compliance record is not a reason to grant root to this lab workflow.

Enable Unix authentication in the assessment option profile and explicitly review Attempt least privilege for Unix. That setting skips root-delegation information in the Unix record for vulnerability scans. It does not remove privileges already held by the login account and does not prove every desired check can complete. An account that is itself root remains root. Record the effective account and any collection limitations with Rhea.

For this lab, acceptance requires current OS identity and package evidence relevant to the finding under review, collected without a privilege escalation added by the course. If a check cannot collect that evidence, mark the assessment incomplete and determine whether the approved account can safely gain the missing read access. Do not invent a universal sudoers list: requirements vary by supported system and check, and a command list is not a maintained permission specification.

Run an authentication rehearsal only when approved

The Scan tab documentation describes Test Authentication. Prepare a separate lab profile for that purpose and review its entire resulting configuration. The control adjusts authentication and scan settings; the displayed vulnerability-detection choice does not mean the rehearsal runs a complete vulnerability assessment. It uses a restricted set of checks.

Keep the target and named internal scanner identical to MH-VA-01. The customer approves this rehearsal as a separate scan action in the maintenance window. It can still generate traffic and account activity. Do not launch it from this exercise environment. If reviewing supplied results, state that no product test occurred.

After an authorized rehearsal, open the scan's Appendix and the Authentication Report. For VM/VMDR the report is reached through Reports > New > Authentication Report. Inspect the host, authentication type, attempt time and failure reason. Distinguish a failed attempt from one that was never attempted and from a login that lacked required access.

Reconcile the report with this attempt

The report's detailed behavior matters when multiple records or histories exist. A latest host-level attempt may not describe the scan being reviewed. Removed records can remain in history, and some summary fields depend on asset-merging or collection configuration. Use the individual scan evidence and timestamps rather than treating an old aggregate green status as today's proof. Preserve history; do not purge a host to tidy the report.

The official summary figure and Appendix figure show different counts in Qualys' Windows example. The accompanying explanation attributes this to instance-level segregation. These are OEM examples, not this Linux lab's results. Compare the counting units before declaring missing hosts or successful coverage.

Diagram
Authentication is one link in the collection proof
  1. 1

    1 · RECORD AND TARGET

    • Approved account and host membership
    • Unix selected in the actual profile
  2. 2

    2 · ATTEMPT EVIDENCE

    • Matching scan, host and attempt time
    • Passed, failed, not attempted or insufficient access
  3. 3

    3 · ASSESSMENT DEPTH

    • Required inventory and detection inputs collected
    • Missing inputs remain an explicit coverage gap

Diagnose the failure without broadening authority

For a not-attempted result, check whether the host was assessed, the expected login service was observed, the record matched and the profile enabled the technology. For a failed attempt, Rhea checks account state and the selected credential source without sharing the secret. For insufficient access, identify the missing evidence and its required permission. Repeated blind retries can cause lockouts and do not resolve a scope error.

required = {"os_identity", "package_inventory"}
rows = [
    {"host": "H21", "scan": "AUTH-01", "auth": "passed",
     "evidence": {"os_identity"}},
    {"host": "H22", "scan": "AUTH-01", "auth": "not_attempted",
     "evidence": set()},
]
review = {}
for row in rows:
    missing = sorted(required - row["evidence"])
    ready = row["auth"] == "passed" and not missing
    review[row["host"]] = {"ready": ready, "missing": missing}
assert not any(r["ready"] for r in review.values())
assert review["H21"]["missing"] == ["package_inventory"]
print("Neither host has the required assessment evidence")

The fields are deliberately normalized exercise records, not an API schema. H21 needs missing collection evidence investigated; H22 first needs an explanation for no attempt. Neither result is a clean vulnerability assessment.

Do this before moving on

Produce an authentication evidence row for each host with the record identity, scan reference, timestamp, result and required collection evidence. For H21 and H22 above, assign the next diagnostic action to Omar or Rhea and state which claim remains unproved.

Go deeper

Key takeaways

  • Record scope and effective account privilege both matter.
  • An authentication rehearsal is not a full vulnerability assessment.
  • Use current per-scan evidence before trusting aggregate authentication status.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1Does Attempt least privilege remove root from a root login account?

  2. 2Why retain a host with failed authentication in the report?

Sign in to track which lessons you have finished.