Linux baseline verification
A baseline is a verifiable agreement
A hardening baseline records what a particular system should look like: supported OS and packages, expected service identities, approved listening endpoints, access policy, logging, backup and recovery. Each requirement needs an owner and evidence, not merely a checkbox. A database server and a public catalog server may legitimately have different rules. Record the platform version, scope and approved exceptions.
Compare expected and observed state
Fictional baseline: catalog runs as catalogsvc, only approved HTTPS is public, security policy enforces, updates are within the approved window, and a restore drill is current. Report: service account matches; an unexpected management listener appears; policy is enforcing; update status unknown; backup job succeeded but restore evidence is missing. Mark the listener as a discrepancy and the last two controls unknown. A listening socket is not proof of Internet reachability; compare host and network firewall policy separately.
Evidence before and after changes
Use approved read-only inventories and sanitized log summaries to compare accounts, packages, listeners and audit records. A timestamped report should identify the data source and the expected condition. Test permitted service operations and denied unrelated operations after a change. Verify log delivery, retention and access controls without exposing secrets. A configuration value or successful backup job does not demonstrate effective policy or recoverability; a documented restore test provides stronger evidence.
Prepare rollback and recovery
Before a change, identify the configuration to restore, approved recovery path, maintenance owner and measurable stop condition. If the catalog cannot serve an approved request after a policy update, pause rollout, investigate, and use the reviewed rollback plan if necessary. A rollback must not casually remove protections or reintroduce a known vulnerability; if safe recovery is unavailable, escalate. Keep alternate administrative access verified before network or SSH changes.
Practice: report uncertainty
Classify each observation as match, discrepancy or unknown. Propose one safe verification action and one responsible owner for every discrepancy or unknown. Include a positive service check, a denied-access check and a recovery check with expected outcomes. Do not claim compliance or security from this exercise; the offline record omits the real system and all live enforcement.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Linux baseline verification — knowledge check
Reason about synthetic Linux security evidence.
A report shows no update evidence. How should the requirement be classified?
A backup job succeeded but no restore test exists. What remains unverified?
An unexpected listener appears. What should you determine next?
What belongs in a post-change check?
An approved operation fails after a hardening change. What is appropriate?