Use it when the Security question has been narrowed to Hardening → Configuration Drift. Capture exact asset, role, platform/product version, owner, source and timestamp, expected security outcome, effective state and the evidence needed to prove treatment or control behavior.
Configuration Drift
Configuration Drift is an unauthorized, unintended or unreviewed divergence between approved desired state and deployed or effective state, including local changes, failed automation, update resets, emergency actions and newly inherited policy.
1. Configuration drift: systems deviate from baseline over time.
2. Detect with config management and scans.
3. Fix automatically where safe.
4. Find the source of manual changes.
5. Alert on security-relevant drift.
baseline → changes over time → drift detected → corrected
Context & applicabilityCommon mistakes · platform/version boundaries
A drift alert shows an observed difference under comparison logic, but it does not show malicious change, effective security impact or that unmonitored state matches intent.
Suspicious evidence: generated values create noise, wrong baseline assigned, local hotfix overwritten, policy precedence hidden, collection stale, emergency change undocumented, auto-remediation loops or source of truth remains wrong.
Operational reference
Fast context before you go deeper.
git diff -- <config-path>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
versioned desired state → deployment → collected actual/effective state → normalized comparison → authorized-change correlation → drift decision → source remediation → persistence verification
Step 2 Known-good, broken and when it is fixed Verify boundary
Verification for Hardening → Configuration Drift must discriminate known-good from broken/suspicious state. With git diff -- <config-path>, known-good is: no unexpected drift exists or every difference is an approved intended change. Broken/suspicious is: unreviewed or unexplained differences exist on security-relevant configuration. Read back the same target after the minimal approved change, then reconcile the authoritative source of truth and then verify the effective runtime configuration independently.
Step 3 Observation-driven troubleshooting tree Narrow the fault
Troubleshoot Hardening → Configuration Drift from one exact failing target, revision/input and timestamp. Capture git diff -- <config-path> before mutation, then branch by the first divergent observation: observed state is stale/wrong target, recollect; desired revision is obsolete, correct baseline; delta is covered by active exception, keep it visible but non-actionable; unauthorized drift remains, trace the owner/change source; text matches but runtime control fails, inspect effective-state owner instead of declaring compliant. Typical failure signatures include manual override, GPO/controller conflict, expired waiver, regenerated config, stale audit snapshot, normalization hiding a security-relevant delta or clean source text while insecure runtime default remains active.
Step 4 Failure signatures, dependencies and operational guardrails Narrow the fault
Failure-signature and guardrail reference for Hardening → Configuration Drift: Manual override, GPO/controller conflict, expired waiver, regenerated config, stale audit snapshot, normalization hiding a security-relevant delta or clean source text while insecure runtime default remains active. Operational guardrail: A Git diff is not a compliance verdict; evidence must connect desired source, effective target state and the security behavior the control is meant to enforce. Dependencies that can mimic the same symptom are collection freshness, configuration precedence, target identity, source-of-truth revision, exception expiry, generated defaults and controls applied outside the text file being compared.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- File diff ≠ effective configuration drift in all systems.
- No detected drift ≠ desired baseline correct or monitoring complete.
- Desired baseline ≠ deployed, effective and persistent runtime state.
- Compliant score ≠ secure workload, correct recovery or acceptable residual risk.
ansible-playbook site.yml --check --diff— config drift- Intune/GPO compliance changes — drift
aide --check— file integrity drift
ReferenceHow it works1 section · depth on demand
How it works
Hardening → Configuration Drift owns approved hardening desired state, fresh observed effective state, normalization of volatile values, exception/waiver state and the change path that owns any material difference. Execution mechanics: Hardening drift detection binds one target to one approved baseline revision, collects current configuration and effective state, strips only known volatile fields, classifies each delta against active exceptions and either reconciles it or records an owner-approved deviation. Keep adjacent dependencies separate: collection freshness, configuration precedence, target identity, source-of-truth revision, exception expiry, generated defaults and controls applied outside the text file being compared. The mapped read surface git diff -- <config-path> exposes line-level difference between managed configuration and the selected repository baseline.
ReferenceImportant terms & boundaries1 section · depth on demand
What this shows and what it does not
A drift alert shows an observed difference under comparison logic, but it does not show malicious change, effective security impact or that unmonitored state matches intent.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Hardening → Configuration Drift. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.cisecurity.org/cis-benchmarks · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Hardening → Configuration Drift proof map
Fast scope, state, evidence and closure boundaries for Hardening → Configuration Drift.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope | Exact platform/version, role, threat model, required functions and approved profile | Generic benchmark selection does not prove suitability |
| Effective state | Desired source, deployment, precedence and loaded/runtime value | File, policy or compliance result alone does not prove enforcement |
| Behavior | Correlated allowed/denied test, events and protected workload result | One blocked action does not prove the intended control caused it |
| Assurance | Persistence, drift monitoring, exception state, recovery and regression | One-time hardening does not prove maintained secure state |