All lessons Leer en español

Security in depth · Unit 23 · Lesson 4 of 14

Hardening: reduce what a device has to trust

Build a maintainable baseline for devices, services, and administrative access.

10 minready

Helpful before thisDefenses and detection

After this lesson you can

  • Interpret baseline coverage using fresh configuration and functional evidence.
  • Separate a patch result, configuration exception, and missing device report.
  • Propose staged remediation with recovery, exception limits and explicit acceptance criteria.

A new laptop can be fully patched and still expose unnecessary services or grant excessive permissions. Hardening is the work of choosing a safer configuration for the job it actually performs.

Configuration baseline: A defined, tested set of configuration expectations for a system role.

Known role and inventory → A tested security baseline → Measure drift and exceptions1Known role and inventory2A tested securitybaseline3Measure drift andexceptions
Hardening is a maintained state, not a one-time checklist.

Choose a baseline for the role

Inventory the device, owner, software, purpose, and support lifetime. A kiosk, developer workstation, and database server have different needs. Disable unnecessary components, constrain administrative access, protect stored data, and enable useful audit events according to the role.

Use a recognized benchmark as a starting point, then test compatibility. A setting that breaks an essential workflow may create pressure for a broad workaround. Document the intended protection and how it will be verified.

Patching and hardening work together

Patches correct known software defects. Hardening reduces unnecessary exposure and unsafe configuration. Neither replaces the other, and a management console showing compliance does not prove every endpoint received the change.

Endpoint detection adds visibility and response capability; it does not make prevention or recovery unnecessary. Protect the management channel, restrict who can change policy, and investigate devices that stop reporting.

Make exceptions visible and temporary

Sometimes an application cannot immediately support a desired setting. Record the reason, owner, affected devices, compensating controls, and review date. A narrow documented exception is easier to manage than a silent global relaxation.

Roll out changes gradually with representative testing and rollback. Measure configuration drift, unsupported software, and coverage. Retire obsolete devices and revoke their access rather than leaving them as invisible permanent exceptions.

Worked fleet review: twelve library kiosks

A fictional library assigns baseline B3 to twelve kiosks. Ordinary requirements include a standard user session, no unnecessary background service, protected local storage, and a working checkout workflow. The report below is a supplied exercise snapshot, not live device output.

  • H1: Eight kiosks provide fresh applied-setting evidence for every B3 requirement. Their checkout tests pass, including recovery after the planned restart.
  • H2: Two scanner kiosks require a legacy service. Disabling it breaks the essential checkout workflow in the pilot. A named owner has approved a two-device exception through day fourteen, with restricted access and daily review. Their separate patch-installation records show success.
  • H3: Two kiosks were assigned B3 but have not reported current settings. Their last reports predate the rollout. No current functional result is supplied.
  • H4: Expansion requires both verified settings and successful essential-workflow checks, with a tested recovery option. The implementation team may not silently widen the approved exception.
PredictThe console shows twelve devices targeted. Should the report say twelve protected, ten compliant, or eight verified against the ordinary baseline?

Eight are verified against the ordinary requirements. Two have an approved deviation and two have unknown current state. Report all three groups. Counting an exception as ordinary compliance hides what differs; counting absent evidence as failure would also overstate what is known.

Resolve compatibility without losing the baseline

H2 shows a genuine conflict between a desired setting and required work. It does not prove that every other B3 control must be relaxed. Preserve the unaffected protections, record why the service remains necessary, and give the owner an exit plan such as a supported replacement or revised, tested configuration.

The day-fourteen limit governs approval, not automatic technical restoration. If replacement is delayed, the owner must obtain an explicit decision and keep the current deviation visible. A recurring meeting is not evidence that the setting changed.

H3 needs fresh state and function evidence. A device might be offline, unable to apply the policy, or simply missing the reporting window; the packet cannot choose among those explanations. Assignment counts and heartbeat messages are useful operational signals but do not establish each control’s applied state.

Model rollout gate: keep eight verified devices in their known state, manage the two-device exception separately, investigate the two unknowns, and expand only after protection and essential functions both meet the stated criteria. Keep rollback evidence because a recoverable change can still fail its functional objective.

EXPLORE THE CONCEPT

Which baseline decision holds up?

A fictional team is configuring employee laptops.

A tested baseline with staged rollout

This balances protection and usability. Confirm that devices actually receive and retain the settings.

Disable the baseline everywhere for one old app

A local compatibility issue becomes broad exposure. Scope and track the exception instead.

Install monitoring and stop patching

Visibility does not correct known defects. Detection, patching, hardening, and recovery serve different purposes.

A simplified learning model. It connects to no systems and uses no real data.

Turn the idea into a decision

A useful baseline has an owner, a reason for each important control, and evidence that it remains applied.

Terms you met

Configuration baseline

Check yourself

No timer. No penalties. Read the explanation and try again whenever you like.

  1. How many of the twelve kiosks have verified ordinary baseline compliance in H1-H3?

    Show the answer

    Correct answer: Eight; two have an approved deviation and two lack current configuration evidence. Only H1 supplies fresh successful evidence for all ordinary requirements. An exception changes approval status, not the baseline state.

  2. What does the successful patch record for the two H2 kiosks establish?

    Show the answer

    Correct answer: The recorded patch change succeeded; their approved configuration deviation remains a separate issue. Patching and configuration hardening address different conditions. H2 provides distinct evidence for each.

  3. Which rollout decision best respects H2 and H4?

    Show the answer

    Correct answer: Keep the exception limited, investigate the workflow failure, and require both protection and essential-function evidence before expanding the change. The failed scanner workflow is an operational constraint to resolve, not a reason for a global relaxation. H4 gives an explicit acceptance gate.

  4. What should happen when H3’s devices next report?

    Show the answer

    Correct answer: Evaluate fresh applied settings and essential functions before changing their unknown status to verified. A new report is an opportunity to obtain evidence. Enrollment or message receipt alone still does not establish the required result.

Try it

  • WriteWrite a fleet decision for H1-H4: count devices with verified baseline compliance, classify the exception and unknown devices separately, assign an owner to each gap, and define the next rollout gate. Include one reason not to erase the functional test failure from the report.
References