Why Updates Matter
How software updates and patches fix vulnerabilities, and why devices that are not updated are the easiest targets for attackers.
1Software has flaws
Operating systems and applications contain millions of lines of code, and some of that code has mistakes. Some mistakes are vulnerabilities that attackers can use to crash a device, read data, or take control. New vulnerabilities are found all the time, by researchers, by the software makers themselves, and by attackers.
2Updates and patches
When a vulnerability is found in an operating system or software, the vendor or organization that maintains it fixes it and sends out an update. A small update that fixes a specific problem is called a patch.
Updating a computer's operating system and applications to the most recent version prevents adversaries from taking advantage of known vulnerabilities. Exploits written for a flaw stop working once the patch is installed.
3Why delay is dangerous
Two well-documented cases show the cost of waiting:
| Case | Patch released | Attack | Gap |
|---|---|---|---|
| WannaCry ransomware | March 14, 2017 (Microsoft) | May 12, 2017: hundreds of thousands of unpatched Windows computers infected | 59 days |
| Equifax data breach | March 7, 2017 (Apache Struts web software) | Attackers entered through the unpatched software starting in mid-May 2017; data of about 147 million people stolen | About two months |
In both cases the fix existed. The victims were the systems that had not installed it.
4Keeping devices updated
- Turn on automatic updates for the operating system and applications wherever possible.
- Update all software, not just the operating system: browsers, PDF readers, office suites, plug-ins.
- Prioritize critical and high severity updates, especially for internet-facing systems.
- Track devices that cannot update (old software no longer supported by its vendor) and replace or isolate them.
Device: LIB-LAPTOP-07
Operating system ........ 3 updates pending (oldest: 74 days)
critical: remote code execution in file sharing service
Web browser ............. up to date
PDF reader .............. 1 update pending (oldest: 120 days)
high: malicious PDF can run code
Office suite ............ up to date
A patch closes a known door. Until it is installed, that door is open to anyone with the published exploit, so update quickly, update everything, and update critical fixes first.
5Worked examples
The 59-day window
Microsoft released a patch on March 14, 2017. WannaCry spread on May 12, 2017. How long was the window, and which computers were hit?
- 1From March 14 to May 12 is 59 days.
- 2Computers that installed the patch in that time were protected from WannaCry's main spreading method.
- 3Computers that had not installed it were infected, including systems at hospitals and companies worldwide.
Reading the update status
Using the update status above, which update should be installed first, and why?
- 1The operating system update is critical: remote code execution in the file sharing service, pending 74 days. An attacker on the network could take over the laptop without anyone clicking anything.
- 2The PDF reader update is high: a malicious PDF can run code, pending 120 days. It requires a user to open a file.
- 3Both should be installed now, critical first.
Up to date except…
A student says, “My operating system updates automatically, so my laptop is fully patched.” What might they be missing?
- 1Apps like browsers, PDF readers, games, and plug-ins have their own updates.
- 2An out-of-date PDF reader or plug-in can be exploited even if the operating system is current.
- 3Turn on automatic updates in each app, or check them regularly.
The old lab computer
A science lab computer runs an operating system its vendor stopped supporting years ago; no more patches are coming. It controls an instrument. What should the school do?
- 1No updates means new vulnerabilities will never be fixed on that system.
- 2If the instrument needs that system, isolate the computer: disconnect it from the internet and the main network, or segment it tightly.
- 3Plan to replace it when possible.
6Common mistakes
Once a patch is released, the flaw is effectively public and exploits follow. Every day of delay is a day of exposure.
Browsers, PDF readers, and other apps need updates too.
Unsupported software keeps collecting unfixed vulnerabilities. Isolate or replace it.
“When a vulnerability is found, the vendor releases a patch to fix it. Installing the update prevents adversaries from using exploits for that known vulnerability. The unpatched laptops were infected because the flaw was public and the fix had not been applied.”
Connect the patch to the specific known vulnerability it fixes and to the attack it prevents.