Pcornel
Security · Hardening

Hardening Verification

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

Back to the Topic

Answer

Hardening Verification combines configuration assessment with effective-state inspection, safe allowed and denied behavior tests, logs, workload health, persistence, drift monitoring and recovery evidence to determine whether controls operate as intended.

Remember

  • Compliance scanner pass ≠ runtime enforcement proven.
  • Blocked test ≠ correct control caused the block or legitimate recovery remains possible.
  • Desired baseline ≠ deployed, effective and persistent runtime state.
  • Compliant score ≠ secure workload, correct recovery or acceptable residual risk.

First checks

  • oscap xccdf eval ... --report report.html — verification scan
  • Pen test / config review results — independent check
  • Compliance dashboard — trend

Commands

oscap xccdf eval --profile <profile> <benchmark.xml>
Evaluate an OpenSCAP hardening profile. Focus fields: selected profile, rule pass/fail/error/notapplicable results and …

Verify in this order

hardening → scan/test → evidence

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 → Hardening Verification 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=4851

Confirmation

Confirm action

Continue?