What Is System Hardening? Baselines, Checklist, and Drift

System hardening is the ongoing work of reducing avoidable security exposure by applying and maintaining appropriate configuration controls. Teams use a baseline to define an expected state, assess systems against it, review deviations, and verify corrective changes.

Hardening is broader than one checklist. The operating system, applications, and network each have settings that affect security. The right baseline depends on the system's role and the organization's operational requirements.

Baselines as a reference point

A baseline turns broad security guidance into settings that can be reviewed consistently. DISA STIGs provide security configuration guidance from the Defense Information Systems Agency. Microsoft Security Baselines provide Microsoft's recommended security settings for specified products and versions. Teams should select applicable guidance, define how exceptions are approved, and keep the selected version and rationale documented.

Hardening scopeExamples of review areasVerification evidence
Operating systemAccounts, authentication, update state, local security settings, enabled servicesConfiguration values and assessment results
Application and serviceProduct settings, permissions, service accounts, secure defaults, exposed featuresApplication configuration and service status
NetworkHost firewall rules, allowed paths, listening services, remote access boundariesFirewall rules, service exposure, and connectivity checks
OperationsLogging, backup and recovery, exception review, configuration ownershipChange records, retained logs, recovery checks, and exception expiry

This matrix is a starting point for scoping an assessment. The exact controls should come from the chosen baseline and be evaluated against the system role, platform version, and business needs.

A practical system hardening checklist

  1. Define scope. Record the systems, roles, versions, owners, and environments that the hardening effort covers.
  2. Choose guidance. Select an applicable baseline, such as a relevant DISA STIG or Microsoft Security Baseline, and record its version.
  3. Review access. Check account lifecycle, administrator access, authentication settings, and service identities against the approved requirements.
  4. Review updates and services. Identify missing updates and services or components that are not required for the system's role.
  5. Review application and network exposure. Check application settings, host firewall policy, listening services, and allowed communication paths.
  6. Apply changes in a controlled way. Test settings in a representative environment, record approvals, and stage changes where practical.
  7. Verify and document. Reassess the system, capture evidence, record deviations, and assign follow-up actions to an owner.
  8. Repeat. Recheck after material configuration changes and on a defined cadence so the baseline remains useful as systems evolve.

Hardening is not a one-time build step. Software changes, administrator actions, and operational exceptions can move a system away from its intended state.

Tailor the baseline without losing its meaning

A published baseline is a starting reference, not an instruction to apply every setting unchanged to every machine. First identify the system's role. An internet-facing web server, a developer workstation, and a database host have different services and operational requirements. Select controls that apply to the platform and role, then classify any control that is not applicable, conflicts with a documented requirement, or needs a compensating measure.

Keep the source and version of each baseline with the assessment. If the guidance changes, the team can decide whether to adopt the new version and compare the changed controls. Avoid copying a list of settings into a local spreadsheet without preserving where each requirement came from. A traceable control record should identify the baseline, control identifier, expected state, observed state, applicability decision, evidence, and any approved exception.

Control decisionExample of a useful recordFollow-up
Applicable and passingExpected and observed values match, with evidence time and sourceReassess on the normal cadence
Applicable and failingControl, affected system, expected and observed stateAssign remediation owner and due date
Not applicableReason the system role or version is outside the controlRevisit if the role or version changes
Exception approvedScope, reason, approver, compensating action, review dateReassess before or at expiry
Unable to assessMissing access, telemetry, or validation evidenceRestore visibility and run the check again

These states prevent a missing result from being mistaken for a pass. A system that was not assessed has an evidence gap, even if no failing control was reported.

A controlled hardening workflow

Use a sequence that protects availability while producing evidence:

  1. Establish a known starting state. Inventory the platform version, installed applications, enabled services, access paths, and relevant owners.
  2. Map the baseline. Select the guidance and version, identify applicable controls, and document decisions about controls that do not fit the system role.
  3. Review change impact. Identify dependencies such as authentication, service communication, remote administration, and backup or recovery procedures that a setting could affect.
  4. Test a representative system. Apply a limited group of changes in a non-production or pilot system when available. Check both the security setting and the workloads that depend on the system.
  5. Approve and stage deployment. Record who authorized the change, which systems are in scope, and what evidence permits wider rollout.
  6. Validate after change. Re-evaluate settings, check service health, and retain the result with the change record.
  7. Handle exceptions deliberately. Assign an owner, rationale, compensating control, and review date instead of leaving a permanent undocumented deviation.
  8. Reassess. Repeat after significant software, role, or configuration changes and on a regular schedule.

Worked example: a service host

Suppose an operations team is hardening a server that hosts an internal application. It selects the applicable server guidance and inventories the host before changing anything. Several controls pass. One account-related control fails, and another expects a service to be disabled even though the application depends on it.

The team assigns the account change to the host owner and confirms the required access path before applying it. For the service control, the owner records that the setting conflicts with the documented application role, checks whether a narrower configuration can satisfy the intent, and requests an exception only if no suitable change exists. The team tests both changes on a representative host, verifies that the application remains reachable from its approved clients, and captures the resulting control state. Production hosts are then handled in a staged change window, with an operator available to restore service if the validation fails.

