Pcornel
Security · Hardening

System Hardening

Cheat sheet · https://pcornel.dk/topic.php?topic=4841

Back to the Topic

Answer

System Hardening applies coordinated security controls across firmware and boot, operating system, identities, services, software, storage, network exposure, logging, updates, management and recovery according to the system's role and threat model.

Remember

  • System hardening ≠ operating-system settings alone.
  • One hardened layer ≠ end-to-end system trust.
  • Desired baseline ≠ deployed, effective and persistent runtime state.
  • Compliant score ≠ secure workload, correct recovery or acceptable residual risk.

First checks

  • oscap xccdf eval --profile cis ... — Linux scan
  • CIS-CAT/Intune compliance — Windows scan
  • Hardening checklist — applied items

Verify in this order

default install → baseline → hardened system

Where it usually breaks

First mismatch in asset inventory → applicable baseline/finding → risk/exception decision → remediation → verification → compliance/reporting; preserve identity/policy/pre-state before mutation.

Hardening → System Hardening proof map

BoundaryEstablishDoes not establish
ScopeExact platform/version, role, threat model, required functions and approved profileGeneric benchmark selection does not prove suitability
Effective stateDesired source, deployment, precedence and loaded/runtime valueFile, policy or compliance result alone does not prove enforcement
BehaviorCorrelated allowed/denied test, events and protected workload resultOne blocked action does not prove the intended control caused it
AssurancePersistence, drift monitoring, exception state, recovery and regressionOne-time hardening does not prove maintained secure state

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4841

Confirmation

Confirm action

Continue?