Black Friday sale: an extra 40% off every course until Monday, November 30.New Year sale: an extra 30% off every course until Friday, January 1.Memorial Day sale: an extra 25% off every course until Monday, May 31.SysAdmin Day sale: an extra 25% off every course until Sunday, August 1.Back to School sale: an extra 25% off every course until Sunday, August 22.Labor Day sale: an extra 25% off every course until Monday, September 6.Black Friday sale: an extra 40% off every course until Monday, November 29.New Year sale: an extra 30% off every course until Saturday, January 1.Choose your certification →

Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

5.1.1. Secure Baselines

💡 First Principle: A secure baseline is the documented, approved configuration standard for a specific system role. It defines the expected state — which services run, which ports are open, which permissions are set — and serves as the reference point for detecting configuration drift. Without a baseline, there's no way to know if a system's current configuration is intentional or the result of unauthorized changes.

Establishing baselines starts with industry standards: CIS Benchmarks, DISA STIGs, or vendor hardening guides provide tested configurations for common platforms. Organizations customize these to their requirements and document the result as their standard. A web server baseline differs from a database server baseline — each role has different required services, ports, and permissions. Documenting these differences ensures that hardening one role doesn't break another.

Configuration management uses tools (Ansible, Puppet, Chef, Group Policy) to enforce baselines automatically. When a system drifts from its baseline — whether through unauthorized changes, failed updates, or misconfiguration — the tool detects the drift and can automatically remediate it. Infrastructure as Code (IaC) takes this further by defining entire environments in version-controlled templates, ensuring every deployment starts from the approved baseline. A golden image (a pre-hardened, pre-approved system image) applies the same idea to builds: every new server or workstation starts from the known-good configuration instead of being hardened by hand, and the image is rebuilt whenever the baseline changes.

Baseline validation means regularly scanning systems against the baseline to verify compliance. Vulnerability scanners and configuration auditing tools report deviations that need attention. Compliance scanning tools like OpenSCAP automate this by checking system configurations against SCAP-formatted baselines and generating compliance reports.

The lifecycle matters: baselines must be updated when new vulnerabilities are discovered, when software versions change, or when business requirements evolve. A baseline review should be part of every major change and occur at least quarterly.

Desired state management is the automated form of this idea. The baseline is written as declarative configuration (PowerShell DSC, Ansible playbooks, Puppet manifests, cloud policy), and an agent or controller regularly compares each system's actual state with the declared state, then reports or automatically corrects any difference. The security value is that drift (a disabled host firewall, a re-enabled service, a local administrator someone quietly added) is reverted on the next run instead of persisting until the next audit. The risk is the mirror image: if the declared state is wrong, automation pushes the mistake to every system just as reliably, so changes to the desired-state definition go through change management and testing like any other change.

⚠️ Exam Trap: Baselines aren't set-and-forget. They must be reviewed and updated when new vulnerabilities are discovered, when software is updated, or when business requirements change. A baseline from three years ago may contain configurations that are now considered insecure.

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•26 professional certifications earned