Skip to content

Commit 0a24da9

Browse files
authored
add firmware
1 parent 1ca7930 commit 0a24da9

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

blog/posts/secure-boot.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,35 @@ authors:
88
tags:
99
- Secure Boot
1010
- Measured Boot
11+
- Verified Boot
1112
preview:
1213
cover:
1314
---
1415

1516
# Secure Boot Explained
1617

17-
You may have heard of something called Secure Boot, but what is it and what does it actually do?<!-- more -->
18+
More and more devices are internet-enabled these days, which means the possiblity of malware. A lot of focus goes into securing the software running on our devices, but even if our operating systems are secure, if the lower level firmware that controls our hardware is compromised it's essentially all for naught.<!-- more -->
1819

20+
## What is Firmware?
21+
22+
In order for your hardware to function, it oftentimes needs small programs embedded directly into it, called [firmware](https://en.wikipedia.org/wiki/Firmware).
23+
24+
Firmware provides low-level control for your hardware and allows the operating system to control it. The name comes from the fact that it's in between hardware and software; it's not executing CPU instructions, but it's a running program nonetheless.
25+
26+
Almost chip in every device you own runs firmware, from the WiFi chip to the CPU to the GPU and even the motherboard itself. Most of these devices store their firmware in non-volatile memory that can be flashed, or rewritten with new data. A lot of the time, it can be flashed from the operating system, without needing any special equipment.
27+
28+
This is desirable since older firmware can have vulnerabilities that need to be patched, which is especially important for connected devices that could be remotely exploited. Being able to easily patch firmware vulnerabilities through normal OS updates is essential for security on modern hardware that's so complex and feature-rich.
29+
30+
However, it introduces a problem: if you can flash new firmware, an attacker can do the same.
31+
32+
## Malware Persistence
33+
34+
That makes any device, from your SSD to your graphics card to your sound card, a potential vector for infection. And once the firmware is infected, it will stay that way: remember, it's installed on the hardware itself, so it can survive a full OS wipe and reinstall.
35+
36+
This isn't just theoretical: sophisticated malware has infected the firmware of devices like [hard drives](https://www.dailykos.com/story/2015/02/17/1364910/-Breaking-Kaspersky-Exposes-NSA-s-Worldwide-Backdoor-Hacking-of-Virtually-All-Hard-Drive-Firmware) to hide from detection and persist between reboots and OS reinstalls.
37+
38+
If you think about the sheer number of devices in your computer, most made by different companies, the attack surface is huge.
39+
40+
## UEFI
41+
42+
In order to facilitate

0 commit comments

Comments
 (0)