At the next assessment, the account control is marked passing only after the observed setting matches the expected value. The service control remains an approved exception with its scope and review date. The report distinguishes the exception from a pass and shows the owner and follow-up. That distinction gives assessors and operators a more accurate view than a single aggregate score.

Common hardening mistakes

  • Applying a baseline without checking system role. A setting that is suitable for a general workstation can disrupt a service host. Map controls to role and dependencies before deployment.
  • Changing many controls without isolating cause. If a workload breaks after a large batch, it can be difficult to identify which setting caused it. Group related changes and retain a rollback or recovery path.
  • Treating documentation as proof. A policy document says what should be true. Assessment evidence shows what was observed on a particular system and when.
  • Counting unknown as compliant. Missing telemetry, permission failures, and unsupported checks should remain visible as unknown or unassessed until evidence is available.
  • Copying exceptions indefinitely. An exception can outlive the system or the reason it was granted. Give each one an owner and review date, then re-evaluate it.
  • Ignoring applications and network paths. OS settings alone do not cover an application service account, an exposed listener, or an overly broad network rule.
  • Optimizing only for a score. A score can help summarize state, but it should not replace review of critical control failures, affected assets, and evidence quality.
  • Failing to reassess after change. A system can drift after an application upgrade, role change, local administrator action, or recovery operation. Keep assessment tied to lifecycle events as well as calendar cadence.

Measuring hardening and drift

Useful measures describe both posture and the quality of the assessment. Track the percentage of in-scope systems assessed within the expected period, passing controls out of applicable controls, unresolved failures by age and severity, and exceptions approaching review. Also track unassessed controls, missing evidence, and systems whose last observation is stale. These measures expose whether a low failure count reflects strong configuration or incomplete visibility.

Keep the denominator explicit. A compliance percentage may exclude controls marked not applicable, but reports should make the excluded count and rationale available. Segment results by platform, version, role, owner, and environment. A single fleet number can hide a weak subgroup or a baseline that does not fit a system role.

For drift, compare the latest observed state with the approved expected state and record when the difference first appeared. A drift record should identify the control, system, current and expected values, likely change source if known, owner, and disposition. After a correction, collect new evidence rather than closing the item based on the change request alone. Trend repeat deviations to determine whether the underlying policy, deployment method, or ownership model needs attention.

A practical review checklist

Before assessment, confirm the asset inventory, platform and version, baseline source, control applicability rules, and evidence access. During review, distinguish passing, failing, not applicable, excepted, and unassessed results. For changes, identify dependencies, test representative systems, stage deployment, and set rollback criteria. Afterward, verify control state and workload health, retain evidence, assign unresolved deviations, and schedule exception reviews. At the next cycle, compare results with the previous assessment and investigate recurring drift rather than treating every cycle as a fresh list.

Measuring and managing drift

Configuration drift is the difference between an approved baseline and a system's current settings. Measure it by comparing observed state with the selected baseline, then group results into passing controls, deviations, accepted exceptions, and items that could not be assessed.

For each deviation, record the affected system, control, owner, reason, risk decision, and next review date. Reassess after remediation to confirm the intended value is present. Trend the count and age of unresolved deviations, and separate temporary exceptions from changes that have been corrected.

How TridentStack Control handles security hardening

TridentStack Control evaluates compliance against DISA STIGs and Microsoft Security Baselines on supported platforms, with per-control results and evidence. Coverage is platform-specific: DISA STIGs on Windows, macOS, Ubuntu 20.04, 22.04 and 24.04 LTS, and RHEL 8 and 9; Microsoft Security Baselines on Windows only. Read about security hardening with TridentStack Control and the free DISA STIG compliance tool. 200 endpoints free forever, no paywalled features. Paid pricing is $5/endpoint/month, $4/endpoint/month past 500 endpoints, and $3/endpoint/month past 1,000 endpoints.

FAQ

What is system hardening?

System hardening is the process of reducing avoidable security exposure by applying and maintaining appropriate configuration controls on systems and services.

What is a security baseline?

A security baseline is a documented set of configuration expectations for a particular platform, product, or use case. It gives teams a consistent reference for assessment and change.

What are DISA STIGs and Microsoft Security Baselines?

DISA STIGs are security configuration guidance published by the Defense Information Systems Agency. Microsoft Security Baselines are Microsoft's recommended security settings for specified Microsoft products and versions.

What is the difference between OS, application, and network hardening?

OS hardening configures the operating system, application hardening configures software and services, and network hardening controls how systems communicate and which paths are allowed.

What should a server hardening checklist include?

Start with a chosen baseline, account and access settings, update state, enabled services, host firewall rules, logging, recovery needs, exceptions, and a way to verify each setting.

How do you measure configuration drift?

Compare current system settings with the approved baseline on a regular schedule and after relevant changes. Record deviations, owners, exceptions, and whether corrective action restored the intended state.

Should every system use the same hardening baseline?

Not always. Select guidance that fits the operating system, application, role, and operational needs, then document justified exceptions and compensating controls.

Is system hardening the same as patch management?

No. Hardening applies configuration controls to reduce exposure. Patch management installs software updates. They support each other, but each needs its own scope and verification.

For product coverage, see security hardening in TridentStack Control.

Ready to simplify your patch management?

Start with 200 endpoints free forever. No credit card required.