Sub topic 10
Keeping systems current with patches and updates
This chapter assumes you can open Windows Settings and Services, you know what a router and an IP address are, and you have read the earlier chapters on the CIA triad and malware. Patching is the control that closes the holes malware uses to get in.
Why patching matters
A vulnerability is a flaw in software that an attacker can use. A patch is a code change that fixes a flaw. Vendors release patches because researchers and attackers keep finding new flaws. When a patch is published, the flaw becomes public knowledge. Attackers then race to exploit every machine that has not applied the fix.
A zero-day vulnerability is a flaw that attackers exploit before a patch exists. You cannot patch a zero-day, so you rely on other layers: antivirus, firewall, least privilege, and backups. Patching handles the much larger set of known flaws.
Patching supports all three parts of the CIA triad. A kernel flaw can leak data (confidentiality), allow tampering (integrity), or crash a system (availability).
Types of updates
The exam uses these terms, and vendors mix them loosely. Learn the working meaning of each.
| Term | What it is | Typical example |
|---|---|---|
| Security update | Fixes a specific security flaw | Monthly cumulative update |
| Feature update | Adds or changes features, often a new OS version | Windows 11 annual release |
| Driver update | New device driver for hardware | GPU or Wi-Fi adapter driver |
| Firmware update | New code stored on the device itself | BIOS/UEFI, router, SSD |
| Definition update | New malware signatures for antivirus | Defender signature file |
| Service pack | Older term for a bundle of many fixes | Windows 7 Service Pack 1 |
| Hotfix | A quick fix for one specific problem | Out-of-band fix |
Firmware is easy to forget. A router or a BIOS with a known flaw is still vulnerable no matter how current Windows is. Firmware updates carry extra risk: a power loss during a flash can leave the device unusable, so plug in a laptop and follow the vendor's steps exactly.
How Windows Update delivers patches
Windows Update checks Microsoft's servers, downloads applicable updates, and installs them. Microsoft publishes security updates on the second Tuesday of each month, known as Patch Tuesday. Out-of-band updates are released at other times for urgent flaws.
In Windows 10 and 11 you manage updates in Settings, under Windows Update. Useful options include:
- Pause updates delays installation for a limited period.
- Active hours keep automatic restarts out of your working time.
- Update history lists what installed and what failed, and lets you uninstall a recent update.
- Advanced options can include updates for other Microsoft products.
Organizations rarely let each PC download updates on its own. They use a central tool to control timing and bandwidth:
- WSUS (Windows Server Update Services) is a server that downloads updates once and lets administrators approve them for groups of PCs.
- Microsoft Intune and similar MDM products manage updates for laptops and mobile devices anywhere.
- Group Policy sets update behavior on domain-joined computers.
On Linux, package managers such as apt or dnf handle updates. On macOS, updates come through System Settings and the App Store. The exam focuses on Windows, but the principle is the same on every platform.
A safe patch management cycle
Applying every update the minute it appears is risky, because a bad patch can break an application or driver. Never patching is worse. A managed process balances both.
- Inventory every system and application so you know what needs patches.
- Assess each update's severity and whether it applies to you.
- Test in a lab or on a small pilot group of non-critical machines.
- Schedule deployment in a change window, with approval under the change management process.
- Back up or confirm a restore point or image exists before deploying.
- Deploy in stages, starting with the pilot group.
- Verify that systems work and the update installed.
- Document the change and keep a rollback plan.
Checking and installing updates from the command line
You can inspect update state with PowerShell. This command lists the most recent installed hotfixes, which is a quick way to confirm that a specific patch is present.
Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 5 HotFixID, Description, InstalledOnTo see which Windows build a machine runs, which tells you whether a feature update is still supported, use:
winverWindows versions reach end of life, the date after which the vendor stops issuing security patches. A system on an unsupported version gets no fixes for new flaws. The correct response is to upgrade the OS or isolate the machine, not to keep running it as is.
Rolling back and troubleshooting failed updates
Sometimes an update fails to install or causes a problem afterward. Match the symptom to the response.
| Symptom | Likely response |
|---|---|
| Update stuck or failing repeatedly | Run the Windows Update troubleshooter, check free disk space, restart the Windows Update service |
| App or driver broke after an update | Uninstall the update from Update history, or roll back the driver in Device Manager |
| System will not boot after an update | Boot to the recovery environment and use System Restore or uninstall the latest quality update |
| Feature update caused trouble | Use the "Go back" option in Settings, which is available for a limited time after upgrading |
| Corrupt system files suspected | Run `sfc /scannow`, then DISM if needed |
Restarting the Windows Update service from an elevated prompt is a common first repair:
net stop wuauserv
net start wuauservA restore point captures system files and settings, not your personal documents. It is not a substitute for a real backup.
Patching beyond the operating system
Attackers also target applications. Browsers, PDF readers, Java, office suites, and media players all need updates. Many apps update themselves. Others need a manual check or a third-party management tool. An unpatched browser plugin is a common path for drive-by malware.
Drivers matter too. A vulnerable driver runs with high privilege. Only download drivers from the hardware vendor or Windows Update, never from a random site.
Mobile devices and updates
Mobile operating systems follow the same rule. iOS updates come directly from Apple and reach all supported devices quickly. Android updates depend on the device maker and carrier, so older phones can stop receiving patches while still working. A phone without security updates is a risk even if it runs fine. The later chapters on mobile threats cover this in more detail. MDM can require a minimum OS version before a device may reach company email.
Common errors and gotchas
- Disabling updates permanently to avoid restarts. This leaves known flaws open. Use active hours and scheduling instead.
- Patching without a backup. A failed update with no restore point turns a small problem into a long one.
- Forgetting firmware. Routers, switches, and BIOS get fewer reminders than Windows does.
- Ignoring pending restarts. Many updates are not active until the machine restarts.
- Trusting fake update prompts. A browser pop-up claiming that you must install an update is often malware. Get updates only through the built-in updater or the vendor's official site.
- Running unsupported software. End-of-life products get no fixes.
Exercise
A technician must deploy a monthly security update to 200 office PCs. Put these steps in the best order: deploy to all PCs, test on a small pilot group, confirm a backup or restore point exists, verify and document. Also, name one thing to do if the pilot group reports that a business application stopped working.
Show answer
Test on the pilot group, confirm a backup or restore point exists, deploy to all PCs in stages, then verify and document. If the pilot breaks a business application, stop the rollout, uninstall the update on the affected pilot machines, and investigate before rescheduling the deployment.
Exercise
A user's laptop shows a pop-up in the browser saying "Your Flash Player is out of date. Click to update." What is the safest action, and why?
Show answer
Close the pop-up without clicking it and update software only through the built-in updater or the vendor's official site. Fake update prompts are a common way to deliver malware, and Flash is also end of life.
Exercise
What is the difference between a security update and a definition update?
Show answer
A security update fixes a flaw in software such as Windows. A definition update gives antivirus software new malware signatures so that it can recognize recent threats.