Endpoint Security Concepts · Topic 4 of 6

Software and Hardware Updates and Patching

Learn why Windows Update, application updates, drivers and firmware patches matter, and how a safe patching process of test, deploy and verify works.

  • 4 min
In a nutshell
  • A patch fixes a specific flaw, often a security flaw.
  • Firmware, drivers, the operating system and applications all need updates.
  • Windows Update delivers Windows updates, and a package manager does this on Linux.

What it is

Updates replace old code with fixed code, so that known weaknesses can no longer be used against you.

A patch is a small update that fixes a specific problem, often a security flaw. When a flaw is made public, attackers quickly write exploits for it, so devices that are not updated become easy targets.

This page covers four kinds of update and the process that keeps patching safe and regular.

Vendorfinds a flawreleases a patchIT teamtests the patchdeploys toDevicesupdatedchecked byReportverified or rolled back

How it works

Every layer of a device needs updates, from the firmware up to the applications.

The layers that need updates

LayerWhat it isExample
FirmwareLow level software stored on hardwareRouter, BIOS or UEFI, camera, printer
Device driversSoftware that lets the operating system use hardwareNetwork card or graphics driver
Operating systemThe main system softwareWindows, macOS, Linux
ApplicationsPrograms the user runsWeb browser, office suite, PDF reader

Firmware is easy to forget, because it has no obvious update button. Network devices, printers and IoT devices often run old firmware for years, and attackers know it.

Drivers run with high privileges. A flawed driver can give an attacker deep access, so drivers should come from the hardware maker or the operating system vendor.

Windows Update and other tools

Windows Update is the built in service that downloads and installs updates for Windows and many Microsoft products. Microsoft releases its regular security updates on the second Tuesday of each month. Larger organisations control this with a central management tool, so that updates are tested first.

On Linux, a package manager handles updates for the system and its software.

$ sudo apt update
$ sudo apt upgrade

This example is for Debian and Ubuntu based systems. apt update refreshes the list of available packages, and apt upgrade installs the newer versions. Other Linux families use different package managers.

Application updates are often forgotten, even though web browsers, document readers and plug ins are common targets. Many applications can update themselves, and a managed tool can also push them.

The patching process

A safe process has clear steps:

  1. Identify which systems and software are in use, using the inventory.
  2. Assess new patches and rank them by risk, with serious flaws first.
  3. Test patches on a small group of non critical systems.
  4. Deploy to the rest, ideally in stages and in a maintenance window.
  5. Verify that the patch installed and that systems still work.
  6. Roll back if the patch causes problems, and record what happened.

Patching too slowly leaves a window for attack. Patching without testing can break important systems. A good balance is a regular schedule, with an emergency route for serious flaws that are already being attacked.

A zero day is a flaw that attackers use before a patch exists. When no patch is ready, other controls such as network segmentation, firewalls and monitoring help to reduce the risk until it is fixed.

Why it is not always simple

Some systems cannot be updated easily. Old equipment may no longer get updates, and a few special devices must not be restarted.

For these, use compensating controls, such as placing them in a separate network segment with strict rules. The best long term answer is to replace unsupported equipment.

What to remember for the exam

Seven facts cover most questions on this topic.

  • A patch fixes a specific flaw, often a security flaw.
  • Firmware, drivers, the operating system and applications all need updates.
  • Windows Update delivers Windows updates, and a package manager does this on Linux.
  • Test patches before wide deployment, then verify them afterwards.
  • Have a rollback plan in case a patch causes problems.
  • A zero day has no patch yet, so other controls reduce the risk.
  • Unsupported systems need compensating controls or replacement.
Exam tip

Patch order follows risk. Fix flaws that are serious and already being attacked first.

Common mistakes

These four errors are common.

Forgetting firmware. Routers, printers and cameras are often left with old firmware.

Skipping testing. An untested patch can break a business system.

Patching only the operating system. Browsers and other applications also contain flaws.

Using drivers from unknown websites. A bad driver can give an attacker high level access.

Watch out

Do not postpone security updates for months. Attackers often use a flaw within days of it becoming public.

Check yourself

Work through these three questions.

  • Why is firmware often a weak point?

    It has no obvious update button, so devices such as routers and printers often keep old firmware for years.

  • Why should patches be tested before wide deployment?

    A patch can cause problems, so testing on a small group avoids breaking important systems.

  • What is a zero day?

    It is a flaw that attackers use before a patch exists, so other controls must reduce the risk until it is fixed.

Topic 4 of 6 in Endpoint Security Concepts

Test yourself on Endpoint Security Concepts

The full Cisco CCST 100-160 Cybersecurity question bank has 864 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Cisco. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.