🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Cybersecurity › Security Operations: Monitoring, Defense, and Controls › Lesson 8
TEC-CYBE44-03 · Lesson 8 · 14 clock hours · lab

Endpoint Hardening and Patch Management

Objective. Students will apply a CIS Benchmark-based hardening checklist to a lab workstation, disable unnecessary services, apply available patches, and document the change record.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

What Is Endpoint Hardening?

Endpoint hardening is the process of reducing the attack surface of a computer system — a workstation, server, or virtual machine — by removing unnecessary features, tightening configuration settings, and ensuring all software is up to date. Every default operating system installation ships with services, accounts, and settings chosen for convenience, not security. Hardening reverses those trade-offs.

The Center for Internet Security (CIS) publishes free, vendor-reviewed configuration guides called CIS Benchmarks. Each benchmark is a numbered checklist of specific settings for a given OS version. Items are grouped into two profile levels: Level 1 covers practical, low-disruption controls suitable for almost every environment; Level 2 adds deeper restrictions for high-security environments. In this lab you will work from Level 1.

Why Patch Management Matters

A patch is an update that fixes a security vulnerability, a software bug, or both. Attackers routinely exploit known vulnerabilities for which patches already exist. The time between a patch's release and its deployment in an organization is a window of exposure. A disciplined patch management process closes that window by inventorying software versions, testing patches in a non-production environment, and deploying them on a defined schedule.

Key patch management concepts:

Core Hardening Controls

Password policy. Enforce minimum length, complexity, and maximum age. On Windows, Local Security Policy (or Group Policy) controls these. On Linux, the PAM (Pluggable Authentication Modules) stack and `/etc/login.defs` govern them. CIS Benchmarks specify exact threshold values for each OS.

Account lockout. Lock an account after a defined number of failed login attempts to prevent brute-force attacks. CIS recommends a lockout threshold and a lockout duration that balances security with help-desk burden.

Disabling unnecessary services. Every running service is a potential entry point. Review each service against the question: does this system need this service to do its job? If not, disable or remove it. Common candidates for disabling on workstations include legacy protocols (Telnet, FTP), print spoolers on non-printing machines, and remote-desktop services when not required.

Audit logging. Configure the OS to log logon events, privilege use, object access, and policy changes. Logs are only useful if they are complete; CIS Benchmarks specify which event categories to enable. On Windows, audit settings live in Local Security Policy → Advanced Audit Policy Configuration.

File system permissions. Ensure sensitive directories and files are not world-readable or world-writable. On Linux, check permissions on `/etc/shadow` and `/etc/passwd`. On Windows, verify that default share permissions are not overly permissive.

Vulnerability Scanning

A vulnerability scanner probes a system and reports known weaknesses — missing patches, open ports, weak cipher suites, and misconfigurations. In this lab you will run a scanner (such as OpenVAS/Greenbone Community Edition or an equivalent local script) against your VM before hardening to establish a baseline, and again after hardening to measure improvement. Comparing the two reports shows which findings your changes resolved and which remain.

Remember: a scanner reports what it can detect from the outside or with credentials. It does not find every possible weakness. Use it as one layer of verification, not the only one.

Change Management and Documentation

In professional environments, every configuration change must be authorized, documented, and verified. A change record captures:

1. Change description — what was changed (e.g., "Set minimum password length to 14 characters").

2. Reason — the CIS Benchmark item number and the security rationale.

3. Date and time — when the change was applied.

4. Verification method — how you confirmed the setting took effect (screenshot, command output, policy report).

Documentation protects you professionally and helps colleagues understand, repeat, or roll back changes. Take a VM snapshot before starting; this is your safe rollback point and also your "before" state for screenshots.

Safety and Lab Discipline

All hardening work in this lab takes place inside a virtual machine with a snapshot already taken. Never apply hardening steps directly to a production system or your host machine without authorization and a tested rollback plan. Treat your VM snapshot as the equivalent of a lockout/tagout procedure in a physical trade — it prevents accidental damage to a live system and gives you a guaranteed recovery path. Store screenshots and change records as you work; do not reconstruct them from memory at the end.

Key terms9

CIS BenchmarkA free, community-reviewed configuration guide published by the Center for Internet Security that provides numbered, actionable security settings for specific operating systems and applications.
Attack surfaceThe total set of points on a system where an unauthorized user could attempt to enter, extract data, or cause harm; hardening reduces the attack surface.
Patch managementThe organized process of identifying, testing, approving, and deploying software updates that fix security vulnerabilities or bugs.
CVE (Common Vulnerabilities and Exposures)A publicly maintained catalog that assigns a unique identifier to each known software vulnerability, enabling consistent reference across tools and organizations.
Account lockoutA security control that temporarily or permanently disables an account after a specified number of consecutive failed login attempts, limiting brute-force attacks.
Vulnerability scannerSoftware that probes a system and compares its configuration and software versions against a database of known weaknesses, producing a report of findings.
Change recordA formal document that describes a configuration change, the reason for it, when it was made, and how it was verified; required by change management processes.
Audit loggingThe OS capability to record security-relevant events — such as logons, privilege use, and policy changes — in a tamper-evident log for later review.
VM snapshotA saved state of a virtual machine at a specific point in time that allows the machine to be restored to that exact state if something goes wrong.
In class: Download and apply selected items from the CIS Benchmark for the lab OS (Windows or Linux as available), configuring settings such as password policy, account lockout, service disabling, and audit logging, capturing before-and-after screenshots. · Run a free vulnerability scanner (e.g., OpenVAS or a local script) against the unhardened then hardened VM and compare the output, noting which findings were resolved. · Complete a formal change record documenting each configuration change using a provided template that includes change description, reason, date, and verification method.
Materials: Windows or Linux VM (snapshot taken before hardening), CIS Benchmark PDF (publicly available from CIS), OpenVAS or equivalent scanner, change record template, screenshot tool.
Check: At least 80% of assigned CIS Benchmark items are correctly applied and verified; scanner comparison shows measurable reduction in findings; change record is complete and professionally formatted; score 75% or higher on lab rubric.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

General Security Concepts
1. A technician is hardening a Windows workstation using a CIS Benchmark. The benchmark specifies a minimum password length of 14 characters. Where in Windows would the technician configure this setting?
Security Operations
2. Which of the following BEST describes the purpose of taking a VM snapshot before beginning endpoint hardening?
Vulnerability Management
3. After running a vulnerability scanner against a hardened VM, a student finds that several findings present in the first scan no longer appear. What is the MOST accurate conclusion?
General Security Concepts
4. A CIS Benchmark item instructs a technician to disable the Telnet service on a workstation. What is the PRIMARY security reason for this action?
Security Operations
5. Which entry in a change record BEST serves as the verification method for enabling audit logging of logon events on a Windows workstation?
Vulnerability Management
6. An organization's vulnerability scanner identifies a finding linked to CVE-2024-XXXX on a workstation. The vendor released a patch three weeks ago but it has not been deployed. This situation is an example of what failure?
General Security Concepts
7. A student is reviewing CIS Benchmark Level 1 versus Level 2 profiles before choosing which to apply. Which statement BEST describes the difference?
Security Operations
8. During a hardening lab, a student disables several unnecessary services, applies patches, sets an account lockout threshold, and enables audit logging. After scanning the hardened VM, two findings remain. What is the MOST appropriate next action?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.