Every Pixel MattersBook 3
From silicon to screen

From Silicon to Screen

Who Controls Your Systems, and What Trust Costs
Every system your people trust can be changed by more hands than any team can name: chip makers, firmware signers, kernel and driver vendors, identity providers, management consoles, package maintainers and AI agents. This book walks the stack from silicon to screen on Windows, macOS, iOS, Linux and Android, shows who controls each layer, how fast each can be fixed and how each recovers, and gives a CTO the Trust Ledger: a plain way to decide what to own, rent, pin or isolate, judged by security, cost, visibility and business value.
Juan Cardena
Enterprise AI & Agentic Systems Architect · blog.jcardena.com

Contents

Before You Start
  1. Reader's Brief: Who Controls Your Systems
Prologue
  1. One Power Button, One Approval
Part I · The Map
  1. 01Who Controls It: Authorities, Clocks and the Trust Ledger
  2. 02Five Platforms, Five Trust Models
Part II · Below the OS
  1. 03Silicon and the Computers Inside the Computer
  2. 04Firmware and Boot: Keys with End Dates
  3. 05Privileged Code: Kernels, Hypervisors, Drivers and the Morning of 19 July 2024
Part III · The Control Planes
  1. 06Identity and Keys: Who Can Sign, Who Can Log In
  2. 07The Management Plane: Everyone Who Can Push
  3. 08The Software Supply Chain: Signed Is Not Safe
  4. 09When Trust Must Be Withdrawn: Stop, Revoke, Roll Back, Recover
Part IV · The Chain and the Tail
  1. 10Zero-Click: From the Screen to the Silicon
  2. 11The Long Tail: End of Support, Edge Appliances and Security Debt
Part V · Money, Record and Decisions
  1. 12Who Pays for Security: The Market
  2. 13The Record: Spyware, Sabotage and the Outage
  3. 14The Cost of Trust: Control, Concentration and a Day Down
  4. 15Own, Rent, Pin, Isolate: The Decision and the Contract
Part VI · Ahead
  1. 16AI on Both Sides of the Stack
  2. 17The Next Trust Migration: Memory Safety, Attestation and Post-Quantum Keys
Closing
  1. Epilogue: The Last Authority Is You
Appendices
  1. AGlossary
  2. BThe Trust Ledger, Blank
  3. CThe Five-OS Trust Reference Table
  4. DMeasuring the Patch and Recovery Clocks
  5. FCase File Index
  6. GThe Visibility Map
  7. HAnnotated Contract Clauses
  8. EReading List and Sources

Before You Start

Reader's Brief: Who Controls Your Systems

Who can change each layer of your systems? How fast does a fix reach you? What does it cost when it fails? This book asks those three questions about every layer between the chip and the screen, on Windows, macOS, iOS, Linux and Android. This brief tells you who the book is for, introduces the three companies that come back in every chapter, shows the one map the book uses, and gives you a reading path for your role. It takes ten minutes.

Who this book is for

It is written for the CTO, VP Engineering or chief architect at a company of 50 to 1,000 engineers, and, in this book, equally for the CISO. Companies of that size rent almost every layer they run: the processor and its microcode, the firmware, the operating system, the security sensor in the kernel, the identity provider, the management console. They are large enough that one bad change in one of those layers reaches thousands of devices before anyone at the company has approved it.

You do not need to write kernel code. Technical terms are explained where they first appear in the text. You do need to answer for four things about each layer: its security, its cost, how much of it you can actually see, and the business value it protects. Book 1 of this series, From Bit to Pixel, walked the whole stack and asked what to own and what to rent. Book 2, From Code to Glass, stayed on the layer that draws the screen. This book goes back down the stack with one new question per layer: who controls it. You can read it without the other two.

Two readers will get less from it. A team that writes firmware or kernels already knows the mechanics, though the chapters on recovery, money and contracts may still be new. A startup with one cloud app and no device fleet should read the prologue, Chapter One and Chapter Fifteen, and come back when it has devices, regulators or customers' desktops to answer for.

The idea in one paragraph

Security is usually sold as a set of controls. This book treats it as a set of authorities: the parties that can write, build, sign, publish, push or configure the code in each layer of your systems, plus anyone who can change it by exploiting it. For each layer it records four facts. Who can change it. How fast a fix reaches 90% of your devices, not the vendor's. Who can see it go wrong. How fast you can stop the change, revoke what must be revoked and recover. The record is a one-page worksheet called the Trust Ledger, and Chapter One shows you how to fill it in. Every decision in the book is one of two choices, Own or Rent, with two modifiers: Pin a version until a stated date, or Isolate the layer from something named.

The master stack

Figure B.1 is the master stack, the one map the book uses; later figures, such as Figure 1.3, reuse its rows. It has eleven rows, from silicon at the bottom to AI agents at the top, and each row has a two-letter code that the rest of the book uses. Each chapter opens with a thin strip of the same rows and raises the ones it covers. A twelfth row, EX, holds what sits outside the device but on the recovery path, such as VPN appliances and the cloud host; it appears only where a chapter needs it.

Figure B.1
The master stack: eleven rows from silicon to agents, and where each company's riskiest authority sits
The eleven Trust Ledger rows from SI silicon at the bottom to AG agents at the top, with three rows marked redStack of the Trust Ledger rows SI, FW, HV, KN, DR, SP, LR, FR, ID, MU and AG. Each row carries the authorities that can change it. Three rows are marked: FW for Corvane Hotels (long-life kiosks and the 2026 Secure Boot certificate change), ID for Halbrook Bank (help-desk resets and sign-in), MU for Larkfield Software (its own signing key and update channel reaching about 400,000 desktops).AGAgentsAI agents acting with a user's or a service's privileges (Ch 16)MUManagement and update channelsLARKFIELD: its own update channel reaches about 400,000 desktops (Ch 7, 8)IDIdentity and keysHALBROOK: a help-desk reset can hand over a teller's sign-in (Ch 6)FRThe frame (Book 2)The frame: Book 2's hops, collapsed to one rowLRLibraries and runtimesOpen-source libraries, runtimes and package registries (Ch 8)SPServices and policyService managers, sandboxes, app stores and review (Ch 2, 5)DRDrivers and third-party kernel codeSigned drivers, EDR sensors and their content channels (Ch 5)KNKernelNT, XNU and Linux kernels (Ch 5)HVHypervisor and isolationVBS, Apple page protection, pKVM, the VDI host (Ch 3, 5)FWFirmware and bootCORVANE: 3,000 kiosks, OEM firmware and boot keys with end dates (Ch 4)SISilicon and microcodeCPU, microcode, TPM, Pluton, Secure Enclave, Titan M2 (Ch 3)A company name marks that company's riskiest row. Inside the chapters, red marks only a row that a case attacked or broke.
Every chapter opens one or more of these rows; the three company names mark where each running company's riskiest authority sits.
Author's diagram. Row codes from the book's Trust Ledger (Chapter One); the three companies are invented composites.

Three companies, three ways to lose

Advice about "trust" is easy to agree with and hard to use, so every chapter tests its ideas on the same three companies. All three are invented. Each is a composite of a common kind of business, and they are the same three companies as in Book 2, now seen from below the screen. Each chapter takes one of them as its lead.

Halbrook Bank, the regulated company

Halbrook is a listed US regional bank with 2,500 branch PCs on Windows, advisors on laptops and on virtual desktops in a rented cloud, and a mobile app on iOS and Android. It owns a small subsidiary in Ireland. Its questions are about identity and concentration. Who can reset a teller's sign-in? How many outside parties can push code into a branch desktop without a Halbrook person approving it? What happens when the one security sensor on every desk fails at once? Its clocks are set by regulators: the US banking agencies' rule to notify the regulator within 36 hours of determining that a "notification incident" has occurred (a computer-security incident that has materially disrupted or degraded its core operations or a key business line, or is reasonably likely to), the SEC's Form 8-K Item 1.05 four business days after it determines an incident is material, and, for the Irish subsidiary only, the EU's Digital Operational Resilience Act (DORA), in application since 17 January 2025.

Corvane Hotels, the device fleet operator

Corvane is a hotel group headquartered in the Netherlands, with 300 properties in the EU and the US, about 3,000 self check-in kiosks on Windows IoT, Android tablets at the front desks and signage on Linux. Its machines live for years in lobbies with no engineer nearby. Its questions are about time. Which firmware and boot keys are on each kiosk, and when do they stop getting fixes? What does a kiosk that will not start cost in site visits? Can a property recover with no network? Its main clock is the EU's General Data Protection Regulation (GDPR), Article 33: report a personal-data breach to the supervisory authority within 72 hours of becoming aware of it, where feasible, unless the breach is unlikely to result in a risk to people's rights and freedoms. Its payment kiosks also fall under the card industry's PCI DSS rules wherever they store, process or transmit card data, or can affect its security.

Larkfield Software, the vendor

Larkfield sells a desktop app with about 400,000 installs on Windows, macOS and Linux, plus a companion on iOS and Android. It runs its own update channel and holds its own code-signing key, which makes it one of the authorities in its customers' ledgers. Its questions are the vendor's side of trust. Who can sign as Larkfield? Which open-source packages does it ship? How fast can it stop a bad release? Its clock is the EU Cyber Resilience Act: as a manufacturer selling in the EU it must report actively exploited vulnerabilities from 11 September 2026, and the rest of the regulation applies from 11 December 2027.

The value map

Twelve questions, one per company per lens, each with the chapter that answers it. Find your company's row and start there.

CompanySecurityCostVisibilityValue
HalbrookWho can reset a teller's sign-in, and how is that path attacked? Chapter SixWhat does one day with every branch desk down cost, and who pays? Chapter FourteenHow many authorities can push code to a branch desktop without us? Chapter OneWhich rows do we own, rent, pin or isolate, and what goes in the contract? Chapter Fifteen
CorvaneWho controls the code that runs before Windows on 3,000 kiosks? Chapter FourWhat does a kiosk that will not start cost in site visits, multiplied across 300 properties? Chapter FourteenWhich kiosks have the 2023 boot certificates, and how would we know? Chapter FourHow fast can a property recover with no engineer on site? Chapter Nine
LarkfieldWhat if our signing key or build system is the way in? Chapter EightHow long does the Cyber Resilience Act oblige us to keep fixing what we ship? Chapter ElevenWho else can push to our customers' desktops besides us? Chapter SevenCan we stop a bad release before it reaches 400,000 desktops? Chapter Nine

Reading paths

The book reads front to back: Part I gives the map and the worksheet, Part II goes below the operating system, Part III covers the control planes that can change everything at once, Part IV follows one attack chain and the long tail, Part V covers money, the record and the decision, and Part VI looks ahead. If you have one evening, follow your role.

Your roleRead firstThenWhat you will decide differently
CTO or VP EngineeringPrologue, Chapters One and TwoSeven, Nine, Fourteen, FifteenTreat security as a map of authorities with clocks, not a tool budget
CISO or security architectChapters One, Four, FiveSix, Seven, Ten, SixteenPut firmware, boot keys, kernel-level vendors, help desks and consoles in scope, each with an owner
Chief architectChapter TwoThree, Five, Eight, SeventeenChoose platforms by who holds the keys and what you may change
End-user computing or fleet ownerChapters One, Four, NineSeven, Eleven, Appendix DMeasure days to 90% of the fleet and the time to recover, from your own telemetry
CFO, procurement or riskPrologue, Chapter FourteenTwelve, Thirteen, Fifteen, Appendix HPrice control against a day down; write staged rollout and recovery support into contracts
Board or auditThis brief, the prologue, Chapter FifteenThirteen, FourteenAsk which authorities can change our systems without us knowing, and how fast we recover
AI platform leadChapters One, SevenSixteen, SeventeenTreat every agent as an authority with its own row in the ledger

How the book handles facts

Each date, number, version and name in the chapters was checked, before the sources were frozen on 18 November 2026, against a primary source: a vendor advisory or document, a standard, a court record, a government report, an original research paper, or the source code itself. Where a number is a party's own estimate, the book says whose. Where a fact has not been published, the book marks it np (not published) and draws it as a gap, never as a measured bar. Companies and governments are named in connection with attacks only as courts, governments, Citizen Lab or the vendor's own advisory name them. The three running companies are invented. Opinions are labeled "Our view", with a date, because a book about clocks should say when its own clock stopped. Each chapter's sources are listed in the Reading List and Sources appendix; errors found after the freeze will be corrected there and in the next edition.

How to use this book on Monday

Security. Pick the one system whose failure would hurt most, such as Halbrook's teller desktop, Corvane's kiosk or Larkfield's update channel.

Cost. Write down what one day without it costs. A rough number is enough to rank the rows.

Visibility. List every party that can push code into it. Mark the ones you would not see doing so.

Value. Read Chapter One with that list beside you, and fill in the first Trust Ledger row before Chapter Two.

Monday rule: one system, one ledger, one named owner per row. The rest of the book fills in the rows.

Prologue

One Power Button, One Approval

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsSILICONSCREEN AND AGENTS

At 07:58 on a Tuesday, a teller at a Halbrook Bank branch presses the power button on her desktop. At 08:02 she approves a customer's payment. Between those two moments the machine runs code written, built, signed and shipped by seven parties outside the bank, and at least five update channels could have changed that code while the branch was dark. Halbrook wrote one small piece of it. This prologue walks those four minutes in order and names, for each step, who could have changed it, and who would have noticed.

The desktop is a business PC running Windows 11 Enterprise, managed with Microsoft Intune (Microsoft's cloud device-management service), encrypted with BitLocker, and protected by a third-party endpoint detection and response (EDR) sensor. Nothing about it is unusual: the authorities on this desk are the ones found on many desks in regulated companies. The section headings use the two-letter row codes of the Reader's Brief, from SI (silicon) to MU (management and update channels).

07:58, rows SI and FW: before Windows exists

Power reaches the processor, which starts fetching instructions from the firmware chip at a fixed address. How the processor carries out its instructions can be adjusted after manufacture by microcode, a layer of low-level code the chip maker writes. Microcode updates reach this PC by two routes: inside the PC maker's firmware, or as an operating-system update that Windows loads early in each boot. Microsoft has shipped Intel microcode through Windows Update since at least 2018, documented in its support articles such as KB4093836. Chapter Three explains why a fleet should record which route actually applied the running revision.

Next comes the firmware, the code that starts the hardware and finds the operating system. On a PC it follows the UEFI specification. It is usually written by an independent BIOS vendor, customized and signed by the PC maker, and updated through the PC maker's own tool or through Windows Update. Many business PCs also check the firmware's own signature in hardware before it runs; Chapter Four names those mechanisms.

The firmware then enforces Secure Boot. It will start only boot code whose signature matches its allowed list, the DB, and does not appear on its forbidden list, the DBX. Two other key stores decide who may change those lists: the Platform Key (PK), normally held by the PC maker, and the Key Exchange Key list (KEK), which holds Microsoft's key. Microsoft's documentation lets PC makers hold the PK themselves or use a Microsoft-managed one. As the boot proceeds, the firmware measures each boot component and extends its hash into registers of the Trusted Platform Module (TPM), the platform configuration registers (PCRs), while an event log outside the TPM records what was measured, so that a trusted server can later check what booted. Microsoft calls this Measured Boot.

Who can change it: the chip maker (microcode), the BIOS vendor and PC maker (firmware), the PC maker and Microsoft (key stores). Who would notice: the TPM's measurements, if anyone reads them: an attestation service, such as the device-health checks in Intune's compliance policies, or Keylime on Linux. Halbrook's own staff have not touched any of it.

07:58 to 07:59, rows FW, HV, KN and DR: Windows starts

The firmware hands over to the Windows Boot Manager, signed by Microsoft under a certificate called Windows Production PCA 2011. That certificate reached the end of its validity on 19 October 2026, and Microsoft's 2023 replacements have to be in the firmware's lists before new boot-level protections can reach the machine. Microsoft states that devices without the new certificates "will continue to start and operate normally". Chapter Four tells that story; the desk still boots.

On capable hardware, Windows then starts its own hypervisor and uses it to run virtualization-based security (VBS): a small, isolated region beside the kernel that holds secrets and checks kernel code. Its best-known feature, memory integrity, is on by default on many new Windows 11 devices that meet Microsoft's requirements. Then the kernel loads, written, built and signed by Microsoft.

The first third-party driver to start on this desk is normally the EDR sensor's. Windows provides a class of Early Launch Antimalware (ELAM) drivers, which Microsoft documents as loading "before all non-Microsoft boot drivers", so that security software can judge the drivers that follow; the sensor goes first only if its vendor registers it as one. On a new installation of Windows 10 version 1607 or later with Secure Boot on, every new kernel driver must carry Microsoft's signature; Chapter Five lists the exceptions. That signature proves who submitted the driver. It does not fix what the driver will read: the sensor's behavior is shaped by content, rule and configuration files that the EDR vendor sends on its own schedule, separately from the driver itself.

Who can change it: Microsoft (boot manager, hypervisor, kernel) and the EDR vendor (driver and content). Who would notice: Microsoft's attestation and the EDR vendor's console. Halbrook sees the console; it does not see the content before it lands.

08:00, row ID: the teller signs in

The teller unlocks the desktop with Windows Hello for Business. Microsoft describes it as two factors: "the user's private key protected by the device's security module" and a PIN that "never leaves the device". The key is tied to Halbrook's identity provider, a cloud directory the bank rents. Before the bank's systems trust the session, Intune reports whether the device is compliant with Halbrook's policies, and the identity provider issues the tokens that the teller's apps present for the rest of the day.

Two paths around that sign-in matter more than the sign-in itself. One is the help desk: when a teller forgets her PIN or loses her phone, someone resets her authentication methods, and whoever can talk that person into a reset can become the teller. The other is the BitLocker recovery key, the 48-digit password that unlocks the disk when the TPM refuses to. Microsoft's documentation notes that access to recovery passwords stored in its directory "can also be delegated to the help desk", and Halbrook has delegated it. Its help desk therefore holds the key to two rows: the person, and the disk. Chapter Six follows the first; Chapter Nine follows the second.

Who can change it: Halbrook's identity team, Halbrook's help desk, and the identity provider. Who would notice: the identity provider's sign-in logs, if someone reviews resets.

08:01 to 08:02, rows LR, FR and SP: the approval

The teller opens the payment app. It is built by a software vendor on Microsoft's .NET runtime and shows its approval screen through Microsoft's Edge WebView2 runtime (WebView2), which Book 2 followed hop by hop from the tap to the glass. The vendor's own updater keeps the app current. The approval rules and the button's meaning are Halbrook's own code, the one part of these four minutes the bank wrote.

Around the app sit the services and policy of the operating system: the Defender platform, the sandbox WebView2 places around web content, the Group Policy or Intune settings Halbrook pushes. The frame itself, from the page to the pixels, is one row in this book, FR, and Book 2 is its home.

Who can change it: the app vendor, Microsoft (runtimes and platform) and Halbrook (policy and the approval logic). Who would notice: Halbrook's app logs, for the part Halbrook wrote.

Figure P.1
Four minutes at a branch desk, and every authority that could have changed them
Four columns from power on to payment approval, each listing the components that run and who can change themColumn one, power on: microcode, UEFI firmware, Secure Boot key stores, TPM measurement into PCRs. Column two, boot: Windows Boot Manager, hypervisor, kernel, EDR sensor and its content. Column three, sign-in: PIN or password, MFA and help-desk reset, device compliance, sign-in token. Column four, approve: teller app, .NET and WebView2 runtimes, the frame drawn by the WebView2 engine, the payment approval. Bottom band: the five overnight update channels. Dark boxes: platform or hardware vendor. Gold: a third party. White: Halbrook.07:58 POWER ON07:58 TO 07:59 BOOT08:00 SIGN-IN08:01 TO 08:02 APPROVEOVERNIGHT, BEFORE 07:58: AT LEAST FIVE CHANNELS COULD PUSH CODEMicrocodeCPU vendor, via PC makeror Windows UpdateUEFI firmwareBIOS vendor writes,PC maker signsSecure Boot keysPK, KEK, DB, DBXPC maker and MicrosoftTPM measurementPCRs and event logTPM maker (Chapter One)Windows Boot ManagerMicrosoftHypervisor: VBS,memory integrityMicrosoftKernelMicrosoftEDR sensor and its contentEDR vendorWindows Hello PINor passwordHalbrook identity teamMFA andhelp-desk resetHalbrook help deskDevice compliancecheckIntune, Halbrook adminsSign-in tokenidentity provider (rented)Teller appapp vendor's updater.NET and WebView2runtimesMicrosoftThe frame (Book 2)WebView2 engineMicrosoftPayment approvalHalbrook's own codeWindows UpdateMicrosoftIntuneHalbrook adminsEDR content channelEDR vendorFirmware toolPC makerTeller app updaterapp vendor
Between the power button and the approval, code from seven parties outside the bank and three Halbrook teams runs, and at least five channels can change that code overnight.
Author's diagram of a typical Windows 11 business PC, based on Microsoft's Secure Boot, measured boot, ELAM and VBS documentation (Chapter One sources). Times are illustrative; the order is the documented boot order.

Overnight, row MU: at least five channels that did not ask

The four minutes started long before 07:58. While the branch was dark, at least five channels could push code or content to this desk; Chapter One finds more.

Halbrook can delay or stage the first two. It could stage the fourth through the PC maker's management settings, but has not. The third and the fifth are, in Halbrook's current contracts, the vendor's to schedule. Each is a privileged channel into every branch desk at once, and each is an authority in its own right. Figure P.1 shows all of them on one page.

The same desk on 19 July 2024

On Friday 19 July 2024 at 04:09 UTC, shortly after midnight on the US East Coast, one of those overnight channels published a content file to Windows hosts running the CrowdStrike Falcon sensor, and Windows machines that were online and received it before the vendor reverted it at 05:27 UTC were exposed to a crash; many crashed, and many again on every restart; Microsoft estimated about 8.5 million devices. Figure P.2 traces that morning on the rows of this desk. The full case has two homes, the engineering in Chapter Five and the record in Chapter Thirteen; here it is only a trace on this desk's rows.

Figure P.2
The same desk on 19 July 2024: a content file stopped it before the power button
Failure flow over the MU, ID, DR and KN rows for a Windows desk on 19 July 2024Step 1, MU row, 04:09 UTC: the EDR vendor's content channel publishes Channel File 291. Step 2, DR row: the sensor reads it and performs an out-of-bounds memory read. Step 3, KN row: Windows stops with a crash. Step 4, DR row: on restart the sensor driver loads again and the crash repeats on many machines. Step 5, MU row, 05:27 UTC: the vendor reverts the file, too late for machines that already crashed. Step 6, ID row: on encrypted machines a technician needs the BitLocker recovery key to reach the disk, from the branch's opening time onward, for hours or days. Step 7, DR row: the bad file is removed, by hand or with Microsoft's recovery tool.MUManagementIDIdentityDRDriversKNKernel1content filepublished04:09 UTC2sensor readsout of bounds04:093Windowscrashesminutes4driver loads atboot, crashes againon restart5vendorreverts file05:27 UTC6BitLocker keyif encryptedfrom 07:587file removedby hand or toolhours to daysNumbered steps in order. Red: the failure path. Branch times assume US Eastern time (UTC minus 4).
One content update from one rented channel crashed the kernel, and the way back ran through the identity row: the disk-encryption recovery key.
CrowdStrike, technical details (20 July 2024) and root cause analysis (6 August 2024); Microsoft, recovery guidance and blog (20 July 2024). Full case in Chapter Five; the record in Chapter Thirteen.

What matters here is the shape of the path, not the vendor. The failure entered through the management row, ran through the drivers row into the kernel, and stopped the machine below the point where any remote tool could reach it. The way back ran through the identity row: on encrypted machines, a technician needed the BitLocker recovery key before the bad file could be removed, which Microsoft's recovery guidance (KB5042421) describes. The authority that caused the failure could not undo it on a machine that would not start. The authority that could undo it, by hand, was the customer.

From the trace to the map

Put the four minutes and the overnight hours together and you have the shape of this book. Every layer between the chip and the approval has authorities: parties that write it, build it, sign it, publish it, push it or configure it, and anyone who can change it by exploiting it. Every layer has a patch clock: how long a fix takes to reach most of your own devices, not the vendor's. Every layer has a recovery clock: how long it takes to stop a bad change and get the fleet back. And for every layer, someone can or cannot see what happened.

Figure B.1, in the Reader's Brief, draws the stack those authorities sit on. Chapter One turns it into a worksheet, the Trust Ledger, and fills in its first row for this desk. Chapter Two draws the same map five times, for Windows, macOS, iOS, Linux and Android, because the authorities are not the same on each, and neither is what the customer is allowed to change.

Halbrook wrote one piece of the code that ran in those four minutes. It answers for all of it.

Security lens

Who can change it? On one branch desk: the chip maker, the BIOS vendor, the PC maker, Microsoft, the EDR vendor, the identity provider, the app vendor, and three Halbrook teams: ten parties in these four minutes. Chapter One's full inventory of the desk adds the TPM maker, a printer driver maker and a desk-side support contractor, folds the BIOS vendor into the PC maker, whose firmware image carries its code, and counts twelve: nine outside the bank, three inside. Anyone who exploits any of them joins the list.

How fast can it be fixed? At the speed of the slowest authority that has to act, then at the speed of Halbrook's own rollout. Nobody outside Halbrook can measure the second clock for it.

What does AI change here? Our view (as of November 2026): AI makes finding and weaponizing flaws in each of these layers cheaper, and makes help-desk impersonation more convincing. It does not add a single new channel to the desk; it makes the existing ones busier.

Business implications

Security. The least watched part of Halbrook's day is not the approval; it is the overnight window when at least five channels can push without asking. Corvane's kiosks have the same window, with no teller to notice a blank screen at 07:58.

Cost. Every outside authority on the desk is also a contract or a license. Most of those contracts say little about how changes are staged, how they are stopped, or who pays when a change stops the desk.

Visibility. Halbrook can see its own app, its own policy and its own console. Most of what runs before 08:00 reports only to the party that wrote it. For Larkfield, the vendor, the mirror image applies: its updater is one of the overnight channels on someone else's desk.

Value. Customers notice the approval at 08:02, and the branch that cannot open at 09:00. Recovery time, not the number of controls, is what they feel.

Monday rule: list every channel that can change your most important desk overnight, and mark which ones you can pause.

Part I · The Map

Chapter One

Who Controls It: Authorities, Clocks and the Trust Ledger

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsSILICONSCREEN AND AGENTS

Halbrook Bank's audit committee asks its CISO the question boards have asked for twenty years: "Are we secure?" She answers with a different question and a number. The question is: who, outside this room, can change the software on our 2,500 branch desktops tonight without anyone here approving it? The number, from an inventory her team took in a week, is four parties with no change ticket at all, out of twelve that can change the desktop in some way. Nobody on the committee had asked for that number before. This chapter shows how to produce it, row by row, and turns it into a one-page worksheet, the Trust Ledger. The decision it changes: you stop buying security as a list of controls and start managing it as a list of authorities, each with a clock.

Trust is a list of authorities, not a perimeter

The older picture of security draws a wall around the company: trusted inside, untrusted outside. The teller's four minutes in the prologue show why that picture fails on a modern device. The code that runs on the desk was written, built and signed outside the wall, and much of it arrives through channels that start outside the wall and end inside the kernel. The useful question is not "is it inside?" but "who can change it?"

This book calls each party that can change a layer an authority. "Change" covers six different powers, and they are often held by different parties for the same component (Figure 1.1).

There is a seventh authority on every row, and nobody grants it: anyone who can change the component by exploiting it. An attacker who steals a signing key becomes a signer; one who takes over a management console becomes a pusher. The six granted authorities decide how many doors there are. The seventh decides which door gets tried.

Figure 1.1
Six ways to hold authority over a component, and the veto point a customer keeps at each
Six authority steps from writes to configures, each with the customer's veto point below, and an exploit path underneathA chain of six authority steps: writes the source, builds the binary, signs with a private key, publishes to a channel, pushes to devices, configures policy and content. Under each, the customer's veto: audit the source, check the build (software bill of materials, reproducible build, provenance), trust or revoke the key, choose or mirror the channel, ring and pause the push, own the console and its admins. Underneath, in red, the seventh authority: whoever can change it by exploiting it. A check works as a veto only where policy enforces it.WHO CAN CHANGE ITYOUR VETO POINTWRITESthe source codeRead or audit thesource (opensource only)BUILDSthe binaryCheck the build:SBOM, reproduciblebuild, provenanceSIGNSwith a private keyTrust or revokethe key: DB, DBX,MOK, allow listPUBLISHESto a channelPick the channelor mirror itinternallyPUSHESto your devicesRings, deferral,pause, maintenancewindowCONFIGURESpolicy and contentOwn the console,its admins andtheir sign-inCAN CHANGE IT BY EXPLOITING ITan attacker who reaches any step above, or the device itself, becomes one more authority
Count every party at every step; the customer's power is the veto under each one, and a check is a veto only where policy enforces it.
Author's diagram. The split of authority into writing, building, signing, publishing, deploying and configuring follows the book's Trust Ledger method (Chapter One).

Under each authority sits a veto point, the place where the customer can say no. You can audit open source, check a vendor's build provenance and its software bill of materials (SBOM, the list of components in a build), refuse or revoke a key, mirror a channel internally, stage a push in rings, and own the console and the people who sign in to it. Our view (as of November 2026): many companies use only the last two. Larkfield Software sees the same picture from the other side: for its 400,000 customer desktops, Larkfield is the writer, builder, signer, publisher and pusher of one row, and every one of its customers has a veto point it may or may not use.

Four facts per row

Once you have named the authorities for a layer, four facts decide how much risk that layer carries. They are the spine of every chapter.

FactThe questionWhy it decides risk
Who can change itWhich authorities can write, build, sign, publish, push or configure it, and how far one action reachesEach authority is a way in, and one action by a pusher can reach every device at once
How fast it is fixedHow many days from the first public sign of a flaw to the fix running on 90% of your devicesExposure lasts until your fleet is fixed, not until the vendor ships
Who can see itWhat telemetry, logs or attestation report on this layer, and to whomA layer nobody watches fails silently, and its recovery starts late
How fast you stop and recoverWhether you can pause the channel, revoke the key or file, roll back, and how long until 90% of devices work againCustomers feel the outage, not the root cause

These four facts describe a row. The four lenses of the Reader's Brief (security, cost, visibility, value) judge the decision you take on it: the facts are the evidence, the lenses the verdict.

Every fact gets an evidence tag, because a ledger full of confident guesses is worse than one that admits what it does not know. O means observed on your own fleet. D means documented by the vendor. C means promised in a contract. I means inferred. U means unknown. A row tagged U is not a failure of the exercise; it is the exercise's main finding.

Two clocks: patch and recovery

The patch clock has four marks (Figure 1.2). T0 is the earliest of three moments: the vendor learns of the flaw, the flaw becomes public, or it is known to be exploited. T1 is the day a fix is available for this device class, which may be weeks after the first fix for another class. T2 and T3 are the days the fix is running on 50% and 90% of your own devices. After T3 comes the tail: the devices still exposed, counted, with a reason for each group.

T0 to T1 is mostly the vendor's. T1 to T3 is mostly yours, though vendors still gate parts of it with staged offers and holds, and only your own telemetry can measure it: Windows Update or Intune compliance reports, Apple MDM inventory, Android management reports, package timestamps on Linux. Vendor adoption curves describe the vendor's whole customer base, not your fleet. Appendix D gives the method.

The number that protects you is T3, not the average. An attacker may need only one exposed, reachable device, and the tail is where the devices that nobody restarts, nobody owns or nobody can reach collect: the kiosk in a closed lobby, the laptop in a drawer, the virtual machine template. The NIST guide to enterprise patch management, SP 800-40 Revision 4 (April 2022), frames patching as preventive maintenance, a cost of doing business to be planned and resourced, not an emergency. The same framing applies to the tail: it needs an owner and a budget, not a hope.

Regulators have started to set the clock for you. When the US Cybersecurity and Infrastructure Security Agency (CISA) created its Known Exploited Vulnerabilities (KEV) catalog with Binding Operational Directive 22-01 on 3 November 2021, it gave federal civilian agencies two weeks to fix newer catalog entries and six months for older ones. On 10 June 2026, CISA revoked that directive and replaced it with BOD 26-04, which sets the deadline per vulnerability from four facts: whether the asset is publicly exposed, whether the flaw is in the KEV catalog, whether exploitation can be automated, and how much control an attacker gains. The shortest deadline is three days. The directive binds only federal agencies, but its logic, exposure and exploitation decide the clock, is the logic of this book.

Figure 1.2
Two clocks per row: how fast a fix reaches your fleet, and how fast your fleet comes back
Patch clock from T0 to T3 and the tail, above a recovery clock from R0 through stop, revoke and restore to R90Top row, the patch clock: T0 is the earliest of vendor aware, public, or known exploited; T1 the fix is available for this device class; T2 the fix runs on 50 percent of your fleet; T3 on 90 percent; then the tail of devices still exposed, with a count and a reason. Bottom row, the recovery clock: R0 failure noticed, stop, revoke, restore, and R90 when 90 percent of the fleet works again.PATCH CLOCKRECOVERY CLOCKT0earliest of: vendoraware, public,known exploitedT1fix available forthis device classT2fix running on50% of your fleetT3fix running on90% of your fleetTHE TAILdevices stillexposed: countand reasonR0failure noticedor exploitationconfirmedSTOPpause the channel,ring or contentREVOKEkey, file, tokenor blocklist entryRESTOREroll back, repairor rebuildR9090% of the fleetworking again
T0 to T1 is mostly the vendor's clock; T1 to T3 and most of the recovery clock are yours, and only your own devices can measure them.
Author's diagram. Patch management as planned preventive maintenance follows NIST SP 800-40 Rev. 4 (April 2022).

The recovery clock runs on the same page. R0 is the moment a failure or an exploitation is noticed. Then come three actions, usually in this order and sometimes in parallel: stop the channel, ring or content that caused it; revoke whatever must no longer be trusted, a key, a file, a token, a blocklist entry; restore by rolling back, repairing or rebuilding. R90 is the moment 90% of the fleet works again. The morning of 19 July 2024, told in full in Chapters Five and Thirteen, is the case that made the recovery clock visible: the stop took the vendor 78 minutes, and restore, for many companies, took days of hands on keyboards. Chapter Nine is about this clock alone.

The Trust Ledger

The Trust Ledger records the authorities, dependencies, evidence and exit paths for one critical system on one A4 page. It is not a list of things the company believes are trustworthy. Book 1's Pixel Bill of Materials answered what is on the box; Book 2's Frame Ledger answered how the screen gets drawn. The Trust Ledger answers who can change each layer, how fast a fix reaches you, who can see it fail, and how you stop and recover. It sits beside registers auditors already ask for: Halbrook's Irish subsidiary must keep DORA's register of information "in relation to all contractual arrangements on the use of ICT services provided by ICT third-party service providers" (Article 28(3)), and the ledger's rented rows name the same providers, adding what the register does not hold: each one's clocks and exit path. In the same way it supplements, and does not replace, the supplier controls auditors already test, such as the supply-chain category (GV.SC) of the NIST Cybersecurity Framework 2.0.

It has three parts. The header block, written once per system, holds the facts that apply to every row: the system and the business service it supports; the platform profile (exact operating system release, hardware class and management state, fixed in Chapter Two); the fleet denominator, meaning how many devices are in scope; the business value at stake and the cost of one day down; the regulator clocks that apply, with what starts each; the loss the ledger protects against; the assessment date and next review; and the accountable executive.

The rows are the eleven layers of the master stack, plus an optional twelfth.

CodeRowExamplesHome chapter
SISilicon and microcodeCPU, GPU, NPU, microcode, TPM, Pluton, Secure Enclave, Titan M2, management enginesThree
FWFirmware and bootUEFI and its key stores (PK, KEK, DB, DBX), iBoot, Android Verified Boot, shim, BMC, radiosFour
HVHypervisor and isolationVBS and memory integrity, Apple's page protection, pKVM, the cloud host under a virtual desktopThree, Five
KNKernelWindows NT, XNU, LinuxFive
DRDrivers and third-party kernel codeSigned drivers, EDR sensors and their content, kernel modules, eBPF programsFive
SPServices and policyService managers, SELinux, AppArmor, privacy consent, app sandboxes, stores and reviewTwo, Five
LRLibraries and runtimesSystem libraries, open-source dependencies, language runtimes, package registriesEight
FRThe frameBook 2's eleven hops from source to glass, collapsed to one rowBook 2
IDIdentity and keysDevice keys, sign-in, the help-desk reset path, token-signing and code-signing keys, the identity providerSix
MUManagement and update channelsOS update, PC maker tools, MDM, remote management, EDR console and content, app updatersSeven
AGAgentsAny AI agent or automation acting with a user's or a service's privilegesSixteen
EXExternal dependencies (optional)VPN and firewall appliances, the cloud host, DNS, key escrowEleven

The eight core columns are the same on every row:

  1. Component: the real component and version, its update policy (evergreen, pinned, tied to the OS, bundled), and how many devices run it.
  2. Who can change it: the named authorities, split by power where they differ: writes, builds, signs, publishes, pushes, configures. A vendor's content channel counts.
  3. Exposure and blast radius: which untrusted inputs reach it (network, files, messages, USB, a help-desk call, a console login) or "local admin only"; what privilege it runs with; how many devices or tenants one action reaches.
  4. Patch clock: T0, T1, T2, T3 and the tail for the last one to three critical cases, measured on your fleet.
  5. Stop, revoke, recover: the pause switch, the revocation path, the rollback, the date of the last drill, and the measured time to R90.
  6. Who can see it: telemetry, attestation or logs, or "nothing", with its evidence tag.
  7. Support end: the date the owner stops fixing it, the source of that date, and the lead time to replace it.
  8. Decision and owner: Own or Rent, any Pin or Isolate modifier, a one-line reason, a named person and the next review date.

Six optional columns can be added when a chapter or an audit needs them: the root of trust the row verifies against, the yearly cost of control, who pays on failure, an AI exposure flag, a link to the Pixel Bill of Materials or Frame Ledger, and a contract clause reference.

One fill rule keeps the ledger honest: any cell you cannot fill in twenty minutes gets "np" (not published), "nc" (not collected) or "U" (unknown). All three mean unknown; the first two also say why: the vendor has not published the fact, or you have not collected it. Those marks are the finding. A row with three of them is a row where the company is trusting an authority it cannot measure.

Own or Rent, then Pin or Isolate

Every row ends in a decision on two separate axes. The first axis is who holds the authority. Own means your company holds it: you sign, you push, or you configure, and you answer for the clock. Rent means another party holds it under a contract or a license, and you answer for choosing them and for watching them. Almost everything below the operating system is rented; owning a row usually means owning its policy and its schedule, not its code.

The second axis has two modifiers. Pin holds a version still: a firmware release on a kiosk model, a kernel line on a server image. A pin without an end date is debt, so a pin must carry one. Isolate limits what a row can reach or what can reach it: an EDR's content staged by property group, a kiosk with no AI agents on its image. An isolation that does not say what it isolates from is a slogan, so it must name its partner. Chapter Fifteen turns these choices into a flowchart and contract clauses.

Counting the authorities on one desk

The CISO's number in this chapter's opening came from a simple inventory: for each row of the branch desktop, list every party that can push a change into it, and mark the ones that can do so without a Halbrook change ticket. Figure 1.3 shows the result. Twelve parties can change the desktop. Three of them are Halbrook teams. Four outside parties need no Halbrook ticket at all: the EDR vendor's content channel, the teller app vendor's updater, the PC maker's firmware tool, which Halbrook has left on its own schedule, and the TPM maker, whose firmware arrives through that tool. The count is by party, not by channel, and one rule decides what a party is: a maker counts separately when its code is a separate component that reports its own version on the device, as TPM firmware does, and folds into another party when its code is built into that party's image, as the BIOS vendor's code is built into the PC maker's firmware. Microsoft counts as ticketed because most of its changes pass through Halbrook's Windows Update rings, but two of its channels, Defender platform updates and the evergreen WebView2 runtime, follow Microsoft's own schedule unless Halbrook sets update policy for them. Chapter Seven counts channels. Counted by row instead, one party stands out: Microsoft is named on seven of the eleven rows of Figure 1.3, and sits on two more as the signer of drivers and the operator of Intune. That is the concentration figure Halbrook's board asked for.

Figure 1.3
One Halbrook branch desktop: twelve parties can change it, four of them without a Halbrook change ticket
The Trust Ledger rows for one Halbrook branch desktop, each with the parties that can push changes into itSilicon: CPU vendor microcode through the PC maker or Windows Update, and TPM firmware. Firmware: the PC maker's firmware tool and Microsoft's Secure Boot database updates. Hypervisor and kernel: Microsoft through Windows Update rings. Drivers: the EDR vendor's sensor and content channel, and the printer and scanner makers. Services: Microsoft Defender platform updates and Halbrook's policies. Libraries and frame: .NET and WebView2 from Microsoft, the teller app vendor's updater. Identity: the identity provider and Halbrook's help desk. Management: Intune and the desk-side support contractor's remote tool. Agents: none on the branch image.AGAgentsNone allowed on the branch image (policy, reviewed quarterly)MUManagement and update channelsHalbrook Intune admins; desk-side contractor's remote-support toolIDIdentity and keysIdentity provider (rented); Halbrook identity team and help deskFRThe frame (Book 2)WebView2 runtime from Microsoft, evergreen: updates itself unless policy holds it (Book 2)LRLibraries and runtimesTeller app vendor's updater (no Halbrook ticket); .NET via Windows UpdateSPServices and policyDefender platform updates (Microsoft; own channels unless Halbrook sets them); Halbrook policyDRDrivers and third-party kernel codeEDR vendor content, on its own schedule (no ticket); print driver makerKNKernelMicrosoft, through Halbrook's Windows Update ringsHVHypervisor and isolationMicrosoft (VBS and memory integrity), same ringsFWFirmware and bootPC maker firmware tool, left on its own schedule (no ticket); Microsoft DB and DBX updatesSISilicon and microcodeCPU vendor microcode via firmware or Windows Update; TPM maker, firmware through the PC maker's tool (no ticket)Invented inventory. Twelve parties, counted by party: nine outside the bank, three Halbrook teams (identity team, help desk, endpoint admins). A maker with its own versioned component counts separately; code built into another party's image folds into that party.
The count is not the attack surface, but every party on this list is a row with a clock, a channel and a contract.
Author's inventory for an invented company (Halbrook Bank), built on Microsoft's documented update paths for Windows 11 Enterprise. Counts are illustrative; Chapter Seven gives the inventory method.

The count is not the attack surface. A party with no ticket may be well run, and a party behind a ticket may be careless. But every party on the list is a row with a clock, a channel and a contract, and the four without a ticket are the ones whose changes Halbrook learns about after they land.

Who holds the keys, by platform

The same desk on another operating system has different authorities. Chapter Two draws each platform in full; this summary shows only the differences that change a decision in this chapter.

QuestionWindowsmacOSiOSLinuxAndroid
Who holds the boot keysPC maker (Platform Key) and Microsoft (KEK, DB)Apple, in the chipApple, in the chipMicrosoft's UEFI CA signs shim; the distribution's key in shim; the owner may add keysThe device maker
Who signs the kernelMicrosoftAppleAppleThe distribution, or youGoogle certifies the Generic Kernel Image; the device maker adds modules and signs the image
Third-party code in the kernelYes, Microsoft-signedOnly after the owner lowers startup security; most tools run in user spaceNoneYes, signed modules when Secure Boot is onChip and device-maker modules
Who ships the OS fixMicrosoftAppleAppleThe distributionGoogle publishes; each device maker ships
What the customer can delayRings and deferralsMDM deferral, 1 to 90 daysMDM deferral, 1 to 90 daysEverything: you run the repositoriesPostpone an update up to 30 days, or freeze updates for periods up to 90 days (managed devices)
Firmware and siliconBIOS vendor and PC maker; microcode via firmware or Windows UpdateApple onlyApple onlyPC maker; through LVFS only where the maker takes partChip maker and device maker
How it got this way

The idea that a system's security rests on a small, checkable core is older than the PC. In February 1970 a Defense Science Board task force chaired by Willis Ware delivered Security Controls for Computer Systems (RAND R-609). It was classified, and stayed so until the Defense Advanced Research Projects Agency declassified it on 10 October 1975. It treated a resource-sharing computer as something whose hardware, software and procedures all had to be controlled together. In October 1972 James P. Anderson's Computer Security Technology Planning Study (ESD-TR-73-51) for the US Air Force gave that core a name, the reference monitor, and three requirements: the mechanism "must be tamper proof", "must always be invoked", and "must be small enough to be subject to analysis and tests, the completeness of which can be assured".

Hold today's desk up against those three requirements. The mechanism that decides what runs on it is spread across a chip maker's microcode, a firmware vendor's code, two parties' boot keys, an operating-system vendor's kernel and hypervisor, a security vendor's driver and its daily content, an identity provider and a help desk. Each part may meet Anderson's test on its own. The whole cannot be analyzed by any one party, because no one party can see all of it. The Trust Ledger is a way to analyze it piece by piece, by the authority that holds each piece.

What hasn't changed: in September 1975 Jerome Saltzer and Michael Schroeder published eight design principles in the Proceedings of the IEEE. Two of them are still the test this book applies to every row. Least privilege: "every program and every user of the system should operate using the least set of privileges necessary to complete the job". Fail-safe defaults: "base access decisions on permission rather than exclusion". A content channel that can change kernel behavior on every desk at once, with no staging, strains the first; a forbidden list that must be updated before an old boot manager stops being trusted is the second, inverted. Text checked against the paper, 18 November 2026.

The unseen angle

Security inventories count assets: devices, applications, accounts. An asset inventory does not record authorities: the parties that can change those assets without you. Count them for one system, and mark which ones you would see acting. The number is not on any dashboard, because each vendor's console shows only its own channel. It is also the number a board can understand: "four outside parties can change every branch desk tonight without a ticket" is a sentence, where "2,500 endpoints with an average patch age of 11 days" is a statistic. Source: the method of this chapter; the update paths it counts are documented by each vendor, as listed in this chapter's sources.

Security is not a wall around your systems. It is a list of everyone who can change them, and how fast each of them can be stopped.

These rows in the Trust Ledger

The worked example is Halbrook Bank's branch teller desktop. The header block comes first, then three rows. Clock cells marked "to measure" are placeholders until Halbrook's own telemetry fills them; the first pass exists to find them.

Header fieldHalbrook branch teller desktop
System and serviceTeller desktop: payments, cash, account servicing in 2,500 branch seats
Platform profileWindows 11 Enterprise, current feature release, on business PCs with TPM 2.0, Secure Boot and VBS; Intune-managed; BitLocker on (Chapter Two)
Fleet denominator2,500 desktops
Value and cost of a day downBranch revenue and fees for one day, plus overtime and customer remediation (Chapter Fourteen models it)
Regulator clocksBanking agencies: 36 hours after determining a notification incident; SEC Form 8-K Item 1.05: four business days after determining materiality; DORA for the Irish subsidiary only
Loss protected againstBranches unable to serve customers for more than one business day; fraudulent payment approval
Assessed / next reviewNovember 2026 / quarterly
Accountable executiveChief Operating Officer, with the CISO
ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
MU Windows Update, Intune, EDR content, PC maker tool, teller app updaterMicrosoft; Halbrook endpoint team; EDR vendor; PC maker; app vendorEach channel reaches all 2,500 desks; console sign-in is the way inWindows: T1 Patch Tuesday, T3 to measure (O); others ncRings pause Windows Update; EDR content pause untested; app updater: noneO for Windows and Intune; D for EDR; U for app updaterPer product lifecycle; app vendor: UOwn the ring schedule across all five channels; Isolate content by branch region. Owner: head of end-user computing; review quarterly
DR EDR sensor driver and contentEDR vendor writes, builds, publishes and pushes; Microsoft signs the driverKernel privilege; one content push reaches every deskPer vendor; ncVendor revert; Halbrook hand recovery needs BitLocker keys; last drill: noneD (vendor console)Per contractRent; Isolate: staged content by ring, written into the contract. Owner: CISO
ID Teller sign-in, help-desk reset, BitLocker recovery passwordsIdentity provider; Halbrook identity team; Halbrook help deskA phone call to the help desk; reset reaches one teller, recovery-password access reaches every diskProvider-side fixes: np; reset policy: Halbrook'sRevoke sessions and methods; rotate recovery passwords after useO (sign-in and reset logs), if reviewedn/aRent the provider; Own the reset procedure and who may read recovery passwords. Owner: head of identity
Security lens

Who can change it? For any row: the six granted authorities (writes, builds, signs, publishes, pushes, configures) plus whoever exploits any of them. On Halbrook's desk, twelve parties in all, four of them without a Halbrook ticket.

How fast can it be fixed? T0 to T1 is the slowest authority's clock; T1 to T3 is yours. You inherit the slowest clock on the row and then add your own. Only your telemetry measures the second part.

What does AI change here? Our view (as of November 2026): AI-assisted vulnerability discovery and exploit writing move T0 earlier and shrink the time between a public fix and a working attack; they do not shorten T1 to T3 unless the customer automates its own rollout. The gap this chapter measures is the gap AI widens.

Business implications

Security. Halbrook's exposure on any row lasts until T3 on its own fleet, whatever the vendor's release date says. Corvane's kiosks, spread over 300 properties with no engineer on site, will have a longer tail than Halbrook's branches, and the tail is where Corvane's exposure lasts longest.

Cost. Every outside authority is a contract or a license, and a channel to watch. Larkfield's 400,000 desktops make Larkfield an authority in thousands of other companies' ledgers, and the Cyber Resilience Act now gives its customers' regulators a way to ask about its clock.

Visibility. Many rows below the kernel report little that a customer can use. Mark them U instead of guessing; a ledger with honest U marks shows where to spend on telemetry.

Value. Recovery time is what customers notice. A row with a tested stop and a measured R90 is worth more to the business than a row with one more control.

Monday rule: for your most critical system, list every authority that can change it, mark the ones that need no ticket from you, and put a measured T3 on one row.

Our view, as of November 2026

Regulators are moving from "patch everything within N days" to clocks set by exposure and exploitation, as CISA's BOD 26-04 did in June 2026. We expect auditors to follow, and to ask for measured T3 and R90 per critical system within a few years. Companies that keep a Trust Ledger will be able to answer from their own data; companies that do not will answer with vendor release dates, which measure someone else's fleet.

The history spine, 1970 to 2026

The rest of the book tells history where it explains a decision, in the "How it got this way" box of the chapter that needs it. This spine puts the fifteen dates in one place. Read it as the story of one shift: from a small trusted base that one team could check, to a trusted base spread across a dozen authorities, each with its own clock.

Figure 1.4
The history spine, 1970 to 2026: from one checkable trusted base to a dozen authorities with clocks
Fifteen dated points from the 1970 Ware report to the 2026 Secure Boot certificate expiry, in three erasFoundations: Ware report 1970, Anderson's reference monitor 1972, Saltzer and Schroeder 1975, Thompson's Reflections on Trusting Trust 1984, the Morris worm 1988. The patch era: Microsoft's monthly security release 2003, Windows XP Service Pack 2 2004, sandboxed iPhone apps 2008, Stuxnet 2010, Secure Boot with Windows 8 in 2012. Chains and keys: Heartbleed 2014, Spectre and Meltdown 2018, SolarWinds 2020, the CrowdStrike content update 2024, and the expiry of Microsoft's 2011 Secure Boot certificates in 2026.FOUNDATIONS: A SMALL TRUSTED BASE YOU CAN CHECKTHE PATCH ERA: VENDORS TAKE OVER THE CLOCKCHAINS AND KEYS: TRUST SPREAD ACROSS MANY AUTHORITIES1970Ware reportChapter One1972Anderson: thereference monitorChapter One1975Saltzer andSchroederChapter One1984Thompson: trustingtrustChapter Eight1988Morris wormChapter Eight2003Monthly patch dayChapter Nine2004Windows XP SP2Chapter Nine2008iPhone apps,sandboxedChapter Two2010StuxnetChapter Thirteen2012Secure Boot shipsChapter Four2014HeartbleedChapter Twelve2018Spectre andMeltdownChapter Three2020SolarWindsChapter Eight2024CrowdStrikecontent updateChapter Five20262011 bootcertificates expireChapter Four
Fifteen dated points; each points to the chapter whose history box tells it.
The primary document for each point is listed in the sources for Chapter One.
DateEventWhy it matters to a Trust LedgerTold in
Feb 1970Ware report, Security Controls for Computer Systems (RAND R-609); declassified 10 Oct 1975Security as a property of the whole system: hardware, software and procedureChapter One
Oct 1972Anderson, Computer Security Technology Planning Study (ESD-TR-73-51)The reference monitor: tamper proof, always invoked, small enough to verifyChapter One
Sept 1975Saltzer and Schroeder, "The Protection of Information in Computer Systems"Least privilege and fail-safe defaults: still the test for every rowChapter One
Aug 1984Thompson, "Reflections on Trusting Trust" (Communications of the ACM)"You can't trust code that you did not totally create yourself": the build as an authorityChapter Eight
2 Nov 1988The Morris wormOne program spreads across the internet in a night: a recovery clock measured across many owners at onceChapter Eight
Oct 2003Microsoft moves to a monthly security releaseThe vendor's patch clock becomes a calendar that customers plan aroundChapter Nine
6 Aug 2004Windows XP Service Pack 2 released to manufacturingSecurity defaults shipped in a service pack: the vendor changes the platform under the customerChapter Nine
10 Jul 2008Apple's App Store opens; every third-party iPhone app sandboxedOne vendor holds the store, the review and the sandboxChapter Two
Jul 2010Stuxnet becomes public; Microsoft Security Advisory 2286198 (16 Jul 2010)Signed drivers with stolen certificates: a signature proves who, not whatChapter Thirteen
26 Oct 2012Windows 8 goes on sale; certified PCs ship with UEFI Secure Boot onBoot keys become a row, with holders and, later, end datesChapter Four
7 Apr 2014Heartbleed (CVE-2014-0160), OpenSSL advisoryA library used across the internet, in a flaw in one small feature: who pays to maintain itChapter Twelve
3 Jan 2018Spectre and Meltdown made public, ahead of the 9 Jan coordinated dateA flaw in the chip, fixed by microcode and software from several partiesChapter Three
13 Dec 2020SolarWinds SUNBURST disclosed; CISA Emergency Directive 21-01A signed update from a trusted build system as the way inChapter Eight
19 Jul 2024CrowdStrike content update; Microsoft estimates about 8.5 million Windows devices affectedOne content channel stops machines below the reach of remote toolsChapter Five
Jun to Oct 2026Microsoft's 2011 Secure Boot certificates expire: KEK CA 24 Jun, UEFI CA 27 Jun, Windows Production PCA 19 OctKeys with end dates: devices still boot, but new boot-level protections need the 2023 certificatesChapter Four

Chapter Two

Five Platforms, Five Trust Models

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

In September 2026, the platforms under Halbrook Bank changed three times without Halbrook doing anything. On 14 September Apple released iOS 27, the release its advisors' supervised iPhones would be offered, and macOS 27. On 29 September Microsoft made Windows 11 version 26H2, the next release for its branch desktops, generally available. On 30 September Google began requiring that apps installed on certified Android devices in Brazil, Indonesia, Singapore and Thailand come from verified developers, a rule that will reach Halbrook's own customer app when the global rollout planned for 2027 arrives. Each change came from a different authority, through a different channel, under a different set of rules about what Halbrook was allowed to delay or refuse. This chapter draws those rules, one platform at a time, in the same grammar. The decision it changes: you stop comparing platforms by features and start comparing them by trust model, meaning who holds the keys, who pushes changes, and what the customer is allowed to change.

First, say exactly which platform you mean

"Windows" and "Android" are not configurations. A Pixel phone and a low-cost tablet both run Android, and they have different authorities on almost every row. A Linux server under a support contract and a community Linux laptop share a kernel and little else. So every Trust Ledger in this book names a platform profile in its header: the exact release, the hardware class and the management state. The profiles below are fixed for the whole book, as of November 2026.

PlatformProfile used in this bookWhy this profile
WindowsWindows 11 Enterprise, version 24H2 or later (25H2 and 26H2 install as enablement packages on the same base), on a current business PC with TPM 2.0, Secure Boot and VBS available; Windows 11 IoT Enterprise LTSC 2024 for kiosksThe enterprise desktop and the long-life device
macOSmacOS 27 on a Mac with Apple silicon, enrolled in mobile device management (MDM)The current release on the current hardware family
iOSiOS 27 on a supported iPhone; supervised when company-ownedThe phone a bank's advisors and customers carry
LinuxTwo profiles: enterprise (Red Hat Enterprise Linux 10 or Ubuntu 24.04 LTS, Secure Boot on through shim) and community (for example Debian or Fedora, no support contract)The contract changes the clock more than the kernel does
AndroidAndroid 17 on three profiles: Pixel (Google is the maker), large-maker flagship, low-cost deviceThe maker decides the clock

Each trust map in this chapter has the same parts. On the left, who holds the keys. In the middle, the chain from apps at the top to the boot chain at the bottom, with dark boxes for layers the platform vendor controls, gold for third parties, white for the customer. On the right, who pushes changes. Underneath, firmware and silicon, drawn as a dependency, not a sixth platform. At the bottom, in gold, the customer's column: what you may change. The maps are full-page; in the web edition each opens full screen.

Windows: the open PC and its many signers

Windows inherits the open PC: many hardware makers, many driver writers, many software publishers, one operating-system vendor in the middle. Its trust model reflects that (Figure 2.1). At the bottom, the PC maker normally holds the Platform Key, and Microsoft's key sits in the Key Exchange Key list. Microsoft's own guidance lets a maker either manage the PK or use a Microsoft-managed PK, which Microsoft calls "the preferred PK for the Windows ecosystem". The allowed list, DB, carries the Windows Production PCA 2011 certificate that signs Windows' boot manager and the Microsoft UEFI CA 2011 that signs third-party boot code such as Linux's shim and the option ROMs on add-in cards. On Secured-core PCs, Microsoft's specification says the third-party UEFI CA is "not trusted by default". The 2023 successors, Windows UEFI CA 2023, Microsoft UEFI CA 2023, Microsoft Option ROM UEFI CA 2023 and Microsoft Corporation KEK 2K CA 2023, are the subject of Chapter Four.

Above the boot chain, Microsoft holds the kernel and, on capable hardware, the hypervisor that runs virtualization-based security. The door into the kernel for everyone else is Microsoft's signature: "Starting with Windows 10, version 1607, Windows will not load any new kernel-mode drivers which are not signed by the Dev Portal". The exceptions Microsoft lists are narrow: machines upgraded from earlier releases, machines with Secure Boot off, and drivers signed with certificates issued before 29 July 2015. Since the Windows 11 2022 update, Microsoft's vulnerable driver blocklist is on by default for all devices. That signature is a statement about who submitted a driver. It is not a statement about the content the driver will later read, which is why third-party security sensors are drawn in gold.

Windows usually carries many push channels, because the open PC has many authorities: Windows Update, the PC maker's firmware and driver tool, the EDR vendor, the customer's own Intune or Configuration Manager, and every application's updater. The customer's power is correspondingly large: rings and deferrals for Windows Update, App Control for Business to decide what may run, BitLocker and Secure Boot policy, and, with the PC maker's tools, the right to replace the key stores entirely.

Figure 2.1
Windows: an open chain with many signers, and Microsoft's signature at the kernel door
Trust map for Windows 11 Enterprise: key holders, the six layers from boot to apps, and the update channelsWindows 11 Enterprise trust map. Keys: app publishers, your organization's App Control policy and BitLocker keys, Microsoft for kernel drivers, the kernel and the hypervisor, the PC maker for the Platform Key with Microsoft's KEK and DB certificates. Layers from top: apps, policy and sandbox, third-party kernel code, kernel, VBS below the kernel, boot. Channels: app updaters, Intune, the EDR vendor, Windows Update, the PC maker's tool. Dark boxes: the platform vendor holds it. Gold: a third party. White: you, the customer. Dashed arrows: signs or holds the key. Solid arrows: pushes changes.WHO HOLDS THE KEYSTHE CHAIN, TOP TO BOTTOMWHO PUSHES CHANGESFIRMWARE AND SILICON BENEATH (A DEPENDENCY, NOT A SIXTH PLATFORM)THE CUSTOMER'S COLUMN: WHAT YOU MAY CHANGEApps: Store, MSIX, MSI, any signed or unsigned programSmartScreen and Smart App Control judge reputationApp publisherssign their code;SmartScreen reputationApp updatersStore, and eachvendor's ownPolicy and sandbox: AppContainer, App Control for Business,Defender, Group Policy or Intune settingsYour organizationApp Control policy,BitLocker keysIntune or Config Mgryour admins pushapps and policyThird-party kernel code: drivers, EDR sensors and their contentvulnerable driver blocklist on by defaultMicrosoft signs everynew kernel driver(since 1607)EDR vendorsensor and contenton its own cadenceKernel: the Windows NT kernelwritten, built and signed by MicrosoftMicrosoftwrites, builds andsigns the kernelWindows Updatemonthly; rings viaAutopatch or WUfBBelow the kernel: Hyper-V based VBS and memory integrityon by default on many new devices that qualifyMicrosofthypervisor andVBSBoot: UEFI firmware, Secure Boot (DB, DBX), Boot Manager, ELAMeach step measured into the TPMPC maker: PK, orMicrosoft-managed PK;Microsoft: KEK and DBPC maker toolfirmware anddriversCPU microcode (through firmware or Windows Update) · TPM 2.0 or Pluton (Pluton firmware written by Microsoft, shipped by Windows Update)Intel ME or AMD PSP · UEFI code from an independent BIOS vendor, signed and shipped by the PC makerYou may: ring and defer updates; enforce App Control and the driver blocklist; set Secure Boot and BitLocker policy;stage EDR content where the vendor allows it; with the PC maker's tools, replace the Secure Boot key stores.You may not: change the kernel, or load a kernel driver that Microsoft has not signed while Secure Boot is on.
On Windows the PC maker, Microsoft and third-party driver and security vendors each hold a link, and the customer owns the policy that ties them together.
Author's diagram based on Microsoft Learn: Secure Boot key creation and management guidance; kernel-mode code signing policy; memory integrity; Microsoft recommended driver block rules; Pluton; KB5062710 (all checked 18 November 2026).

macOS and iOS: one vendor from the chip up

Apple designs the chip and writes the firmware and the operating system, and it runs the main store. On a Mac with Apple silicon, the chain of trust starts in silicon: the Apple Platform Security guide describes the Boot ROM as "the first step in the chain of trust", followed by the Low-Level Bootloader (LLB) and iBoot, which load the kernel. The Secure Enclave runs its own boot chain from its own Boot ROM. The operating system itself lives on the Signed System Volume, introduced in macOS 11, and the guide documents kernel integrity protection and, on chips from M2 and A15 onward, a Secure Page Table Monitor that works with a Trusted Execution Monitor to protect the kernel's page tables. On iPhone and iPad it "replaces the PPL", the page protection layer of earlier chips, which Apple never used in macOS.

The Mac keeps one door the iPhone does not: the owner can lower startup security. Full Security is the default; third-party kernel extensions load only after the owner selects Reduced Security in recoveryOS and approves them. Since macOS 10.15 Catalina in 2019, Apple has moved third-party drivers and security tools to system extensions and DriverKit, which run "in user space rather than at the kernel level". By default, Gatekeeper opens software from outside the Mac App Store only if it is signed by a registered developer and notarized by Apple; a user or an MDM policy can make exceptions (Figure 2.2).

Figure 2.2
macOS on Apple silicon: one vendor from the boot ROM to the kernel, third parties moved to user space
Trust map for macOS 27 on Apple silicon: key holders, six layers, update channelsmacOS 27 on Apple silicon trust map. Keys: Apple for App Review, notarization, Developer ID, kernel, chip and boot ROM; your organization for MDM profiles. Layers from top: apps, policy and sandbox, third-party code in user space, kernel, with the system on the Signed System Volume, kernel integrity protection, boot chain with the Secure Enclave. Channels: app updaters, MDM, the EDR vendor's Endpoint Security client, Apple Software Update, firmware inside macOS updates. Dark boxes: the platform vendor holds it. Gold: a third party. White: you, the customer. Dashed arrows: signs or holds the key. Solid arrows: pushes changes.WHO HOLDS THE KEYSTHE CHAIN, TOP TO BOTTOMWHO PUSHES CHANGESFIRMWARE AND SILICON BENEATH (A DEPENDENCY, NOT A SIXTH PLATFORM)THE CUSTOMER'S COLUMN: WHAT YOU MAY CHANGEApps: Mac App Store, or Developer ID signed and notarizedGatekeeper checks before first launchAppleApp Review, or DeveloperID and notarizationApp updatersApp Store, or eachvendor's ownPolicy and sandbox: App Sandbox, privacy consent (TCC),System Integrity ProtectionYour organizationMDM profiles: privacyconsent, extensionsMDM, declarativeyour admins: defer1 to 90 days, enforceThird-party code: system extensions and DriverKit in user space;kernel extensions only after lowering startup securityAppleDeveloper ID forsystem extensionsEDR vendorEndpoint Securityclient, user spaceKernel: XNU, written, built and signed by Applethe system itself on the Signed System VolumeApplewrites, builds andsigns the kernelSoftware UpdateApple releases andsecurity improvementsBelow the kernel: kernel integrity protection, page protection(SPTM with TXM on M2 and later)Applein the chipBoot: Boot ROM, LLB, iBoot, kernel; Full Security by defaultthe Secure Enclave runs its own boot chainApple: Boot ROMin silicon; owner maylower startup securityFirmwareships insidemacOS updatesApple system on a chip: Boot ROM and Secure Enclave in silicon; firmware updated with macOS itselfApple is the chip, firmware and operating system vendor: there is no separate PC-maker channelYou may: defer updates 1 to 90 days and enforce a date through MDM; approve or block system extensions; preset privacyconsent; require Full Security. The owner, locally in recoveryOS, may lower startup security to load kernel extensions.You may not: hold the boot keys, sign or patch the kernel, or install firmware from anyone but Apple.
Apple holds every key below the apps; the customer's power is MDM policy and the owner's local choice to lower startup security.
Author's diagram based on the Apple Platform Security guide (boot process for a Mac with Apple silicon; startup security; system extensions; kernel integrity protection; Signed System Volume) and Apple Platform Deployment, Software Update declarative configuration (checked 18 November 2026).

The iPhone closes the remaining doors (Figure 2.3). There is no third-party kernel code and no owner setting to lower boot security. "All third-party apps are sandboxed", in the words of Apple's guide. Since iOS 17.4 in March 2024, users in the European Union can install apps from alternative marketplaces under the EU's Digital Markets Act, and since iOS 26.2 Apple has made further changes in Japan under that country's Mobile Software Competition Act. Those changes add distribution channels; they do not add signers. For apps in the EU, Apple states that its notarization "applies to all apps, regardless of their distribution channel".

Both platforms push security fixes through Apple's Software Update, and since iOS 26.1, iPadOS 26.1 and macOS 26.1 also through Background Security Improvements, small security fixes delivered between releases. The first shipped on 17 March 2026. The customer's power on both is MDM policy: Apple's declarative software-update settings let an organization defer updates by 1 to 90 days and enforce a deadline; supervised iPhones accept tighter restrictions; Lockdown Mode, available since iOS 16 and macOS Ventura, narrows the attack surface for people at high risk.

Figure 2.3
iOS: the shortest chain, no third-party kernel code, and almost every key in one hand
Trust map for iOS 27 on a supported iPhone: key holders, six layers, update channelsiOS 27 trust map. Keys: Apple for App Review, notarization, kernel, chip and boot ROM; your organization for MDM. Layers from top: apps through the App Store or regulated alternatives, sandbox and policy, no third-party kernel code (no third-party signer or channel), kernel, kernel integrity protection, boot chain. Channels: App Store or alternative marketplace, MDM, Apple Software Update, firmware inside iOS updates. Dark boxes: the platform vendor holds it. Gold: a third party. White: you, the customer. Dashed arrows: signs or holds the key. Solid arrows: pushes changes.WHO HOLDS THE KEYSTHE CHAIN, TOP TO BOTTOMWHO PUSHES CHANGESFIRMWARE AND SILICON BENEATH (A DEPENDENCY, NOT A SIXTH PLATFORM)THE CUSTOMER'S COLUMN: WHAT YOU MAY CHANGEApps: App Store; EU alternative marketplaces (iOS 17.4);Japan changes (iOS 26.2); store apps reviewed, EU apps notarizedApplereviews, signs App Storeapps; notarizes EU onesApp Store or analternativemarketplacePolicy and sandbox: every third-party app sandboxed;entitlements; Lockdown Mode for people at high riskYour organizationMDM supervisionand restrictionsMDM, declarativedefer 1 to 90 days,enforce by dateThird-party kernel code: nonesecurity tools run as sandboxed apps or as MDM policyKernel: XNUwritten, built and signed by AppleApplewrites, builds andsigns the kernelSoftware UpdateApple releases andsecurity improvementsBelow the kernel: kernel integrity protection, page protection(PPL; SPTM with TXM on A15 and later)Applein the chipBoot: Boot ROM, iBoot, kernel; the Secure Enclave boots itselfno owner setting to lower boot securityAppleBoot ROM in siliconFirmwareships insideiOS updatesApple A-series chip: Boot ROM and Secure Enclave in silicon; firmware ships with iOS updatesOne vendor for chip, firmware, operating system and the main storeYou may: supervise company iPhones; defer updates 1 to 90 days and enforce a date; restrict app sources, features anddata flows between managed and personal apps. You may not: add kernel code, change the boot chain, or run an app outsideApple's signing system. In the EU and Japan the user gains distribution channels; Apple still notarizes the app.Noneno third-partykernel signerNoneno third-partykernel channel
Apple reviews and signs App Store apps and notarizes EU alternative distribution; the customer's power is supervision, deferral and restriction.
Author's diagram based on the Apple Platform Security guide (boot process; app security; kernel integrity protection), Apple Developer, DMA and apps in the EU, Apple Newsroom (Japan, 17 December 2025) and Apple Platform Deployment (checked 18 November 2026).

Linux: the community, the distribution and the owner

Linux has no single platform vendor. The kernel comes from kernel.org; a distribution builds, signs and supports it with thousands of packages; the owner can replace any of it. On a PC with Secure Boot, the first Linux code to run is shim, which the shim project describes as "a first-stage UEFI bootloader" that checks the next stage "against a built-in certificate", the distribution's. Shim itself is trusted because Microsoft's UEFI CA signed it. The owner can enroll additional keys as Machine Owner Keys (MOK). Revocation moved from lists of hashes to generation numbers with SBAT, first shipped in shim 15.3 in March 2021 after the BootHole flaw showed how slow hash revocation was (Chapter Four).

The kernel's lockdown feature, merged in Linux 5.4 in November 2019, limits how far even the root user can change the running kernel. On the enterprise profiles in this book, Red Hat Enterprise Linux and Ubuntu, third-party kernel modules, from EDR sensors to GPU drivers, must be signed to load when Secure Boot is on; that is the distribution's policy, not a rule of UEFI itself. Policy is the distribution's choice: Red Hat Enterprise Linux runs SELinux enforcing by default on new installs, while Ubuntu loads AppArmor by default. Both confine what a program may do once it runs; deciding which programs may run at all is a separate tool, such as fapolicyd, Red Hat's application allowlisting framework, which by default trusts what the RPM package manager installed.

The two Linux profiles differ more in their clocks than in their code (Figure 2.4). The enterprise profile rents a support clock: Red Hat documents a ten-year Full and Maintenance Support lifecycle for each major release, and Canonical gives Ubuntu 24.04 LTS standard security maintenance to May 2029, expanded maintenance with Ubuntu Pro to May 2034, and a Legacy add-on beyond that. The community profile has source and speed, and no one under contract. In both, the owner may hold every key, from the Platform Key to the module-signing key, and that is the real distinction: on Linux, you can own the rows other platforms only let you configure, and then you own their clocks too.

Figure 2.4
Linux: two profiles, one rule: you may hold every key, and then you hold every clock
Trust map for Linux, enterprise and community profiles: key holders, six layers, update channelsLinux trust map with two profiles. Keys: distributions sign packages and kernels, module signers including the owner through Machine Owner Keys, Microsoft's UEFI CA signs shim. Layers from top: packages, SELinux or AppArmor policy, signed out-of-tree modules and eBPF, the kernel with lockdown, usually nothing below the kernel on bare metal, boot through shim and GRUB with SBAT. Channels: package manager, configuration management, module vendors, kernel packages, fwupd and LVFS. Dark boxes: the platform vendor holds it. Gold: a third party. White: you, the customer. Dashed arrows: signs or holds the key. Solid arrows: pushes changes.WHO HOLDS THE KEYSTHE CHAIN, TOP TO BOTTOMWHO PUSHES CHANGESFIRMWARE AND SILICON BENEATH (A DEPENDENCY, NOT A SIXTH PLATFORM)THE CUSTOMER'S COLUMN: WHAT YOU MAY CHANGEApps: distribution packages; Flatpak or Snap; vendor repositorieseach repository key is a root you chose to trustDistributionsigns repositorymetadata and packagesPackage managerdistribution reposand errataPolicy: SELinux enforcing (RHEL), AppArmor (Ubuntu);systemd service sandboxingYour organizationSELinux or AppArmorpolicy, sudo rulesConfig managementyour admins andtheir toolsThird-party kernel code: out-of-tree modules (EDR, GPU) must besigned to load under Secure Boot; eBPF programs, verifiedModule signerdistribution, vendor,or you via MOKEDR or GPU vendormodule packageson its own cadenceKernel: Linux from kernel.org, built by the distributionlockdown (since 5.4) limits root changes to the running kernelDistributionbuilds and signs thekernel, or you doKernel packagesfrom thedistributionBelow the kernel: usually nothing on bare metal;a KVM or cloud hypervisor when virtualizedNone by defaulton bare metalBoot: UEFI, shim, GRUB, kernel; SBAT revokes by generationcommunity installs may run with Secure Boot offMicrosoft UEFI CAsigns shim; the ownermay enroll own keysfwupd and LVFSfirmware, where themaker uploads itThe PC or server underneath: CPU microcode (a distribution package or firmware), TPM, a BMC on serversFirmware reaches Linux through LVFS only where the hardware maker takes part; otherwise through the maker's own toolEnterprise profile (RHEL 10, Ubuntu 24.04 LTS): a contracted support clock, RHEL 10 years, Ubuntu 5 (10 with Pro).Community profile (for example Debian or Fedora): source and speed, no contract. In both you may own every key, rebuildand sign the kernel, pin and mirror packages and write the policy. Most PCs still trust shim through Microsoft's UEFI CA.
The enterprise profile rents a support clock from the distribution; the community profile trades the contract for source and speed; both can be owned down to the boot keys.
Author's diagram based on the shim README and SBAT.md (rhboot/shim), Microsoft Secure Boot key guidance, Linux kernel lockdown (5.4), Red Hat and Ubuntu lifecycle and security documentation, and fwupd.org (checked 18 November 2026).

Android: open source, shipped by many makers

Android's code is open, its kernel is Linux, and its biggest authority on any one device is usually neither Google nor the customer. It is the device maker, which holds the boot keys, builds the image, adds the chip maker's drivers and decides when updates ship (Figure 2.5). Android Verified Boot, part of the platform since Android 8.0, checks each partition from "a hardware-protected root of trust to the bootloader" onward; an unlocked device shows the orange boot state. Since Android 12, devices launching with kernel 5.10 or later use Google's Generic Kernel Image, which moves chip and board support "out of the core kernel into loadable vendor modules". Google's certified monthly GKI releases carry a "Google inserted certificate" attesting that they were built from a known source baseline; the maker adds its modules and signs the device image under its own Verified Boot key. Where the hardware supports it, the Android Virtualization Framework, introduced in Android 13, runs a protected hypervisor, pKVM, below the kernel.

Above the kernel, Android isolates apps with one Linux user ID per app, "a kernel-level Application Sandbox", and SELinux has been fully enforcing since Android 5.0. Since Android 10, Google can update core system components directly as Mainline modules through Google Play system updates. Google publishes a security bulletin each month and notifies its Android partners of the issues "at least a month before publishing". From there, each maker runs its own clock.

So the Android profile you buy decides the clock you get. On a Pixel, Google is the maker, and since the Pixel 8 in October 2023 has promised seven years of OS and security updates. A large-maker flagship runs on that maker's published promise. A low-cost device may have a short promise or none published. The customer's power is the profile choice plus management through an enterprise mobility management (EMM) console: a work profile or a fully managed device, a minimum patch level for access, a block on sideloading, and an update policy that can postpone a system update once for up to 30 days or freeze updates for periods of up to 90 days. Android's own documentation notes that the 30-day postponement does not hold back monthly security patches, and that freeze periods do. Since 30 September 2026, apps installed on certified devices in the four first countries must come from developers verified with Google, with a global rollout planned for 2027; unregistered apps can still be installed through the Android Debug Bridge or an "advanced flow".

Figure 2.5
Android: three profiles, one platform, and the device maker standing between Google's fix and your device
Trust map for Android, Pixel, large-maker and low-cost profiles: key holders, six layers, update channelsAndroid trust map with three profiles. Keys: app developers and Google Play, your organization through Android Enterprise, chip and device makers for vendor modules and boot keys, Google for the Generic Kernel Image and AVF. Layers from top: apps, sandbox and SELinux, vendor kernel modules, kernel in the maker's image, pKVM where supported, Verified Boot. Channels: Google Play, Play system updates, device maker OTA, the monthly bulletin, maker firmware. Dark boxes: the platform vendor holds it. Gold: a third party. White: you, the customer. Dashed arrows: signs or holds the key. Solid arrows: pushes changes.WHO HOLDS THE KEYSTHE CHAIN, TOP TO BOTTOMWHO PUSHES CHANGESFIRMWARE AND SILICON BENEATH (A DEPENDENCY, NOT A SIXTH PLATFORM)THE CUSTOMER'S COLUMN: WHAT YOU MAY CHANGEApps: Google Play; sideloading with user consent; verifieddevelopers on certified devices from 30 Sep 2026 (four countries)App developerssign apps; GooglePlay reviews themGoogle Playapp updates;Play Protect scansPolicy and sandbox: one Linux user ID per app,SELinux enforcing since Android 5.0, runtime permissionsYour organizationwork profile or fullymanaged devicePlay system updatesMainline modules(Android 10+)Third-party kernel code: chip and device-maker vendor modulesbeside the Generic Kernel Image (Android 12+, kernel 5.10+)Chip and devicemakers ship vendorkernel modulesDevice maker OTAPixel: Google; others:the maker's scheduleKernel: Linux, the Android common kernelinside the device maker's signed imageGoogle certifiesthe GKI; the makersigns the imageMonthly bulletinGoogle publishes;makers ship on their clockBelow the kernel: pKVM for the Android Virtualization Framework(Android 13+, arm64, device dependent)GoogleAVF, where thedevice supports itBoot: boot ROM, bootloader, Android Verified Boot (8.0+) checkseach partition; an unlocked device shows the orange stateDevice makerholds the boot keys;owner may unlockDevice makerfirmware insideits OTA imagesChip maker firmware and the baseband radio · secure element where present (Titan M2 on Pixel 6 and later; StrongBox keys from Android 9)On Pixel, Google is also the device maker; on every other profile, the device maker sits between Google's fix and the deviceThree profiles: Pixel (Google is the maker; seven years of updates from Pixel 8), large-maker flagship (the maker's own clock),low-cost device (short or unpublished update promise). You may: pick the profile, require a minimum patch level and blocksideloading through your EMM, separate work data in a work profile. You may not: patch the maker's image yourself.
Google writes the fix and publishes the bulletin, but the device maker signs the image and sets the clock, so the profile you buy decides the clock you get.
Author's diagram based on source.android.com (Verified Boot, app sandbox, SELinux, Generic Kernel Image, Android Virtualization Framework, Mainline, security bulletins), Android Developers (developer verification, Keystore) and Google's Pixel 8 announcement (checked 18 November 2026).

The customer's column

Most platform comparisons score features. This one scores what you are allowed to change, because that decides which rows you can own at all.

The customer mayWindowsmacOSiOSLinuxAndroid
Hold or replace the boot keysYes, with the PC maker's toolsNot Apple's root; at Permissive Security the owner can boot a locally signed kernelNoYes: MOK, or your own PKOnly by unlocking, which changes the boot state
Revoke boot codeDBX updates (Microsoft), or your ownApple onlyApple onlySBAT and DBX; your own keysDevice maker only
Run third-party kernel codeYes, Microsoft-signed; blocklist onOnly at Reduced Security, set by the owner locallyNoYes, signed modulesMaker's choice
Decide what apps may runApp Control for BusinessMDM and Gatekeeper policyMDM restrictions; Apple reviews and signs App Store apps, and EU alternative distribution is notarizedYour repositories; fapolicyd allowlisting on RHELEMM policy; sideloading block on managed devices
Delay OS updatesRings and deferrals1 to 90 days, with a deadline1 to 90 days, with a deadlineIndefinitely: you run the repositoriesOne 30-day postponement per update, or freeze periods up to 90 days
Stage third-party contentWhere the EDR vendor allowsWhere the vendor allowsNot applicableWhere the vendor allowsNot applicable
Patch the platform yourselfNoNoNoYesNo
Firmware and siliconChoose PC maker and model; stage its firmware toolTake Apple's firmware with macOSTake Apple's firmware with iOSUse LVFS where the maker takes partChoose the maker; its images carry the firmware
How it got this way

Each trust model is the shadow of a business model. The open PC let any maker build hardware and any company write drivers and software; Windows had to trust many signers, and the customer received the most configuration power, along with the most authorities to watch. Apple integrated chip, firmware, operating system and store, so it could close doors the PC had to leave open. The App Store opened on 10 July 2008 with every third-party app sandboxed, and since 2019 Apple has moved most third-party drivers and security tools on the Mac out of the kernel into user space. Linux grew as a community kernel shipped by distributions, so trust follows the distribution's keys and the owner's choices, and support became a product sold separately from the code. Android took the open-source road through many device makers, so the platform vendor writes the fix and a separate company signs and ships it; Generic Kernel Images and Mainline modules are Google's attempts to shorten that second step.

What hasn't changed: the more keys one vendor holds, the less the customer can change, and the fewer parties a fix must pass through on its way to a device. That is a statement about path length, not about speed, and it is measured per case. On 17 March 2026 Apple shipped its first Background Security Improvement, a WebKit fix delivered between releases; Google, by its own rule, tells Android makers of each month's issues at least a month before the bulletin, and when each maker's fix reaches its devices is that maker's clock, often not published. Checked 18 November 2026.

The unseen angle

The trust model is part of what you buy, and it is rarely in the purchase decision. A tablet's price is on the quote; its update promise, the profile that decides its patch clock and support end, is on a support page that may not exist for a low-cost model. Before buying any device class, write its platform profile and fill the customer's column for it. If a cell reads "the maker decides" and the maker has published nothing, the ledger entry is "np", and the price is not the whole cost. One way to get the promise in writing is Google's Android Enterprise Recommended program: makers of listed knowledge-worker devices commit to 90-day security updates and must publish "the end date when the device is guaranteed to receive security updates". Source: the customer's column above; Android Developers, SystemUpdatePolicy; Apple Platform Deployment, Software Update declarative configuration; Google, Android Enterprise Recommended devices.

Compare platforms by what you are allowed to change, not by what they can do. The first decides what you can own.

These rows in the Trust Ledger

This chapter adds no new rows; it fills the platform-profile field of each company's header. The worked example is Corvane Hotels' mixed fleet, where one management row splits into three because each platform has its own authorities and clock.

CompanyPlatform profiles in the header
Halbrook BankBranch desktops: Windows 11 Enterprise, Intune-managed. Advisor phones: iOS 27, supervised. Customer app: iOS and Android, unmanaged (the customer's device). Advisor desktops: virtual desktops on a rented cloud hypervisor (HV row, Chapter Three)
Corvane HotelsKiosks: Windows 11 IoT Enterprise LTSC 2024. Front-desk tablets: Android, low-cost profile, fully managed. Signage: Linux, enterprise profile (Ubuntu 24.04 LTS)
Larkfield SoftwareIts customers' desktops: all five profiles, not managed by Larkfield. Its own build machines: Linux, enterprise profile (Chapter Eight)
ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
MU kiosks: Windows Update for IoT Enterprise LTSC 2024; PC maker tool; EDR contentMicrosoft; kiosk maker; EDR vendor; Corvane endpoint teamAbout 3,000 kiosks at 300 propertiesT1 Patch Tuesday; T3 to measure (O)Rings by property group; field visit if a kiosk will not startO (Intune reports)Microsoft: 10 Oct 2034Rent the OS; Own the rings; Pin the LTSC release to 2034. Owner: head of property IT
MU front-desk tablets: maker OTA, Play system updates, EMMDevice maker; Google; Corvane via EMMOne tablet per desk; customer data on screenBulletin monthly; maker's T1: npPostpone 30 days; freeze up to 90; no rollbackO (EMM patch level)Maker's promise: npRent; replace with a profile that publishes an update promise at next refresh. Owner: head of property IT
MU signage: Ubuntu archive, Landscape or config tool, fwupdCanonical; Corvane; hardware maker through LVFS where it takes partPublic screens in every lobbyUbuntu notices; T3 to measureCorvane pins and mirrors packages; rebuild from imageO (package versions)Standard May 2029; Pro May 2034Own the mirror and schedule; Isolate signage from the kiosk and payment networks. Owner: signage lead
Security lens

Who can change it? On Windows, many signers and many channels, with the most configuration left to you. On macOS and iOS, Apple below the apps. On Linux, the distribution, or you. On Android, Google, the chip maker and, above all, the device maker.

How fast can it be fixed? The number of parties between the fix and the device sets the path; the customer's own rollout sets the rest. A mixed fleet runs at the speed of its slowest profile, which for Corvane is the low-cost tablet whose maker publishes no clock.

What does AI change here? Our view (as of November 2026): AI-assisted analysis of each platform's monthly fixes makes the time between a published fix and a working attack shorter on every platform. That penalizes long paths from fix to device, and it makes the Android maker's step and the customer's own deferral settings the two places to measure first.

Business implications

Security. Control and the patch path trade against each other. Halbrook gets the most control on Windows and the shortest path on iOS; it needs both in its ledger, row by row, rather than a single platform preference.

Cost. A mixed fleet pays for five trust models: Corvane pays for Windows rings, an EMM for Android, a mirror for Linux, and three different support calendars, and it runs at the slowest one's clock. Larkfield pays for all five on its customers' desktops without managing any of them.

Visibility. Each platform exposes different telemetry: Windows event tracing and Intune reports, Apple's MDM inventory and Endpoint Security framework, Android's EMM patch level, Linux package databases and audit logs. Appendix G maps them per row.

Value. The trust model is part of the product. A cheaper tablet with no published update promise carries a cost the quote does not show, and a platform that lets you own the keys is worth paying for only if you will staff the rows you then own.

Monday rule: write the exact platform profile for every device class you run, and fill in the customer's column for each before the next purchase.

Our view, as of November 2026

The five trust models are converging at the top and diverging at the bottom. Apps on every platform are moving toward verified developers and sandboxes: Android's developer verification in 2026 is the latest step. Below the kernel, the gap between platforms where one vendor holds every key and platforms where the customer may hold them will remain, because it follows the business models in the history box. We expect regulators to keep widening app distribution on phones without widening who signs the kernel.

Part II · Below the OS

Chapter Three

Silicon and the Computers Inside the Computer

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 3 January 2018, the day Google's Project Zero published the flaws that became known as Spectre and Meltdown, Microsoft told Azure customers that "the majority of Azure infrastructure has already been updated" and that it would begin "automatically rebooting the remaining impacted VMs starting at 3:30pm PST" that afternoon. The self-service maintenance window "has now ended". Picture Halbrook Bank's advisors on cloud desktops that day: the fix for a flaw in the processor under their sessions was applied by someone else, on someone else's clock, and Halbrook's part was a maintenance notice and, once the self-service window had closed, a reboot it did not schedule. This chapter is about that layer, and it moves silicon from a purchase made once to a Trust Ledger row with owners, a patch clock and a record of which fix is actually running.

Seven months under embargo, one week of patches

Begin with the dates. Project Zero's post says the team "reported this issue to Intel, AMD and ARM on 2017-06-01". It named three variants: bounds check bypass (CVE-2017-5753) and branch target injection (CVE-2017-5715), together called Spectre, and rogue data cache load (CVE-2017-5754), called Meltdown. The idea behind all three is speculative execution: to stay fast, a processor guesses which instructions come next and runs them before it knows the guess is right. Wrong guesses are thrown away, but they leave traces in shared caches, and timing those traces can leak memory the program was never allowed to read. A side channel is exactly that: a leak through timing or another physical effect rather than through a broken permission check.

The coordinated plan was to publish on 9 January 2018. Google's security blog explains why that did not happen: "We are posting before an originally coordinated disclosure date of January 9, 2018 because of existing public reports and growing speculation in the press and security research community about the issue." So the public clock started on 3 January.

Several fixes were already in place by then. Apple says it "has already released mitigations in iOS 11.2, macOS 10.13.2, and tvOS 11.2 to help defend against Meltdown"; Apple's security release list dates macOS High Sierra 10.13.2 to 6 December 2017, four weeks before anyone outside the embargo knew why. Linux 4.14.11, released on 2 January 2018, carried kernel page table isolation (KPTI). Microsoft published advisory ADV180002 on 3 January with Windows updates. Apple's Spectre mitigations followed on 8 January in iOS 11.2.2 and a macOS 10.13.2 Supplemental Update.

The hardware half of the fix took longer and went backwards once. Intel's advisory INTEL-SA-00088, released 3 January, included "updated Intel microprocessor microcode to our customers and partners". Three weeks later, Microsoft's KB4078130 records, Intel reported that this microcode could cause "higher than expected reboots and other unpredictable system behavior", and "on January 22, Intel recommended that customers stop deploying the current microcode version". Microsoft then shipped an out-of-band update that turned off only its own CVE-2017-5715 mitigation, so that machines that had taken the faulty microcode would stop rebooting.

Figure 3.1
From report to running fix: three CPU flaws, three clocks
Timeline of Spectre and Meltdown, Downfall and Zenbleed from report to fixSpectre and Meltdown: reported to Intel, AMD and ARM 1 June 2017; public on 3 January 2018, with Windows and Linux fixes that week. Intel microcode: released to partners on 3 January 2018, and on 22 January Intel recommended customers stop deploying it. Downfall: reported 24 August 2022, public with microcode 8 August 2023. Zenbleed: reported 15 May 2023, public with server microcode 24 July 2023; client AGESA firmware to OEMs from 21 November 2023 to 15 April 2024; arrival on devices not published, shown as a gap to this book's source freeze.2017201820192020202120222023202420252026Spectre, MeltdownOS fixesreportedpublic; OS fixesSpectre v2Intel microcodeissued 3 Jan; stop 22 JanDownfallreportedpublic; microcodeZenbleedserverreportedpublic; microcodeZenbleedclient firmwarenp: arrival on devicesAGESA to OEMs, Nov 2023 to Apr 2024DisclosedFix releasedOn devicesStopped or exploitednp: not published
Spectre and Meltdown sat under embargo for seven months and Downfall for almost a year; Zenbleed's client firmware reached OEMs up to nine months after disclosure, and its arrival on devices was not published.
Source: Google Project Zero and Google Security Blog (3 Jan 2018); Apple support 101886 and security releases; MSRC ADV180002; Linux 4.14.11 changelog; Microsoft KB4078130; downfall.page and INTEL-SA-00828; AMD-SB-7008; lock.cmpxchg8b.com/zenbleed. Checked 18 Nov 2026.

Two lessons come out of that month and recur through this book. The first is that the operating system fix and the silicon fix are different rows with different owners: Microsoft, Apple and the Linux maintainers could ship kernel changes in days, while the microcode had to pass from the CPU vendor through OEMs before it could run on a device. The second is that a fix can be withdrawn. A fleet that recorded only "patched" on 10 January would have recorded the wrong thing on 23 January. Was any of this exploited? The researchers' own answer, on the Meltdown and Spectre site, is: "We don't know." Book 1, Chapter 4 named Spectre in one line; this chapter is where the clock gets measured.

Downfall and Zenbleed: the same shape, five years later

Two later flaws show that 2018 was not a one-off. Downfall (CVE-2022-40982) abuses the vector Gather instruction on many Intel processors to read data left in an internal register file by other programs on the same core. Its discoverer, Daniel Moghimi, writes that he "reported this vulnerability to Intel August 24, 2022"; Intel published INTEL-SA-00828 on 8 August 2023, almost a year later. The fix is a microcode update, and Intel states its cost plainly: "Although the performance impact to most workloads is minimal, specific workloads may show performance impacts of up to 50%." Intel adds that the microcode "provides an MSR interface that allows software to opt-out of the mitigation", and on Linux the boot parameter gather_data_sampling=off does so. In other words, the owner of the workload can switch the fix off for speed, and somebody has to decide whether they may.

Zenbleed (CVE-2023-20593) leaks register contents across processes on AMD "Zen 2" processors. Tavis Ormandy of Google reported it to AMD on 15 May 2023, and AMD published bulletin AMD-SB-7008 on 24 July 2023. The bulletin's own table is the most useful patch clock in this chapter, because it lists dates per product line. Server microcode for second-generation EPYC "Rome" processors is dated 6 June 2023, before disclosure. The firmware packages that client machines need (AMD's AGESA, which OEMs build into their BIOS) were released to OEMs much later: 21 November 2023 for one Threadripper line, 7 February to 20 March 2024 for desktop parts, 29 February 2024 for "Renoir" mobile chips, and 15 April 2024 for Ryzen Embedded V2000. The bulletin was revised five times after first publication, mostly to move those dates. After AGESA, each OEM must build, test and publish its own BIOS, and when that reached any given laptop or kiosk is not published anywhere in one place.

For a fleet owner, Zenbleed's lesson is the gap between the first two kinds of owner. A data centre running Linux could load AMD's server microcode through the OS the week the bulletin appeared. A fleet of business laptops waited for AGESA, then for its OEM, then for its own BIOS rollout. Same flaw, same vendor, clocks nine months apart. Two details sharpen the gap. The discoverer documented a stopgap anyone could apply at once: setting a "chicken bit", a bit in a model-specific register (MSR) that switches off the faulty optimization, at some performance cost. And on Windows the microcode updates Microsoft documents (KB4093836) are Intel's; for Zenbleed, AMD's client fix travelled through AGESA and the OEM's BIOS.

Microcode has two owners

Microcode is the processor's own internal program, which the CPU vendor can patch after the chip ships. The patch is not burned in; it is loaded each time the processor starts. It can come from two places, and the difference matters more than most fleet reports show.

Who may sign microcode is itself an authority, and in 2025 it was bypassed. In EntrySign (CVE-2024-56161), Google's researchers showed that AMD's microcode signature check used an insecure hash, so that an attacker with local administrator rights could load microcode of their own on Zen 1 to Zen 4 processors; Zen 5 was added to the advisory on 7 April 2025. Google reported it to AMD on 25 September 2024 and published on 3 February 2025. The fix could not take the fast route: Ubuntu's advisory states that an OEM BIOS update is required and that the OS microcode package cannot resolve it alone. Google also warned that the flaw threatened confidential virtual machines (AMD's Secure Encrypted Virtualization, SEV-SNP); tenants could confirm the fix from the firmware version values in their attestation reports.

Whether a fix arrives at all is the vendor's call too. SinkClose (CVE-2023-31315) let code with kernel (ring 0) access change the processor's System Management Mode configuration on many AMD chips. AMD's bulletin AMD-SB-7014, first published on 9 August 2024, was revised on 14 August to give Ryzen 3000 desktop chips a mitigation target, on 19 August to say that fix was available, and on 30 October to add mitigations for older parts, including Ryzen 2000 desktop chips. For a fleet, the bulletin's product list is part of the support end date.

The operating system's loader normally applies its patch only if it is newer than the revision already loaded, so the revision actually running depends on the BIOS version, the OS update state and, on Linux, whether the initrd was rebuilt. Two kiosks with the same model number can run different microcode. Some protections care about the path too: for Intel Software Guard Extensions (SGX), its secure-enclave feature, Intel says the Downfall fix attests as up to date only when the patch is loaded from platform flash, "for example, with an updated BIOS".

The kernel's own developers have started to make this visible. A 2025 Linux change (commit 4e2c719782a8, "x86/cpu: Help users notice when running old Intel microcode") added a file at /sys/devices/system/cpu/vulnerabilities/old_microcode that reports when the loaded microcode is older than the newest release the kernel knows. Its commit message is blunt: "it is as important to keep your microcode up to date as it is to keep your kernel up to date." The practical rule for the Trust Ledger follows: the SI row records the effective microcode revision per device, read from the running system (on Linux, /proc/cpuinfo and that file), not the BIOS version from the purchase record.

When software cannot fix the silicon

Microcode cannot fix everything. Some flaws live in parts of the chip that no update reaches, and then the mitigation is software working around the hardware, or a newer chip.

GoFetch (March 2024) targets the data memory-dependent prefetcher (DMP) in Apple's M-series chips, a unit that fetches memory it predicts a program will need and can be made to treat secret data as addresses. The researchers disclosed it to Apple "on December 5, 2023 (107 days before public release)", and their answer to "Can the DMP be disabled?" is: "Yes, but only on some processors. We observe that the DIT bit set on m3 CPUs effectively disables the DMP. This is not the case for the m1 and m2." DIT (data-independent timing) is a processor mode that cryptographic code can turn on. On the older chips, the fix falls to the authors of each cryptographic library, at a performance cost they choose. The flaw is the same; who carries the fix depends on which chip generation you bought.

Rowhammer is the oldest example in this chapter. Kim and colleagues, from Carnegie Mellon University and Intel Labs, showed at ISCA 2014 that "activating the same row in DRAM corrupts data in nearby rows"; they induced errors "in most DRAM modules (110 out of 129) from three major DRAM manufacturers". Memory makers have added in-chip defences since. In September 2025 the COMSEC group at ETH Zurich published Phoenix (CVE-2025-6202), reporting bit flips on all 15 DDR5 modules from SK Hynix that it tested and a privilege-escalation exploit "in default settings on a PC". The researchers were told of a BIOS update for AMD client machines but "could not independently verify if this update adequately addresses Phoenix". Eleven years on, the fix is still partial, and it still arrives through firmware.

Thunderspy (2020) is the physical-access case. Björn Ruytenberg found seven flaws in Thunderbolt security and wrote that they "cannot be fixed in software" and "will require a silicon redesign". Thunderbolt, USB4 and PCIe ports can let a device read and write the computer's memory directly (DMA, direct memory access). The defence is the IOMMU, a unit that limits which memory each device may touch. Microsoft's Kernel DMA Protection uses it to block external peripherals "unless the drivers for these peripherals support memory isolation", and Microsoft notes that the IOMMU must be enabled in firmware for the protection to work. Whether it is on is a firmware setting on each device, which brings us to the other computers in the box.

Roots of trust, and the computers inside the computer

A hardware root of trust is the hardware, and the code fixed in it, that the rest of the system's security starts from: it may verify the next boot stage, record measurements, protect keys or support recovery. On the platforms in this book it is usually a small security processor, separate from the main CPU or built into the same chip. Each platform in this book has one, and each answers "who writes its code?" differently.

A root of trust protects keys. It does not make the rest of the machine one computer. A business PC also contains several other processors that run their own firmware, below and beside the OS:

Figure 3.2
Each platform's main root of trust, and several other computers in the same box
Roots of trust per platform and the other computers inside one PCTop: five columns, one per platform, naming the hardware root of trust and who writes or signs its code. Windows PC: discrete or firmware TPM 2.0, Pluton on newer chips, Pluton firmware written by Microsoft and delivered by Windows Update. Mac with Apple silicon: Secure Enclave with its own boot ROM, which verifies the Apple-signed sepOS. iPhone: immutable boot ROM holding the Apple Root CA key, plus Secure Enclave. Linux PC or server: TPM 2.0, firmware from the OEM, LVFS where the OEM publishes there. Android on Pixel: Titan M2 security chip and the Trusty TEE, both designed by Google. Bottom: eight other computers inside one PC, each with a separate update path: management engine (Intel ME, AMD PSP), CPU microcode, server BMC, embedded controller, storage and network controllers, Thunderbolt and PCIe DMA guarded by the IOMMU, cellular baseband, and the NPU.HARDWARE ROOT OF TRUST, PER PLATFORMOTHER COMPUTERS INSIDE ONE MACHINE, EACH WITH ITS OWN FIRMWAREWindows PCMac, Apple siliconiPhoneLinux PC or serverAndroid (Pixel)TPM 2.0 (chip orfirmware); Plutoninside newer SoCsSecure Enclave,own boot ROMand sepOSBoot ROM withApple Root CA key,plus Secure EnclaveTPM 2.0 (chip orfirmware)Titan M2 chipplus Trusty TEETPM: OEM firmware.Pluton firmware:Microsoft, viaWindows UpdateApple signs sepOS;the enclave's bootROM verifies itApple signs everyboot stage; theROM cannot changeOEM firmware;LVFS only wherethe OEM publishesGoogle designsthe chip and theTEE OSManagement engineIntel ME, AMD PSPfixes ship as OEMfirmwareCPU microcodeCPU vendor writes;BIOS or the OSloads it each bootBMC (servers)remote console belowthe OS; MegaRAC flawin CISA KEV, 2025Embedded controllerpower, keyboard,battery; OEMfirmwareSSD and networkcontrollers, eachwith own firmwareThunderbolt, USB4,PCIe: DMA into memoryunless the IOMMUblocks itCellular basebandphones and somelaptops; radiofirmwareNPUnew silicon with itsown driver andfirmware
Each platform anchors trust in a small security processor, but the same machine also runs a management engine, microcode, device controllers and DMA-capable ports, each with its own firmware and its own update owner.
Author's diagram based on Microsoft Learn (Pluton, Kernel DMA Protection), Apple Platform Security Guide (Secure Enclave, boot process), Google Security Blog (Pixel 6, Oct 2021), TCG TPM 2.0, Intel INTEL-SA-00086, CISA KEV (CVE-2024-54085), checked 18 Nov 2026.

One kiosk can hold five or more processors with separately updated firmware, from at least three authorities, and a fleet report shows only the ones someone chose to collect. Chapter Four follows the firmware that boots the main CPU; Chapter Ten shows a real attack chain that ended at undocumented chip registers; this chapter's job is to put every one of these computers on the inventory.

Side by side: silicon across five platforms

Only the differences that change a decision are listed. Platform profiles are those fixed in Chapter Two.

Decision pointWindowsmacOSiOSLinuxAndroid
Root of trustTPM 2.0 (required for Windows 11); Pluton on supported AMD, Intel, Qualcomm and NVIDIA chipsSecure Enclave with its own boot ROMBoot ROM plus Secure EnclaveTPM 2.0 where the hardware has oneVaries by OEM; Pixel: Titan M2 and Trusty TEE
Who writes root-of-trust firmwareTPM: chip or platform maker via OEM; Pluton: Microsoft via Windows UpdateAppleAppleChip or platform maker via OEMOEM or SoC vendor; Google on Pixel
Microcode or CPU fix pathOEM BIOS, or Windows UpdateApple; chip and OS from one vendorAppleOEM BIOS, or the kernel's early loader from the distribution's packageSoC vendor to OEM to the device image
Can you see the running revision?Not in most fleet reports; must be collectedThrough the OS buildThrough the OS build/proc/cpuinfo; old_microcode flag for IntelNo separately loaded microcode; the security patch level is the maker's claim, not a measurement
Firmware and siliconME or PSP, EC, SSD, NIC firmware from OEM; Kernel DMA Protection needs IOMMU on in firmwareApple: one vendor for chip, firmware and OSSame OEM components as Windows; LVFS where the OEM publishesBaseband and SoC firmware from the SoC vendor through the OEM

The pattern: where one company makes both the chip and the OS, the silicon fix has one owner and arrives with the OS update. Where they are different companies, the fix crosses at least two owners, and the fleet has to read which one won.

How it got this way

Caches, speculation and prefetchers were built to make processors fast, and for decades the threat model for a chip was a crash, not an attacker sharing the core. The Meltdown researchers wrote that it affects "every Intel processor which implements out-of-order execution", which they describe as "effectively every processor since 1995 (except Intel Itanium and Intel Atom before 2013)". Downfall's discoverer says the affected processors "have been around since 2014". Rowhammer's 2014 paper notes that the industry had been aware of the problem "since at least 2012, which is when a number of patent applications were filed by Intel". Each time, the design choice predated the attack by years, and the fix had to be retrofitted through microcode, firmware and operating systems that were never designed to coordinate.

What hasn't changed: shared microarchitectural state between programs is still where these flaws live, and the list keeps growing. Measured in the Linux kernel's source (torvalds/linux, drivers/base/cpu.c): the /sys/devices/system/cpu/vulnerabilities folder was added on 7 January 2018 by commit 87590ce6e373 with 3 entries (Meltdown and two Spectre variants); on master as fetched on 18 November 2026 (latest change to that file: commit 620824516557, 28 September 2026) it lists 19.

The unseen angle

A fix can be installed and switched off. Intel's Downfall microcode lets software opt out, and on Linux one boot parameter does it. The kernel reports each flaw's state in /sys/devices/system/cpu/vulnerabilities as "Not affected", "Vulnerable" or "Mitigation: ..." followed by the mitigation in effect. So a kiosk can carry the right microcode revision and still be exposed by a boot setting someone chose for speed, and a fleet report that lists only versions will call it fixed. Collect the mitigation state as well as the revision, and record who may change the boot parameters. Sources: Linux kernel documentation, ABI file sysfs-devices-system-cpu; Intel, Gather Data Sampling guidance.

A chip is not bought once. It is a row with a vendor, two delivery channels and a revision you have to read from the running machine.

These rows in the Trust Ledger

The worked example is Corvane Hotels' check-in kiosk (about 3,000 Windows IoT Enterprise kiosks across 300 properties), plus one row for Halbrook Bank's advisors on cloud VDI. Cells marked "to measure" are placeholders until Corvane collects them; the marks are the finding.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
SI Kiosk x86 CPU and microcode; two OEM models, A and B (Chapter Four)CPU vendor writes; OEM ships in BIOS; Microsoft ships via Windows UpdateLocal code only; one flaw reaches all 3,000 kiosksLast case to measure: Downfall (T0 public 8 Aug 2023); T2, T3 ncMicrocode is reloaded each boot; a bad revision is replaced by shipping an older or newer one (the January 2018 pattern)U: effective revision not collectedOEM hardware support date, from the purchase contractRENT, PIN the hardware model to contract end; owner: end-user computing lead; review quarterly
SI TPM 2.0 (firmware TPM) used by BitLockerChip vendor writes; OEM shipsLocal and physical; all kiosksPer OEM advisory; T1 to T3 ncOEM firmware update; BitLocker recovery keys escrowed and tested (Chapter Nine)D: TPM version via OS toolsOEM firmware support endRENT; own the recovery-key escrow; owner: security architect
SI Management engine, EC, SSD and NIC firmwareIntel or AMD, component makers; all shipped by OEMBelow the OS, independent of it; all kiosks of the modelPer OEM BIOS cycle; np for most componentsOEM firmware onlyU for most componentsOEM firmware support endRENT; ISOLATE: disable remote management features not used; owner: end-user computing lead
SI Thunderbolt and USB-C ports in the kiosk housingOEM firmware sets IOMMU; Corvane sets Kernel DMA Protection policyPhysical access; one kiosk at a timeNo patch for pre-2019 designs (Thunderspy)Disable or block the portD: Kernel DMA Protection state in Windows Security or msinfo32n/aOWN the policy: protection on, ports covered; owner: property IT
HV Halbrook advisor VDI: cloud provider's host CPU, microcode and hypervisorCloud provider onlyShared hosts; every advisor session on the affected hostsProvider's clock; in Jan 2018 Azure had most hosts updated before disclosureProvider-scheduled reboots of Halbrook's VMsC: provider maintenance notices; on confidential VMs, firmware versions in attestation reports; I otherwiseProvider's hardware lifecycle, not published per hostRENT; write host-patch notice and maintenance windows into the contract; owner: VDI service owner
Security lens

Who can change it? The CPU vendor writes microcode; an OEM or an OS vendor delivers it; the workload owner can sometimes switch a mitigation off (Intel's Downfall opt-out). Root-of-trust firmware has its own author: Microsoft for Pluton, Apple for the Secure Enclave, Google for Titan M2, the chip or platform maker for most TPMs. On cloud desktops, only the provider can change the host.

How fast can it be fixed? The OS half of Spectre and Meltdown reached Windows, Linux and macOS within days of 3 January 2018. The silicon half slipped: Intel told customers to stop deploying its January microcode after three weeks, and Zenbleed's client firmware reached OEMs between four and nine months after disclosure, with device arrival not published. Some silicon fixes never come; GoFetch on M1 and M2 is mitigated in software or not at all.

What does AI change here? Our view (as of November 2026): automated analysis can shorten the search for new microarchitectural leaks, but the fix still runs through the same slow chain of microcode, AGESA or BIOS, OEM release and fleet rollout. That chain is the part to measure. Ordinary endpoint telemetry rarely gives reliable evidence that a side channel was used, so prevention and patch clocks carry more weight on this row than detection. NPUs add a new SI component with its own driver and firmware; give it a row before it gets a workload.

Business implications

Security. Corvane's kiosks inherit the slowest of three clocks: CPU vendor, OEM BIOS and Windows Update. Halbrook's advisors inherit their cloud provider's clock below the hypervisor, which they cannot see and should not try to run.

Cost. Mitigations can cost performance, and the measured range is wide: Intel says most workloads see minimal impact from the Downfall fix and specific workloads up to 50%. Larkfield Software, whose desktop app runs on 400,000 customer machines, cannot choose its customers' microcode, so it should benchmark its own workload with mitigations on and publish the result rather than advise turning them off.

Visibility. The common blind spot is the effective microcode revision and the firmware of the non-CPU processors. Corvane can collect the first from each kiosk with a script; for the second it depends on the OEM's update tooling and advisories.

Value. Cloud isolation claims rest on this row. When Halbrook buys VDI, part of what it buys is the provider's ability to patch silicon flaws across its hosts before disclosure, as Azure did for most hosts in January 2018. That is worth a contract clause.

Monday rule: add "effective microcode revision" and "firmware owner per processor" to the hardware inventory for your most critical device class, and fill both from the running devices, not the purchase order.

Our view, as of November 2026

Speculative-execution and memory-disturbance flaws will keep arriving: the kernel's vulnerability list grew from 3 to 19 entries in under nine years, and Rowhammer reached DDR5 in 2025. Root-of-trust firmware is moving toward the OS vendor's update channel (Pluton through Windows Update) and toward open designs (Caliptra), which should shorten its clock on the devices that have it. For a fleet bought today, the decision that pays is to choose hardware whose firmware and microcode you can update and read centrally, and to record the end of the OEM's firmware support on the purchase order; Chapter Eleven turns that date into a calendar.

Chapter Four

Firmware and Boot: Keys with End Dates

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 24 June 2026 the Microsoft Corporation KEK CA 2011 certificate expired. It is the key Microsoft uses to sign updates to the lists of boot code that PCs trust and distrust. Corvane Hotels' 3,000 check-in kiosks started the next morning as usual, which is what Microsoft had said would happen: a device without the newer certificates "will still start and operate normally". The difference was invisible at the front desk. Kiosks that had received the 2023 replacement could keep receiving new boot-level protections; kiosks that had not "will no longer be able to receive new security protections for the early boot process". Nobody at Corvane had chosen that date. It was set in 2011, in a certificate shipped inside firmware Corvane bought from an OEM. The decision it changes: the Secure Boot policy, its keys and their end dates become something the company owns and tracks per device model, even though the firmware itself stays rented.

Three certificates, three jobs, three end dates

UEFI Secure Boot is the check PC firmware makes before it runs each piece of boot code: is this code signed by a key I trust, and is it on the list of code I must refuse? The UEFI specification keeps that trust in four stores. The Platform Key (PK) belongs to the platform owner, normally the OEM, and controls changes to the next store. Key Exchange Keys (KEK) may update the two lists. The db holds the certificates and hashes of code that may run; the dbx, the forbidden signature database, holds what must not run. If an image's signature "is found in the forbidden database, the image will not be started".

Microsoft's KB5062710 lists three 2011 certificates that expire in 2026, and they do three different jobs.

Figure 4.1
Three 2011 certificates, three jobs, three end dates
Certificate calendar: the three Microsoft 2011 Secure Boot certificates, their roles, expiry dates and 2023 successorsRow one: Microsoft Corporation KEK CA 2011, stored in the KEK, signs updates to the db and dbx, expires 24 June 2026, replaced by Microsoft Corporation KEK 2K CA 2023. Row two: Microsoft UEFI CA 2011, stored in the db, signs third-party boot loaders, EFI applications and option ROMs, expires 27 June 2026, replaced by two certificates, Microsoft UEFI CA 2023 for loaders and Microsoft Option ROM UEFI CA 2023 for option ROMs. Row three: Microsoft Windows Production PCA 2011, stored in the db, signs the Windows boot loader, expires 19 October 2026, replaced by Windows UEFI CA 2023. Right column: what a device without the successor loses; per Microsoft it still starts and operates normally but can no longer receive new early-boot protections.2011 CERTIFICATEEXPIRES2023 SUCCESSORWITHOUT ITMicrosoft CorporationKEK CA 2011 (KEK)signs db and dbx updates24 June2026Microsoft CorporationKEK 2K CA 2023No new db or dbxupdates underthe 2011 KEKMicrosoft UEFI CA 2011(db) signs third-partyloaders, EFI apps,option ROMs27 June2026Microsoft UEFI CA 2023(loaders) and OptionROM UEFI CA 2023Shims already signedkeep booting; newsigning uses 2023Microsoft WindowsProduction PCA 2011(db) signs the Windowsboot loader19 October2026Windows UEFI CA 2023Still boots; new bootmanager protectionscannot be applied
The 2026 expiry was not one event: each 2011 certificate signed something different, each has its own 2023 successor, and none of the three expiries stops a device from starting.
Source: Microsoft KB5062710 (updated 18 May 2026) and KB5079373 (10 Feb 2026); Red Hat, Expiration of Secure Boot signing certificates in 2026. Checked 18 Nov 2026.

Expiry does not stop a device booting. Microsoft's KB5079373 (February 2026) is explicit: "If your device reaches the expiration date without the new certificates, it will still start and operate normally." What stops is new protection: "New Secure Boot and Boot Manager protections cannot be applied," and "some third-party components that rely on Microsoft Secure Boot trust may fail to update." Red Hat says the same for Linux: "a shim signed by this key will continue to boot as long as the public certificate is not removed from or revoked by the system." Red Hat has shipped shims signed under both the 2011 and 2023 certificates, so that "as long as either of the Microsoft certificates is present in the firmware db, the machine will boot." The expiry is a slow loss of the ability to be fixed, not a cliff. Book 1, Chapter 4 mentioned the expiry in one line; here is the mechanism.

Three details turn this from a Microsoft task into a fleet programme.

The OEM holds a key in the chain. Adding a new KEK requires a signature from the Platform Key, which the OEM controls. Microsoft's guidance to manufacturers says "all OEMs must create, sign, and submit updates for the new Microsoft Corporation KEK CA 2023 to Microsoft", so that Microsoft can push it to devices already in the field. KB5079373 adds that "some devices may require an OEM firmware update to apply the new certificates correctly", and that such updates may be available only for devices still in support.

Firmware keeps two copies. Dell's Secure Boot transition FAQ (version 4, 24 May 2026) separates the "Active database", which Windows Update can change, from the "Default database", which is "updated using a BIOS FLASH". Dell states it updates platforms whose end of service life falls after 31 December 2025, and not those whose service life ended before 1 January 2026; for older machines, "the BIOS on these older computers may not support or retain them."

Microsoft rolls it out by confidence class. Microsoft's IT guidance (KB5062713) sorts device classes into confidence levels; "High Confidence" means "Microsoft has validated this device class is safe for updates", while other classes stay under observation. A fleet of one OEM model may sit in a different class from the same model with another firmware version.

What happened to fleets after June 2026? As of this book's source freeze, no primary report from Microsoft, an OEM or a named fleet describes failures caused by the expiry itself; that is recorded here as not published, not as "nothing happened".

Who holds the keys: five boot chains

Every platform in this book checks each boot stage against a key it already holds. What differs is how many parties hold those keys, and so how many must act before a change reaches a device. Chapter Two drew the full trust maps; Figure 4.2 isolates the boot chain.

Figure 4.2
Five boot chains, and who holds the key at each step
Boot chain per OS with the key holder at each stageWindows PC: UEFI firmware written by an independent BIOS vendor and signed by the OEM; Secure Boot databases, with the platform key held by the OEM and the key exchange key by Microsoft; Windows Boot Manager signed under Windows Production PCA 2011, moving to Windows UEFI CA 2023; Windows kernel, with measurements recorded in the TPM. Mac with Apple silicon: immutable boot ROM holding the Apple Root CA public key; Apple-signed iBoot; a LocalPolicy the owner sets to Full, Reduced or Permissive Security from recoveryOS; macOS kernel, with third-party kernel extensions only under Reduced Security. iPhone: boot ROM, iBoot and kernel, all Apple-signed; a failed check sends the device to Recovery or DFU mode for a restore over USB. Linux PC: UEFI firmware with the OEM's PK and Microsoft's KEK; shim signed under Microsoft UEFI CA 2011 or 2023; GRUB2 signed by the distribution and revoked by SBAT generation; Linux kernel signed by the distribution. Android: bootloader with the OEM's key; Android Verified Boot checks vbmeta and partitions with a rollback index; Android kernel and system; unlocking wipes user data, and Pixel adds a user-settable root of trust beside the built-in one.POWER ON, LEFT TO RIGHTWindows PCUEFI firmwareIBV writes it,OEM signs itdb / dbx checkPK: OEMKEK: MicrosoftBoot managerPCA 2011, moving toWindows UEFI CA 2023Windows kerneleach stage measuredinto the TPMMacApple siliconBoot ROMimmutable; holdsApple Root CA keyiBootApple-signedLocalPolicyowner picks Full,Reduced, PermissivemacOS kernelthird-party kexts onlywith Reduced SecurityiPhoneBoot ROMimmutable; holdsApple Root CA keyiBootApple-signediOS kernelApple-signedCheck fails:Recovery or DFU,restore over USBLinux PCUEFI firmwarePK: OEMKEK: MicrosoftshimMicrosoft UEFI CA2011 or 2023GRUB2distribution key;SBAT generationLinux kerneldistribution-signedAndroidBootloaderOEM key inthe deviceVerified Bootvbmeta, partitions,rollback indexAndroid kerneland systemUnlock wipes data;Pixel adds a userroot of trust
Every platform checks each boot stage against a key it already trusts, but only the PC chains split that trust across an OEM, Microsoft and a distribution, which is how a 2011 certificate came to sit in machines that no single party can update alone.
Author's diagram based on the UEFI 2.10 specification, ch. 32; Microsoft Learn, Secure Boot key creation and management guidance; Microsoft KB5062710; Apple Platform Security Guide (boot process; startup disk security policy); Android Verified Boot documentation; rhboot/shim SBAT.md. Checked 18 Nov 2026.

On many business PCs the chain starts one step earlier, before the UEFI code runs. Intel Boot Guard, introduced with Intel's 4th-generation Core platforms, verifies the firmware's initial boot block against an OEM key whose public half, in a UEFI Forum paper's words, is "programmed into field programmable fuses during the manufacturing process. These fuses cannot be updated once written." AMD's counterpart, Platform Secure Boot, also binds the processor to the OEM's firmware signing key with one-time fuses, as AMD explained to the trade press (ServeTheHome). The fuse makes the OEM's private key the real root of the PC, and that key cannot be rotated in the field. In May 2023, after a ransomware group published data stolen from MSI, Binarly reported that it held firmware image-signing keys for 57 MSI products and Intel Boot Guard keys for more than a hundred; Intel said the Boot Guard keys are generated by the OEM and are not Intel's. On those boards a malicious firmware image signed with the leaked key can pass the hardware check.

The supplier chain on a PC is long: IBV writes, OEM builds and signs, an integrator may customize the image, and the customer configures. Each link can ship a fix late or not at all, which the next two cases show.

BlackLotus: patching is not revoking

On 1 March 2023 ESET published the first public analysis of BlackLotus, "the first in-the-wild UEFI bootkit bypassing UEFI Secure Boot on fully updated UEFI systems". A bootkit is malware that runs during boot, before the operating system and its defences. ESET linked it to a bootkit "being sold on hacking forums for $5,000 since at least October 2022"; that is the advertised price ESET reported, not a record of sales. It had a precedent one layer down: in September 2018 ESET described LoJax, the "first UEFI rootkit found in the wild", which wrote itself into the firmware's flash and survived reinstalling Windows and replacing the disk. LoJax was not properly signed, and ESET noted that Secure Boot was the first defence that could have stopped it. BlackLotus was built to get past Secure Boot.

The mechanism is the lesson. BlackLotus exploited CVE-2022-21894, a Secure Boot bypass that Microsoft fixed on 11 January 2022. In ESET's words: "Although the vulnerability was fixed in Microsoft's January 2022 update, its exploitation is still possible as the affected, validly signed binaries have still not been added to the UEFI revocation list." BlackLotus simply brought its own copies of legitimate but vulnerable binaries to the machine, as ESET puts it. The firmware checked their signatures, found Microsoft's, and ran them. The patch had fixed the boot manager installed on Windows; it had not told firmware to stop trusting the old one.

Figure 4.3
BlackLotus: a fixed bug, still trusted, below every control on the desk
BlackLotus attack flow across the Trust Ledger rowsStep 1, kernel row: the installer runs with administrator rights on Windows. Step 2, firmware row: it writes its files, including old but validly signed Windows boot binaries, to the EFI System Partition. Step 3, hypervisor and isolation row: it turns off HVCI (memory integrity). Step 4, identity and keys row: it turns off BitLocker and reboots. Step 5, firmware row: the old boot manager is exploited through CVE-2022-21894, fixed in January 2022 but not yet in the revocation list. Step 6, firmware row: the attacker's Machine Owner Key is enrolled, so the self-signed bootkit runs on every later boot with Secure Boot still on. Step 7, kernel row: the bootkit deploys its kernel driver and an HTTP downloader.IDIdentityKNKernelHVHypervisorFWFirmware1installer runsas adminprereq2old signedboot filesto the ESP3HVCI (memoryintegrity)turned off4BitLockerturned off5CVE-2022-21894in a binarystill trustedfixed Jan 20226attacker key(MOK) enrolled;persists7bootkit loadskernel driver,downloaderNumbered steps in order. Red: the path the attack or failure took.
BlackLotus needed administrator access once, then used an old Microsoft-signed boot manager that firmware still trusted, more than a year after the bug in it was fixed, to enroll its own key and run before Windows.
Source: ESET Research, BlackLotus UEFI bootkit: Myth confirmed (1 Mar 2023); MSRC CVE-2022-21894 (11 Jan 2022) and CVE-2023-24932 (9 May 2023); Microsoft KB5025885. Checked 18 Nov 2026.

ESET describes the sequence: the installer, which needs administrator rights, deploys files to the EFI System Partition (ESP), disables HVCI (memory integrity, Chapter Five) and BitLocker, and reboots; the old boot manager is exploited; the attackers' Machine Owner Key is enrolled "to achieve persistence even on systems with UEFI Secure Boot enabled". Microsoft's own note is that the malware "requires physical or administrative access to the device". The precondition is real, and so is the result: a foothold below every control the desk runs.

Revocation turned out to be a multi-year programme. Microsoft tracked the bypass as CVE-2023-24932 (9 May 2023) and staged it in KB5025885: opt-in mitigations in May and July 2023; an evaluation phase from 9 April 2024 that added the Windows UEFI CA 2023 certificate to the db, a boot manager signed by it, and the option to put Windows Production PCA 2011 into the dbx; and a deployment phase from July 2024, whose mitigations "are not enabled by default". The final enforcement phase "will not begin before January 2026", with at least six months' notice. In the version of KB5025885 updated on 30 September 2026, its date was still "to be announced".

Figure 4.4
Patched in 2022, still not revoked by default in late 2026
BlackLotus patch versus revocation timeline, 2022 to 2026Patch lane: CVE-2022-21894 fixed on 11 January 2022. Attacker lane: BlackLotus offered on hacking forums for $5,000 from at least October 2022, per ESET; ESET's analysis published 1 March 2023. Revocation lane, CVE-2023-24932: initial opt-in mitigations 9 May 2023; second phase 11 July 2023; evaluation phase from 9 April 2024 adds the Windows UEFI CA 2023 boot manager and the option to put Windows Production PCA 2011 in the DBX; deployment phase from July 2024, mitigations not enabled by default; enforcement not before January 2026 and still to be announced in November 2026, shown as a gap. Certificate lane: Microsoft Corporation KEK CA 2011 expires 24 June 2026; Windows Production PCA 2011 expires 19 October 2026.20222023202420252026PatchCVE-2022-21894bug fixedAttackersoffered for $5,000ESET reportRevocationCVE-2023-24932npopt-in fixphase 2PCA 2011 to DBX, optionaldeployment2011 certificatesKEK CA 2011PCA 2011DisclosedFix releasedOn devicesStopped or exploitednp: not published
The bug BlackLotus used was fixed in January 2022, but revoking the vulnerable boot managers has run as an opt-in programme since May 2023, and Microsoft had not announced the enforcement date when this book's sources were frozen.
Source: MSRC Security Update Guide (CVE-2022-21894, CVE-2023-24932); Microsoft KB5025885 (change log to 30 Sept 2026); ESET Research (1 Mar 2023); Microsoft KB5062710. Checked 18 Nov 2026.

Why so slow? Because revocation breaks things the patch did not. KB5025885 warns that after the mitigations "you might be unable to start or recover your device from existing media", that "older external boot media might not start", and that "even reformatting of the disk will not remove the revocations if they have already been applied." Revoking the old certificate protects the device and, in the same step, invalidates every old recovery USB stick, network-boot (PXE) image and install medium in the building. Chapter Nine turns that trade-off into a decision tree. For this chapter, the rule is simpler: a fix that ships as a patch is not finished until the vulnerable signed code is also revoked, and revocation needs its own plan, test and clock.

Revocation can be fast when little depends on the revoked code. On 14 January 2025 ESET published CVE-2024-7344, a flaw in a recovery application signed under Microsoft's third-party UEFI CA 2011 that let it load unsigned code at boot, and Microsoft released the fix, revoking the vulnerable binaries, the same day. An application few fleets need at boot can be revoked in one monthly update; the Windows boot manager, on every recovery stick in the building, cannot.

LogoFAIL and PKfail: when the firmware itself is the flaw

BlackLotus abused trusted code. The next two cases are flaws inside the firmware, where the dbx cannot help at all.

LogoFAIL. On 29 November 2023 Binarly announced flaws in the image parsers that UEFI firmware uses to draw the manufacturer's logo at boot; the full details were presented at Black Hat Europe and published on 6 December 2023, when CERT/CC issued VU#811862, "Image files in UEFI can be abused to modify boot behavior". The affected parsers came from the IBVs: CERT/CC lists American Megatrends (AMI), Insyde and Phoenix among the affected vendors. Binarly describes attackers storing malicious logo images "either on the EFI System Partition (ESP) or inside unsigned sections of a firmware update to bypass Secure Boot". The parser runs before any signature check on the OS, and the code doing the parsing is the firmware itself, so there is no signed binary to put in the dbx. The fix is a firmware update from each OEM, built on the IBV's corrected code. Phoenix's statement to CERT/CC shows the chain in one sentence: "We have provided updates to our customers and they are producing firmware updates."

PKfail. On 25 July 2024 Binarly reported that many devices shipped with test Platform Keys never meant for production, often with certificates whose issuer contains "DO NOT TRUST" or "DO NOT SHIP". Binarly's scan found that "more than 10% of firmware images in our dataset use an untrusted Platform Key", falling to 8% for firmware from the past four years, and that the first affected firmware was released "back in May 2012, while the latest was released in June 2024". Binarly also reported finding the private part of one such key in a public leak. Whoever holds a PK's private half can enroll a new KEK and, through it, change the db, so the whole Secure Boot chain on those devices was only as strong as a test key's secrecy. CERT/CC's note VU#455367 (30 August 2024) recommends a firmware update from the PC vendor, links a tool to replace the PK, and records Intel's statement that its affected products are no longer supported. For a device past its support date, the fix may be a hardware replacement.

BootHole and the size of the revocation list

The precedent for all of this is BootHole (CVE-2020-10713), published by Eclypsium on 29 July 2020: a buffer overflow in how GRUB2 parsed its configuration file, grub.cfg, which "is a text file and typically is not signed". Any shim and GRUB pair that loaded an external config was exposed, on Linux and on Windows machines that trusted Microsoft's third-party CA. Microsoft published guidance the same day. Eclypsium warned that "until all affected versions are added to the dbx revocation list, an attacker would be able to use a vulnerable version of shim and GRUB2 to attack the system", and recorded that, "due to the risk of bricking systems or otherwise breaking operational or recovery workflows", the dbx updates would first be offered for manual application.

BootHole also exposed a hard limit. The shim project's design note on SBAT records that the BootHole revocation added "3 certificates and 150 image hashes" to the dbx on x64, consuming "10kB of the 32kB, or roughly one third, of revocation storage typically available on UEFI platforms". Revoking by hash does not scale when a component is signed by many vendors in many versions. The answer, SBAT (Secure Boot Advanced Targeting), revokes by a generation number in the binary's metadata, so a new revocation edits an entry instead of adding hashes. Microsoft's Secure Version Number for its boot manager, added to KB5025885 in 2024, follows the same idea. Both are firmware-era fixes for a storage limit set in firmware.

How firmware actually reaches a device

Firmware updates reach PCs in three main ways: the OEM's own update tool or download page; Windows Update, for OEMs that publish firmware there as UEFI capsule updates; and on Linux, the Linux Vendor Firmware Service (LVFS) with the fwupd client, a portal "used by all major Linux distributions". Coverage on LVFS is per vendor and uneven; on 18 November 2026 its vendor list showed Dell "responsible for 9667 firmware files" and Lenovo's ThinkPad team for 4203; coverage for other OEMs and models varies, so check each model. For a Corvane kiosk, the honest answer to "who can update this firmware, and how?" is often "the OEM's tool, on a technician's visit".

Two things follow for operations. First, measured boot records each stage into the TPM, and changing Secure Boot keys changes those measurements; Red Hat warns that "PCR7 will change after the db update" (PCR7 is the TPM register that records the Secure Boot configuration), which breaks TPM-sealed disk unlocking and attestation baselines until they are re-sealed. On Windows, plan BitLocker recovery keys before the key update, not after. Second, measurement helps only if someone reads it. Attestation, the remote check of those measurements, is consumed in Chapter Nine (recovery) and Chapter Seventeen (its limits).

Side by side: boot and firmware across five platforms

Decision pointWindowsmacOSiOSLinuxAndroid
Who holds the boot keysOEM (PK), Microsoft (KEK, db entries)Apple (boot ROM key); owner sets LocalPolicyAppleOEM (PK), Microsoft (KEK, third-party CA), distribution (shim's key)OEM; Pixel adds a user root of trust
What the customer can changeSecure Boot on or off; custom PK and db on many PCs; apply DBX and 2023 certificates on Microsoft's scheduleFull, Reduced or Permissive Security, from recoveryOSNothingSame as Windows, plus Machine Owner Keys in shimLock or unlock (wipes data) on devices that allow it
Revocation pathdbx and boot manager SVN; staged by Microsoft (KB5025885)Apple signing; per-device personalized signatures in Full SecurityApple signingdbx and SBAT generationsAVB rollback index
2026 certificate exposureKEK, UEFI CA and PCA 2011 all expireNot affectedNot affectedUEFI CA 2011 (shim) and KEK 2011Not affected
Firmware and siliconIBV writes, OEM ships; Windows Update or OEM toolApple: one vendor for chip, firmware and OSOEM; LVFS where the OEM publishesSoC vendor and OEM, inside the device image

The 2026 calendar belonged to the PC platforms. Apple and Android avoided it by holding their chains end to end, which is the same property that leaves their customers fewer settings to change.

How it got this way

BIOS was trusted because it lived in ROM and did little. Its successor, UEFI, is based on Intel's EFI 1.10 specification and is now maintained by the UEFI Forum; it gave pre-boot firmware drivers, a file system, network stacks and image parsers, which is to say an attack surface. Secure Boot added a key hierarchy on top, and from 2012 Microsoft required PCs certified for Windows 8 to ship with it on. To make one Windows and one shim boot on hardware from hundreds of makers, the industry agreed to trust a small set of Microsoft certificates in almost every PC. That made PC boot security workable and created a single calendar of end dates that nobody downstream chose.

What hasn't changed: firmware still parses untrusted images before the OS loads. Binarly frames LogoFAIL against Rafal Wojtczuk and Alexander Tereshkin's Black Hat USA 2009 talk, "the exploitation of a BMP parser bug in the UEFI reference code", 14 years earlier. Measured in today's reference code (tianocore/edk2, MdeModulePkg/Library/BaseBmpSupportLib/BmpSupportLib.c): the library was added on 22 December 2017 (commit 4123d6da7095), its last change was a formatting pass on 5 December 2021 (commit 1436aea4d570), and on the repository's head as fetched on 18 November 2026 its header still says that TranslateBmpToGopBlt() "receives untrusted input and performs basic validation."

The unseen angle

Certificates are a calendar set years ago by someone else; 2026 is the first time most CTOs met theirs. The hidden part is that the calendar lives in two places on each PC. Dell's FAQ distinguishes the Active database, which Windows Update can change, from the Default database, which only a BIOS flash updates. Our reading (an inference from Dell's FAQ, not a Dell statement): a kiosk that received the 2023 certificates through Windows Update but never got the BIOS update can return to the 2011-only set if a technician resets Secure Boot keys to factory defaults during a repair. Track "2023 certificates in the Active db" and "in the Default db" as two columns per model, and add "never reset Secure Boot keys to defaults" to the field-repair checklist until both are yes. Source: Dell, "Secure Boot Transition FAQ", article 000390990, version 4 (24 May 2026).

A patch fixes the code you have. A revocation stops trusting the code an attacker can bring. They are two jobs with two clocks.

These rows in the Trust Ledger

Corvane Hotels' check-in kiosk again: about 3,000 kiosks across 300 properties, two OEM models, Windows IoT Enterprise LTSC, plus the Linux signage players in each lobby. Placeholders stay marked until measured.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
FW Kiosk UEFI firmware (IBV code, OEM build), models A and BIBV writes; OEM builds, signs and ships; Corvane installsESP and logo path (LogoFAIL class); physical USB; all kiosks of a modelLogoFAIL: T0 6 Dec 2023; T1 per OEM; T2, T3 ncOEM firmware only; DBX does not fix parsers; rollback per OEMD: firmware version by inventoryOEM firmware support end per model, from the contractRENT; OWN a firmware ring (5 properties first); owner: end-user computing lead
FW Secure Boot keys: PK, KEK, db (2023 certificate status)OEM (PK); Microsoft (KEK, db) via Windows Update; Corvane (setting)Every kiosk; a missing KEK 2023 blocks all future Microsoft db and dbx updatesModel A: Active db 2023 yes, Default db to measure; model B: High Confidence class to checkRe-apply via Windows Update or BIOS flash; never reset to defaults in the fieldD: Microsoft's PowerShell check and event log, per kiosk2011 certificates expired (KEK 24 June 2026, PCA 19 Oct 2026); track the 2023 successors per modelOWN the policy and the per-model status; owner: security architect; review monthly until both columns are yes
FW Boot manager revocation (CVE-2023-24932)Microsoft stages; Corvane opts in before enforcementAdmin or physical access needed; all kiosksT1 9 May 2023; enforcement np; Corvane T3 ncRevocation cannot be undone by reformatting; old recovery media stop workingD: event IDs in KB5025885n/aOWN: apply to a pilot ring after new recovery media are built; owner: end-user computing lead
FW Lobby signage, Linux on x86 with shim and GRUBDistribution (shim, GRUB); Microsoft (third-party CA); OEM (PK)Physical; all 300 lobbiesDual-signed shim: per distribution; T3 ncSBAT generations; dbxU: no fleet report of db contentsDistribution release support endRENT; PIN to a distribution release with a dual-signed shim until its end of support; owner: signage vendor manager
Security lens

Who can change it? On a PC, at least three parties: the IBV writes the firmware, the OEM signs it and holds the PK, Microsoft holds the KEK and the certificates most code is signed under. A Linux distribution adds a fourth through shim. Apple holds its whole chain and lets the Mac owner pick a security level. Android OEMs hold theirs, and Pixel owners may add their own root of trust.

How fast can it be fixed? A boot manager bug can be patched in a monthly update, as CVE-2022-21894 was on 11 January 2022. Revoking the vulnerable signed versions took Microsoft from May 2023 to a still-unannounced enforcement date. Parser flaws inside firmware, such as LogoFAIL, are fixed only when each OEM ships a new firmware build and each customer installs it, and a test PK on a device past support may never be fixed.

What does AI change here? Our view (as of November 2026): firmware binaries are a good target for automated analysis, because the same IBV code appears across many OEMs, as LogoFAIL and PKfail both showed through large scans. That speeds discovery on the attacking side and the defending side alike, and does nothing for the slowest step, OEM release and field installation. Keep the firmware ring and the per-model certificate status current, because those are what decide how long a newly found flaw stays open on your fleet.

Business implications

Security. Firmware sits below every control Corvane bought; BlackLotus turned off HVCI and BitLocker on its way down. Halbrook Bank's 2,500 branch PCs carry the same 2011 certificates, and its branch PCs are where a missed KEK update would quietly stop future boot fixes.

Cost. A firmware fix can mean a field visit. If a kiosk model needs a BIOS flash that cannot be pushed remotely, Corvane's cost is one technician visit per property, multiplied across 300 properties; price it before the next certificate or revocation deadline, not during it. Rebuilding recovery and install media before revocation is a separate, cheaper line.

Visibility. The ESP and firmware are outside most EDR views. Corvane can see firmware versions and, per kiosk, whether the 2023 certificates are applied; it cannot see firmware parser flaws until an OEM advisory names them.

Value. A certificate you did not track becomes a programme you did not budget. Larkfield Software, which ships desktop software rather than boot code, still has a stake: customers whose Linux machines fail to accept a new shim will open tickets with every vendor on the box.

Monday rule: for each device model you own, write down who holds its PK, whether the 2023 certificates are in its Active and Default databases, its firmware support end date, and whether your recovery media still boot after revocation.

Our view, as of November 2026

The 2026 expiry was a rehearsal. Microsoft's enforcement of the BlackLotus revocation is still ahead, the 2023 certificates have end dates of their own, and the post-quantum key migration in Chapter Seventeen will move the same stores again. Fleets that built a per-model certificate inventory and a firmware ring this year will run those programmes as routine; fleets that relied on "it still boots" will meet the next deadline the same way they met this one. Buy hardware whose firmware the OEM publishes through a central channel (Windows Update or LVFS) and whose firmware support end is written in the contract.

Chapter Five

Privileged Code: Kernels, Hypervisors, Drivers and the Morning of 19 July 2024

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

At 04:09 UTC on Friday 19 July 2024, CrowdStrike published a routine content update for its Falcon sensor to Windows hosts running sensor version 7.11 and above. At Halbrook Bank it was nine minutes past midnight in the eastern branches. Nobody at the bank approved the update, and nobody needed to: the bank had bought a security product whose vendor could change what its kernel driver did, on every desk, without a release. Seventy-eight minutes later the vendor reverted the file. In that window Windows machines that were online and received it were exposed to a crash; many crashed, and many could not finish booting. This chapter tells that morning as a technical case, then asks the question behind it for every row below the screen: whose code runs with kernel privilege on your devices, what the vendors have moved below or out of the kernel, and who can update it. The decision it changes is narrow and expensive to skip: a vendor's content channel into privileged code gets the same deployment discipline as code, with rings, a pause and a tested rollback, written into the contract.

The morning: seventy-eight minutes and a long tail

Start with the clock, because it is the part a buyer can change. CrowdStrike's Preliminary Post Incident Review (PIR), published on 24 July 2024, gives the window: a Rapid Response Content update "was published to Windows hosts running sensor version 7.11 and above" at 04:09 UTC and "triggered crashes (BSOD) on systems that were online between 04:09 and 05:27 UTC". Mac and Linux hosts were not affected. Windows hosts that were offline in that window, or did not connect during it, were not affected either.

Two features made the window decisive. First, the update was not a new sensor. It was content: configuration data the sensor reads to decide what to watch and what to block. Second, the sensor's driver starts during boot, as security drivers commonly do, so that it can see malware that starts before user programs. A machine that crashed and restarted loaded the same driver and the same file and could crash again. The vendor's revert at 05:27 UTC stopped new victims. It did not help a machine that could not stay up long enough to download the fixed file.

On 20 July Microsoft's David Weston wrote: "We currently estimate that CrowdStrike's update affected 8.5 million Windows devices, or less than one percent of all Windows machines." That figure is Microsoft's estimate, and this book uses it as such. It was not a cyberattack. No intruder was involved; a trusted vendor's normal update path delivered a defect to privileged code. The record of who paid, and the lawsuits that followed, is in Chapter Thirteen.

What the root cause analysis says

CrowdStrike's External Technical Root Cause Analysis (RCA), dated 6 August 2024, is unusually specific, and the specifics are the lesson. Its vocabulary needs four definitions.

With sensor 7.11 in February 2024, CrowdStrike added a Template Type for Windows interprocess communication (IPC), such as named pipes. Its instances travel in Channel File 291. The RCA states the flaw in one sentence: "The new IPC Template Type defined 21 input parameter fields, but the integration code that invoked the Content Interpreter with Channel File 291's Template Instances supplied only 20 input values to match against." Testing did not catch it, in part because the test instances and the first IPC instances deployed in the field used a wildcard in the 21st field, so the interpreter never had to read it.

On 19 July two new IPC Template Instances were deployed. One used a non-wildcard criterion for the 21st field. The Content Validator passed it, because it "based its assessment on the expectation that the IPC Template Type would be provided with 21 inputs." At the next IPC notification, the interpreter tried to read a 21st value from a 20-entry array. The RCA calls this "a latent out-of-bounds read issue in the Content Interpreter". The crash dump it publishes shows the fault in csagent.sys, CrowdStrike's file system filter driver: a page fault on an address that held no valid memory, and a bugcheck. Microsoft's own analysis of crash reports, published on 27 July, says its observations "confirm CrowdStrike's analysis that this was a read-out-of-bounds memory safety error".

Figure 5.1
Channel File 291 on the Ledger: a latent sensor flaw, a content push, a kernel crash
Failure flow of CrowdStrike Channel File 291 over the ID, MU, DR and KN rows, February to July 2024Step 1, DR row, February 2024: sensor 7.11 ships a new IPC Template Type defined with 21 input fields while the sensor code supplies 20. Step 2, MU row, March and April 2024: the first IPC Template Instances are deployed; they use wildcards in the 21st field, so nothing fails. Step 3, MU row, 19 July 04:09 UTC: two new Template Instances pass the Content Validator, one with a non-wildcard criterion in field 21, and are published in Channel File 291. Step 4, DR row: at the next named-pipe notification the Content Interpreter reads the 21st input, beyond the 20-entry array. Step 5, KN row: Windows stops with a page fault in csagent.sys. Step 6, DR row: the sensor driver loads early in boot, so many machines crash again on restart. Step 7, MU row, 05:27 UTC: the file is reverted; machines already down stay down. Step 8, ID row: repair by hand often needs the BitLocker recovery key.MUManagementIDIdentityDRDriversKNKernel121 fields defined,20 suppliedFeb 20242wildcardin field 21Mar to Apr3passesvalidator19 Jul 04:094readsinput 21next IPC event5page fault incsagent.sysseconds6driver loads atboot, crashes againon restart7filereverted05:27 UTC8BitLocker keyto repairhours to daysNumbered steps in order. Red: the failure path. Steps 1 and 2 are the latent flaw; steps 3 to 6 took minutes.
The mismatch shipped in February 2024 and waited five months; the first content update to use the 21st input field turned a latent out-of-bounds read into a kernel crash.
CrowdStrike, External Technical Root Cause Analysis, Channel File 291 (6 Aug 2024) and Preliminary Post Incident Review (24 Jul 2024); Microsoft Intune recovery tool post (20 Jul 2024, updated 21 Jul).

Two sentences in the RCA deserve a place in any contract review. The first: "Rapid Response Content is configuration data; it is not code or a kernel driver." That is true, and it is why content moves faster than code. The second is the list of fixes: compile-time checks of input counts, a runtime bounds check in the interpreter, wider test coverage, new Content Validator checks, and "Template Instances should have staged deployment", with customers given control over "where and when Rapid Response Content updates are deployed." Content is not code, but on that morning it changed what privileged code did as much as a code release could. That is the reason it needs the same deployment discipline.

One control many customers relied on did not apply. Sensor update policies let a customer run the latest sensor or one or two versions older (N-1, N-2), but they govern sensor releases. Rapid Response Content was delivered separately, to every sensor from 7.11 up, so a fleet pinned at N-1 or N-2 received Channel File 291 like any other. CrowdStrike's content update policies now let a customer assign each content category to an early-access or general-availability ring, or pause it, though system-critical content cannot be paused. Microsoft moved the requirement up a level: under version 3.0 of the Microsoft Virus Initiative (MVI), its program for security vendors, announced in 2025, "security product updates must be gradual, leverage deployment rings and leverage monitoring". Microsoft's own Defender Antivirus has the same two-part shape, product updates on one schedule and security intelligence on another, and Microsoft documents gradual-rollout channels for its monthly platform and engine updates.

The recovery clock decided the cost

The patch clock for this case is short and odd: for machines that stayed up, T0 and T1 are both 19 July, because the fix (the reverted file) existed 78 minutes after the fault. For machines already in a crash loop, the fix was a manual procedure, packaged as a tool by Microsoft the next day. The clock that decided the cost was the recovery clock: how long until each crashed machine was working again.

Recovery was often a person at a keyboard. On 20 July Microsoft published a recovery tool that builds boot media; the first release had one path, and the update of 21 July added a second. The path through the Windows Preinstallation Environment (WinPE) repairs the disk directly and does not need local admin rights, but "you may need to manually enter the BitLocker recovery key". The Safe Mode path can avoid the key on devices that use TPM-only BitLocker protectors, but needs a local administrator account, and devices with a TPM plus PIN need the PIN or the key. Either way, a team needed boot media, physical or remote console access, and a working way to look up recovery keys for thousands of machines at once. Chapter Nine draws that dependency graph.

CrowdStrike reported progress as sensor connectivity: more than 97% of Windows sensors online as of 24 July (its update of 25 July), and "~99% of Windows sensors are online compared to before the content update" by 29 July, with a normal weekly variance of about 1%. That is a measure of sensors reporting in, not of tellers serving customers or flights leaving. Use it as the vendor's curve, labeled, and measure your own.

Microsoft's structural answer came in stages. At Ignite on 19 November 2024 it announced the Windows Resiliency Initiative, including Quick Machine Recovery, which lets IT "execute targeted fixes from Windows Update on PCs" that cannot boot. Microsoft announced it generally available on Windows 11, version 24H2, in July 2025 (update KB5062660). It is on by default for Windows 11 Home and off by default on Pro, Education and Enterprise. A bank that has not turned it on and tested it does not have it.

Who runs in the kernel, and what sits below it

The kernel is the part of the operating system that runs with full hardware privilege: memory, devices, every process. Kernel privilege is the step many local exploits try to reach, because from there they can switch off the controls above. Not every attack ends there, and some of what follows is about layers vendors have placed under or beside the kernel so that kernel privilege is no longer the last word.

Windows uses its hypervisor to create Virtualization-based Security (VBS): an isolated environment that, in Microsoft's words, "assumes the kernel can be compromised". Memory integrity, also called Hypervisor-protected Code Integrity (HVCI), moves the decision about which kernel code may run into that environment. Microsoft says it is "enabled by default on many new Windows 11 devices that meet hardware and compatibility requirements", and that actual protection "depends on device eligibility, driver compatibility, policy, rollout assignment, and restart." Incompatible drivers can block it.

Apple builds the protections into its chips. The Apple Platform Security Guide describes Kernel Integrity Protection, enabled once the kernel finishes initializing, and on recent chips a Secure Page Table Monitor (SPTM) and Trusted Execution Monitor (TXM) that sit beside the kernel and police its page tables and code signing. SPTM "is supported in the A15 or later and M2 or later SOCs" and replaces the older Page Protection Layer (PPL), which Apple used in iOS, iPadOS, visionOS and watchOS but not in macOS. The protection a Mac or iPhone gets therefore depends on its chip generation.

Android devices can run pKVM, a KVM-based hypervisor that "isolates pVMs and Android into mutually distrusted execution environments". The host Android kernel cannot read a protected virtual machine's memory unless the owner shares it. Google is explicit that system-on-chip vendors "must satisfy a new set of requirements" to support it, so it is device dependent.

Linux usually runs on bare metal with nothing under it. Its defenses are inside the kernel: Linux Security Modules such as SELinux, AppArmor and Landlock, and since Linux 5.4 (24 November 2019) the lockdown module, "intended to strengthen the boundary between UID 0 (root) and the kernel", which a distribution can turn on.

Figure 5.2
Privileged code per OS: who runs in the kernel, and what sits below it where enabled
Trust map of privileged code on Windows, macOS, iOS, Linux and Android, from firmware up to user-space agentsFive columns, one per operating system, and five rows. Firmware and silicon: UEFI Secure Boot with OEM firmware on Windows; Apple boot ROM and iBoot on macOS and iOS; UEFI with shim signed under Microsoft's third-party UEFI CA on Linux; Android Verified Boot with OEM keys. Below the kernel: VBS and memory integrity where hardware and policy allow on Windows; Kernel Integrity Protection plus SPTM and TXM on M2 or later Macs; PPL on older iPhones and SPTM and TXM on A15 or later; usually nothing on Linux, where defenses such as the lockdown LSM sit inside the kernel itself; pKVM on Android where the system on chip supports it. Kernel: NT, XNU, XNU, Linux, and the Android common kernel. Third-party kernel code: signed drivers and EDR sensors with their content channels on Windows (the row that failed on 19 July 2024, hatched); kernel extensions on Apple silicon Macs only after lowering to Reduced Security and admin approval; kernel code signed by Apple only on iOS; distribution, vendor and out-of-tree modules and verified eBPF programs on Linux; SoC and OEM vendor modules on Android. User space: on Windows the endpoint security platform reached general availability on Windows 11 on 17 November 2026; on macOS system extensions, DriverKit and endpoint agents run in user space; iOS and Android apps run sandboxed under device management; Linux agents run in user space and load eBPF programs that run in the kernel.ROWWINDOWSMACOSIOSLINUXANDROIDUser spaceagentsDRthird-partykernel codeKNkernelHVbelow thekernelFW and SIfirmware,siliconEDR agents; user-mode platformavailable Nov 2026Signed drivers,EDR sensors andcontent channelsNT kernel(Microsoft)VBS and memoryintegrity, wherehardware, policy allowUEFI Secure Boot;OEM firmwareSystem extensions,DriverKit, endpointagents in user spaceKexts only afterReduced Securityand admin approvalXNU(Apple)Kernel IntegrityProtection; SPTM andTXM on M2 or laterBoot ROM, iBoot(Apple)Apps in sandbox,under MDMKernel codesigned by AppleonlyXNU(Apple)PPL on older chips;SPTM and TXM onA15 or laterBoot ROM, iBoot(Apple)EDR agents in userspace; their eBPFparts run in kernelModules (distro,vendor, out-of-tree);verified eBPFLinux(distribution build)Usually none;lockdown is anin-kernel LSMUEFI and shim(Microsoft third-party UEFI CA)Apps in sandbox,under EMMSoC and OEMvendor modulesLinux (Androidcommon kernel)pKVM where theSoC supports itVerified Boot(OEM keys)
Windows is the platform where third-party security sensors commonly run in the kernel; a layer below the kernel exists on each platform only where the hardware, the chip generation or the policy turns it on.
Author's diagram based on Microsoft Learn (memory integrity; driver signing policy), Windows IT Pro Blog (17 Nov 2026), Apple Platform Security Guide and Apple Platform Deployment (system and kernel extensions), Android Open Source Project (pKVM), kernel.org (LSM and BPF docs) and the Linux 5.4 release notes.
Decision pointWindowsmacOSiOSLinuxAndroid
Layer below the kernelVBS and memory integrity, where hardware, drivers and policy allowKernel Integrity Protection; SPTM and TXM on M2 or laterPPL on older chips; SPTM and TXM on A15 or laterUsually none; defenses are in-kernel LSMs and lockdownpKVM where the SoC vendor supports it
Third-party kernel codeSigned drivers; EDR sensors, which commonly use kernel drivers, and their contentKexts only after lowering to Reduced Security with admin approvalKernel code signed by Apple onlyDistribution, vendor and out-of-tree modules; eBPF programsSoC and OEM vendor modules
Where an EDR sensor runsKernel driver today; user-mode platform generally available on Windows 11 from 17 Nov 2026, vendor dates varySystem extension in user spaceNo kernel sensor; apps and MDMKernel module or eBPFNo kernel sensor; apps and EMM
Who can stop a bad pushThe vendor; you, only if the contract and console give you content ringsThe vendor; you, through MDM approval of extensionsAppleYour distribution and you, through package pinningGoogle and the OEM
Firmware and siliconMemory integrity works best on CPUs with Mode-Based Execution Control (MBEC, Intel) or Guest Mode Execute Trap (GMET, AMD); older CPUs emulate them at a performance costProtection set by chip generation, not by a settingLockdown depends on Secure Boot via shimpKVM depends on the SoC

Signed is identity, not quality: drivers, BYOVD and the blocklist

Windows decides which third-party kernel code may load by signature. Microsoft's driver signing policy states: "Starting with Windows 10, version 1607, Windows will not load any new kernel-mode drivers which are not signed by the Dev Portal." Before that, 64-bit Windows from Vista onward required an Authenticode signature cross-signed by Microsoft. Exceptions remain for upgraded machines, machines with Secure Boot off, and drivers signed with certificates issued before 29 July 2015. A signature says who submitted the driver. It says nothing about whether the driver is safe to run.

Two precedents show the limits. In 2010, Stuxnet's drivers carried valid signatures. Symantec's W32.Stuxnet Dossier (version 1.4, February 2011) records a driver "digitally signed with a compromised Realtek certificate that was revoked on July 16, 2010 by Verisign", and a later driver signed with a certificate from JMicron, revoked on 22 July 2010. Revocation came after the drivers were in the wild. Chapter Thirteen tells the rest of that case.

The second precedent needs no stolen key. In bring your own vulnerable driver (BYOVD), an attacker with admin rights installs a legitimately signed driver that has a known flaw, then uses the flaw to act in the kernel. ESET reported on 30 September 2022 that in autumn 2021 attackers targeting an aerospace company employee in the Netherlands and a political journalist in Belgium used "the first recorded abuse of the CVE-2021-21551 vulnerability", in the Dell driver dbutil_2_3.sys, to disable "the monitoring of all security solutions on compromised machines".

Microsoft's answer is the vulnerable driver blocklist. Its documentation says that "since the Windows 11 2022 update, the vulnerable driver blocklist is enabled by default for all devices", and that it is also enforced when memory integrity, Smart App Control or S mode is on. Microsoft says the list is updated quarterly and delivered through the monthly Windows updates. Microsoft also says its downloadable list "usually contains a more complete set of known vulnerable drivers than the version in the OS", because it holds back some blocks to avoid breaking devices. The blocklist is a revocation path with a deliberate lag, and the lag is the vendor's compatibility judgment, not yours.

Moving code out of the kernel

Every platform is moving third-party code away from full kernel privilege, at a different speed.

Apple went first. From macOS 10.15 (2019) developers could build system extensions that "run in user space rather than at the kernel level", using frameworks including DriverKit for USB and human interface drivers. Apple's deployment guide names endpoint security tools among the agents that no longer need kernel extensions. On a Mac with Apple silicon, a kernel extension now needs the user or MDM to lower the startup security to Reduced Security and approve it.

Linux offers eBPF (a name that began as "extended Berkeley Packet Filter"), small programs loaded into the kernel after a verifier checks them. The verifier rejects invalid control flow and any loop it cannot prove will end (bounded loops have been accepted since Linux 5.3), then, in the kernel documentation's words, "descends all possible paths" to check memory safety. That makes eBPF more constrained than a kernel module, not risk free: the verifier and the just-in-time compiler are themselves kernel code with their own bug history. Red Hat's knowledge base records kernel panics on Red Hat Enterprise Linux 9.4 kernels caused by the Falcon sensor: "eBPF program causes kernel panic on kernels 5.14.0-410+". Linux hosts were spared on 19 July 2024; they were not spared the class of failure.

Memory safety moves into the kernel itself. Linux 6.1, released on 11 December 2022, "includes initial support for the Rust programming language": the infrastructure for writing kernel code in Rust, not a conversion of existing C. Google wrote in November 2025 that "Android's 6.12 Linux kernel is our first kernel with Rust support enabled and our first production Rust driver". Rust removes classes of memory-safety bugs in its safe code; unsafe blocks and calls into C can reintroduce them, and it does not remove other vulnerabilities. Figure 5.3 shows Google's numbers for Android as a whole.

Figure 5.3
Android: memory-safety bugs as a share of Android vulnerabilities
YearMemory-safety shareWhat Google says about the number
201976%Share of Android vulnerabilities caused by memory-safety issues
202424%Data for 2024 extrapolated to the full year from the September 2024 bulletin
2025Below 20%First year under 20%; published about two months before year end and described as very likely close to final
Google reports the share fell as new code moved to memory-safe languages; it is a share of reported vulnerabilities, not a measure of risk.
Google Security Blog, Eliminating Memory Safety Vulnerabilities at the Source (25 Sept 2024); Google, Rust in Android: move fast and fix things (13 Nov 2025).

A note on counting. In February 2024 the Linux kernel became its own CVE Numbering Authority. Its process documentation says the team is "overly cautious and assign CVE numbers to any bugfix that they identify." The jump in Linux kernel CVE counts since then is a change in process, not a collapse in quality, and Linux CVE totals should not be read as a ranking against other kernels.

Windows is the last to move, and moved on 17 November 2026. In November 2024 Microsoft said it was building capabilities so that "security products, like anti-virus solutions, can run in user mode just as apps do", with a private preview for partners planned for July 2025. On 17 November 2026 Microsoft announced that the "Windows endpoint security platform is reaching general availability on Windows 11." Its user-mode APIs cover monitoring and blocking for file systems, processes, the registry and the Object Manager. Microsoft's partner table lists availability by vendor from Q4 2026 to the first half of 2027, CrowdStrike Falcon in Q1 2027. General availability of the platform is not the same as your sensor running on it.

How it got this way

The PC industry grew on an open driver model: any hardware maker could ship code that ran in the kernel, and that openness is why a printer, a scanner or a card reader from almost anyone works on Windows. Driver signing, made mandatory for 64-bit Windows from Vista, added an identity check, and from Windows 10 version 1607 that identity had to come through Microsoft's own portal. It never checked quality beyond test suites. Security vendors went into the kernel for the reasons Microsoft lists in its July 2024 post: visibility into system-wide activity, the chance to load before malware, and tamper resistance, with the trade-off stated plainly: "Kernel drivers provide the above properties at the cost of resilience." For most of two decades the operating system offered no equivalent door in user space. Apple closed the door on its own platform in 2019; Microsoft opened its user-mode door on 17 November 2026.

What hasn't changed: a signed driver is trusted until someone revokes or blocks it, and the community catalogue of drivers known to be abused is still growing. Measured on the public LOLDrivers repository (magicsword-io/LOLDrivers, file loldrivers.io/content/api/drivers.json, commit 39c70ca, 27 October 2026): 713 entries, 588 classed as vulnerable drivers and 125 as malicious, covering 2,082 known vulnerable driver samples. The dbutil_2_3.sys entry was added on 9 January 2023, more than a year after ESET's first recorded abuse. Checked 18 November 2026.

The unseen angle

Most fleet tools inventory software versions. Few can tell you which content version each sensor is running, when it arrived, or who approved it, because that morning nobody outside the vendor approved it. CrowdStrike's own RCA lists the remedy as "staged deployment" with customer control over "where and when" content lands, which means the control exists only if the customer configures it. Ask for the content version as a fleet metric, set content rings in the console, and test the pause. Then put the pause, and who may press it, in the contract.

You can rent a vendor's kernel code. You cannot rent away the morning it fails; the recovery clock is always yours.

These rows in the Trust Ledger

Halbrook Bank, branch teller desktop (Windows 11 Enterprise, about 2,500 PCs). Times are targets until measured.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
DR: EDR sensor driver, sensor version pinned N-1EDR vendor writes and builds; Microsoft signs via its portal; Halbrook sets the sensor update policyKernel; one release reaches all 2,500 PCs; the N-1 pin does not cover contentVendor release to 90% of fleet: nc, target 14 days via sensor ringsSensor policy rollback in console; last drill: noneD (vendor console); O once fleet report builtPer vendor's sensor support policyRent, Pin N-1 with an end date per release; end-user computing (EUC) lead; review quarterly
DR: EDR content channel (rapid detection content)EDR vendor, continuously; Halbrook only through content ring settingsChanges kernel behavior on every PC without a releaseT0 to T1 in minutes by design; T3 ncContent pause and rings: configured? U. Recovery: boot media, BitLocker keys; last drill: noneU (content version not in fleet reports)n/aRent, Isolate: content staged canary, 5% of branches, then all; CISO; contract clause by next renewal
DR: third-party drivers (card readers, printers, signature pads)Five hardware vendors; Microsoft signs; blocklist by MicrosoftKernel; local admin to load; some reachable over USBVendor driver to 90%: ncVulnerable driver blocklist on; App Control audit policyD (Code Integrity event log)Per hardware vendor, often unpublishedOwn the allowlist; Isolate by device class; EUC lead
KN and HV: Windows kernel, VBS and memory integrityMicrosoft writes and ships; Halbrook configures VBS, memory integrity, Quick Machine RecoveryEvery PC; memory integrity blocked on PCs with incompatible driversMonthly update to 90%: target 10 days; hotpatch months, where enrolled, need no restartQuick Machine Recovery: off by default on Enterprise, enable and test; WinRE path documentedO (Win32_DeviceGuard via fleet query)Windows 11 release lifecycle datesRent the code, Own the policy: memory integrity on for 100% of eligible PCs; EUC lead
Security lens

Who can change it? On Windows, Microsoft and every vendor whose driver you install, plus every security vendor with a content channel into its driver. On macOS, Apple, and third parties only in user space unless you lower startup security. On iOS, Apple alone. On Linux, your distribution, your hardware vendors and anyone allowed to load modules or eBPF programs. On Android, Google, the SoC vendor and the device maker.

How fast can it be fixed? Content moved from fault to revert in 78 minutes on 19 July 2024; machines took days, because the recovery clock was hands, keys and boot media. Driver revocation through the blocklist runs on a quarterly list with deliberate holds. Measure both clocks for your own fleet.

What does AI change here? Our view (as of November 2026): AI-assisted fuzzing and code review are well suited to bugs like a 20-versus-21 field mismatch, and to finding flaws in signed drivers that attackers can bring with them. Both sides get faster. The defender's gain only counts if it reaches a release, and the attacker's gain on a driver lasts until the blocklist catches up.

Business implications

Security. Halbrook's sensor is the best visibility it has and one of the few authorities able to stop every branch at once. Corvane runs a sensor on 3,000 kiosks across 300 properties; for Larkfield, the question is whether its own app ships kernel components at all, and the answer should be no.

Cost. One push stopped millions of devices in one morning, by Microsoft's estimate above; Chapter Fourteen prices a day down. For Corvane, a kiosk that needs a person at the keyboard is a field visit per property, so a BitLocker key lookup that works at 3 a.m. is worth more than a faster sensor.

Visibility. You cannot see a vendor's content push before it lands unless you configure rings. Add content version and arrival time to the fleet dashboard, and memory integrity status per PC.

Value. Recovery throughput decided the cost of 19 July, not detection quality. Halbrook's customers noticed branches, not sensors.

Monday rule: list every vendor that can change kernel behavior on your devices without your release process, and for each one write the date you last tested its pause.

Our view, as of November 2026

Windows endpoint sensors will move to the user-mode platform over 2027 on the dates their vendors publish, and some kernel components will remain. Until a vendor's product is generally available on that platform for your Windows build, plan as if the sensor is in the kernel. Ask each vendor three questions in writing: which components still run in kernel mode, how content is staged by default, and how you pause it.

Part III · The Control Planes

Chapter Six

Identity and Keys: Who Can Sign, Who Can Log In

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On Thursday 15 June 2023 the security operations center of the US State Department saw something odd in access to its email. The next day a custom alert rule it called "Big Yellow Taxi" fired on a log named MailItemsAccessed, and on Friday 16 June its team contacted Microsoft. The intruders had exploited nothing on the State Department's side. They had presented valid-looking sign-in tokens, signed with a Microsoft key created in 2016, and Exchange Online had accepted them. The State Department could see it only because it paid for a license tier that included that log. In the year around it, the same lesson came from other directions: an intruder who can make your systems accept a session does not need an exploit. This chapter is about the two kinds of authority that decide that: who can sign code or tokens your machines will accept, and who can log in, including the person at your help desk who can reset a sign-in. The decision it changes: every signing key and every reset path gets a row in the ID line of the Trust Ledger, with a named holder, a rotation date and a tested way to withdraw it.

Two trusts that are easy to confuse

Identity mixes two different questions, and incidents happen in the gap between them.

Both meet in a token: a signed statement that says "this session belongs to this user, with these rights, until this time". A token lets its holder use the authority it carries, as long as the service's validation accepts it. That is why a stolen session token can be worth more than a password, and why a validation bug can turn a key for one service into a key for another.

The company's identity provider (IdP), such as Microsoft Entra ID or Okta, is where the two trusts meet for most business systems. It issues the tokens, holds the policies and runs the reset flows. For a modern company it is a control plane in the same sense as the management consoles of Chapter Seven: one privileged admin action there can reach every application behind it. It also signs in non-human identities, such as service accounts, OAuth applications (apps granted delegated access to data) and workload tokens, none of which can answer an MFA prompt.

Storm-0558: a key, a missing check, a paid log

The case is told from two primary records: Microsoft's own posts from the Microsoft Security Response Center (MSRC), and the report of the US Cyber Safety Review Board (CSRB), dated 20 March 2024 and released by the Department of Homeland Security on 2 April 2024. Microsoft names the actor Storm-0558; the Board describes it as "assessed to be affiliated with the People's Republic of China in pursuit of espionage objectives".

What happened. Microsoft wrote on 11 July 2023 that the actor had gained access "beginning on May 15, 2023" to email accounts at about 25 organizations by forging authentication tokens with "an acquired Microsoft account (MSA) consumer signing key". The CSRB's final count: the Exchange Online mailboxes "of 22 organizations and over 500 individuals around the world", 503 personal accounts in Microsoft's report, including those of the US Commerce Secretary and the US Ambassador to China.

Why the key worked. A key out of Microsoft's hands was the first failure. Two more had to line up before it could open enterprise mail.

How the key left. This part is not settled, and the book does not settle it. Microsoft's 6 September 2023 post set out a hypothesis: a crash of the consumer signing system in April 2021 produced a dump containing the key, which was moved to a debugging environment where a compromised engineer account could reach it. On 12 March 2024 Microsoft added a correction: "we have not found a crash dump containing the impacted key material." Its leading hypothesis is still that operational errors let key material leave the secure signing environment.

Figure 6.1
Storm-0558 on the Ledger: an old consumer key plus a validation gap
Flow of the Storm-0558 intrusion over the ID and SP rows, 2016 to 2023Step 1, ID row, 2016: Microsoft creates a consumer (MSA) token-signing key. Step 2, SP row, September 2018: a common key-metadata endpoint is introduced; shared libraries check signatures but not key scope, and mail developers assume they do. Step 3, ID row, 2021: manual rotation of consumer keys stops after an outage; the 2016 key, due to retire in March 2021, stays valid. Step 4, ID row, date not published: the actor obtains the key by a path not established; Microsoft has not found the crash dump it first suspected. Step 5, SP row, from 15 May 2023: forged tokens signed with the consumer key are accepted by Exchange Online; 22 enterprise organizations and 503 personal accounts are affected. Step 6, SP row, 16 June 2023: the US State Department, alerted by a custom rule on the MailItemsAccessed log it had paid for, contacts Microsoft. Step 7, ID row, July 2023: Microsoft blocks tokens signed with the key and replaces it.IDIdentitySPServices1consumersigning key20162libraries skipscope checkSept 20183rotationstopped20214key obtained;path unknownnp5forged tokensaccepted15 May 20236customer lograises alert16 Jun 20237tokens blocked,key replacedJul 2023Numbered steps in order. Red: the path the attack took. np: how and when the key left is not published.
Neither the 2016 key nor the missing scope check was enough alone; together they let forged tokens open enterprise mailboxes, and a customer's paid log found it.
Microsoft MSRC (11 Jul 2023; 6 Sept 2023, updated 12 Mar 2024); Cyber Safety Review Board, Review of the Summer 2023 Microsoft Exchange Online Intrusion (20 Mar 2024).

Who saw it. Not the key holder. The Board writes that Microsoft failed "to detect the compromise of its cryptographic crown jewels on its own, relying instead on a customer". That customer could see the intrusion because it had bought Microsoft's top government license tier (G5), which included the premium audit log. The Board's summary of the whole case is one line: "Storm-0558 was able to succeed because of a cascade of security failures at Microsoft." Microsoft blocked tokens signed with the key and replaced it; Chapter Nine returns to the revocation. In September 2024 Microsoft said it had moved Entra ID and Microsoft Account token-signing keys "to hardware-based security modules (HSMs) and virtualization-based security in Windows, with automatic rotation".

One coda: on 20 January 2025 the Department of Homeland Security ended all memberships on its advisory committees, the CSRB included (reported by Nextgov and others). The report remains published.

Logging in instead of breaking in

Storm-0558 needed a stolen key. Three other cases from 2022 and 2023 needed less: a working sign-in path and, in two of them, a person willing to approve it.

Uber, September 2022. Uber's own security update, revised through 19 September 2022, says an attacker compromised the account of an external contractor whose password "was likely purchased on the dark web" after malware infected the contractor's personal device. The attacker then triggered repeated two-factor approval requests. "Eventually, however, the contractor accepted one." Uber says it believes the attacker is "affiliated with a hacking group called Lapsus$". This is the pattern known as MFA fatigue or push bombing: if a second factor is a tap on "Approve", a flood of prompts can eventually produce one tap.

MGM Resorts, September 2023. MGM's Form 8-K of 5 October 2023 estimates "a negative impact from the cyber security issue in September of approximately $100 million" to Adjusted Property EBITDAR (earnings before interest, taxes, depreciation, amortization and rent) for its Las Vegas Strip and regional operations, plus less than $10 million in one-time expenses, and says it expects insurance to cover the impact. The filing does not say how the intruders got in. The widely repeated account, that they found an employee on LinkedIn and called the IT help desk, comes from the attackers' side, relayed by a research group and reported by the press on 14 September 2023. MGM has not confirmed it. The technique itself is on the government record: the FBI and CISA advisory AA23-320A (16 November 2023, revised 29 July 2025) describes actors who "conduct spearphising [sic] calls to convince IT help desk personnel to reset passwords and/or transfer MFA tokens".

Okta, October 2023. Okta reported on 20 October 2023 "adversarial activity that leveraged access to a stolen credential" in its support case system. Its root cause post of 3 November gives the window, "from September 28, 2023 to October 17, 2023", and the reach: files of "134 Okta customers, or less than 1% of Okta customers". Some files were HAR files, browser recordings that customers upload for troubleshooting, and they can contain session tokens. The attacker used them to "hijack the legitimate Okta sessions of 5 customers". The stolen credential was a service account stored in the support system, exposed because "an employee had signed-in to their personal Google profile on the Chrome browser of their Okta-managed laptop", where "the username and password of the service account had been saved". On 29 November Okta widened the count: the actor had also downloaded a report with "the names and email addresses of all Okta customer support system users", which touched every customer outside its separate FedRAMP High and DoD IL4 support system. Okta's fixes included tying admin sessions to network location, so a token replayed from elsewhere forces a new sign-in.

Figure 6.2
Logging in instead of breaking in: three cases, one pattern
Pattern flow of a stolen password, MFA fatigue, a help-desk reset and session theft over the ID, MU and SP rows, with Uber, MGM and Okta as labeled instancesStep 1, ID row: a password is obtained; Uber says its contractor's password was likely bought after malware infected a personal device. Step 2, ID row: repeated MFA push prompts until one is accepted (Uber, September 2022). Step 3, ID row: a phone call to the IT help desk to reset a password or move MFA; for MGM in September 2023 this is the attackers' own account, not MGM's; the FBI and CISA describe the technique in advisory AA23-320A. Step 4, ID row: session tokens taken from support files; Okta, 28 September to 17 October 2023, files of 134 customers, sessions of 5 hijacked. Step 5, MU row: with a valid session the intruder reaches admin consoles and internal tools. Step 6, SP row: business systems and data.MUManagementIDIdentitySPServices1passwordobtainedUber 20222push promptsuntil acceptedUber 20223help-deskreset callMGM 2023 (claim)*4session tokenfrom HAR fileOkta 20235admin consoles,internal toolsvalid session6businesssystems, dataimpactA pattern, not one intrusion. *MGM: the attackers' claim, not confirmed by MGM.
In each case the intruder used a working sign-in path (a push approval, a help-desk reset or a stolen session) rather than an exploit.
Uber security update (15 to 19 Sept 2022); MGM Resorts Form 8-K (5 Oct 2023) and press reports of the attackers' claims (labeled); Okta root cause (3 Nov 2023); FBI and CISA advisory AA23-320A (16 Nov 2023, revised 29 Jul 2025).

The record since then repeats the pattern. In January 2024 Microsoft found that Midnight Blizzard had password-sprayed "a legacy, non-production test tenant account" without MFA, then used a legacy test OAuth application with "elevated access to the Microsoft corporate environment". In June 2024 Mandiant reported about 165 organizations notified after an actor signed in to Snowflake customer instances, which did not require MFA, with credentials stolen by infostealer malware. In April 2025 Marks & Spencer was hit; on 21 May it estimated a cost of about £300 million to its 2025/26 operating profit before mitigation, and its chairman told a House of Commons committee on 8 July that entry came through "sophisticated impersonation" involving a third party.

In the published accounts, none of these intruders needed a software flaw in the IdP. Each used a path the company had built on purpose: a push approval, a reset by phone, a support upload. The advisory's own mitigation is phishing-resistant MFA: "Implement FIDO/WebAuthn authentication or Public Key Infrastructure (PKI)-based MFA", which it says is "not susceptible to push bombing or SIM swap attacks." The same property defeats adversary-in-the-middle phishing, in which a proxy page relays a real sign-in and keeps the session cookie; Microsoft reported in July 2022 that one such campaign had targeted more than 10,000 organizations, and that the stolen cookie let attackers in "even if the target's MFA is enabled". A FIDO credential is bound to the real site, so the proxy has no sign-in to relay; a session stolen later from the device itself is a separate problem. The counterexample is on record: in August 2022 the SMS phishing wave that reached Twilio also texted at least 76 Cloudflare employees, three entered their passwords, and the attackers "could not get past the hard key requirement" (Cloudflare, 9 August 2022). For push prompts, Microsoft's answer is number matching, now "enabled for all Authenticator push notifications": the user types a number shown on the sign-in screen, so a blind tap approves nothing. The advisory has no equally simple fix for the help desk, because the help desk exists to let people back in.

Keys in hardware, across five platforms

For high-assurance accounts, the strongest commonly deployed sign-in credentials are device-bound keys held in hardware. A passkey, in the FIDO Alliance's definition, is "an authentication credential based on FIDO standards" (WebAuthn between the site and the browser, CTAP between the device and an external authenticator such as a security key) that the user unlocks the way they unlock the device. Each passkey is bound to one site or app, so it cannot be typed into a fake page. Passkeys come in two kinds, and the difference matters for the help desk: synced passkeys are copied across a user's devices by a provider's cloud with end-to-end encryption, and device-bound passkeys, including those on security keys, never leave one device. A synced passkey depends on the security of the Apple or Google account that syncs it, so its recovery path is the help-desk problem in another form.

Decision pointWindowsmacOSiOSLinuxAndroid
Where device keys liveTPM 2.0 (a Windows 11 hardware requirement); Windows Hello keys in software if no TPM and no policy forbids itSecure Enclave on Apple siliconSecure EnclaveTPM where present; depends on distribution and toolingTEE-backed Keystore; StrongBox secure element on some devices with Android 9 or later
PasskeysWindows Hello as a FIDO2 authenticator; security keysPlatform passkeys, synced or on security keysSecurity keys, or a phone through the cross-device flowPlatform passkeys, synced or on security keys
What the company must setPolicy to require hardware-generated Hello keysMDM policy on which passkey providers and accounts are allowedYour own enrollment and pluggable authentication module (PAM) configurationDevice model list with StrongBox where you need it
Firmware and siliconTPM firmware is an OEM and chip vendor row (Chapter Three)Secure Enclave firmware ships with Apple updatesAs Windows on the same hardwareStrongBox requires its own CPU, secure storage and true random-number generator

Two documented details change fleet decisions. Microsoft's Windows Hello for Business documentation says keys are generated "in hardware (TPM 1.2 or 2.0) or software, based on the configured policy setting", and that "to guarantee that keys are generated in hardware, you must configure a policy setting." Android's documentation says StrongBox is available on devices "running Android 9 (API level 28) or higher" that include it, and requires "its own CPU", secure storage and a true random-number generator. In both cases the strongest protection is available but not automatic.

The signing key you own

Larkfield Software ships an Electron-style app to about 400,000 desktops, signed with its own code-signing certificate and updated through its own channel. That key is among the most valuable things Larkfield owns, and its customers never see it: anyone who holds it can ship code that customer machines will run as Larkfield's.

The industry has already moved the floor. The CA/Browser Forum's baseline requirements for publicly trusted code-signing certificates, with a compliance date of 1 June 2023, say CAs "SHALL ensure that the Subscriber's Private Key is generated, stored, and used in a suitable Hardware Crypto Module". A key in a file on a build server is no longer an option for a new public code-signing certificate, though a private CA can still issue one to a software key. That fixes storage. It does not answer who can ask the hardware to sign, from which pipeline, with what approval and what log.

Storm-0558 is the cautionary case for any key holder, Larkfield included: a key due to retire in 2021 was still valid in 2023 because rotation had stopped, and a verifier accepted it outside its scope. A key inventory is therefore a discovery exercise, not a list you already have. For each key, record who holds it, where it is stored, what accepts it, when it was last rotated, and how long it would take to stop every verifier from trusting it. Figure 6.3 is the lifecycle to drill; Chapter Eight follows signed code that was still malicious, and Chapter Nine follows revocation.

Figure 6.3
Key-compromise lifecycle: five steps, each with a clock
Flowchart of the key-compromise lifecycle: detect, contain, replace trust, revoke, verify, and a yearly drillFive steps left to right. Detect: who would notice, from logs you pay for, key-use alerts and reports from customers. Contain: block tokens or code signed by the key, disable accounts, pause release pipelines. Replace trust: generate a new key in hardware, get a new certificate, and push the new trust anchors to verifiers first. Revoke: revoke the old key or certificate after checking what still depends on it (Chapter Nine). Verify: hunt for any use of the old key, re-sign what must stay trusted, and confirm nothing still accepts it. Below: drill the whole cycle, time each step, and write the times in the ID row of the Trust Ledger.LIFECYCLEPRACTICE1 Detect2 Contain3 Replace trust4 Revoke5 VerifyWho would notice?Logs you pay for,key-use alerts,customer reportsBlock tokens orcode signed bythe key; disableaccounts; pauserelease pipelinesNew key inhardware; newcertificate; pushnew trust anchorsto verifiers firstRevoke the oldkey or certificateafter checkingwhat still needs it(Chapter Nine)Hunt for use ofthe old key;re-sign what staystrusted; confirmnothing accepts itDrill the whole cycle once a year: time each step and write the times in the ID row
A leaked signing key is not dealt with when a new one exists; it is dealt with when nothing anywhere still accepts the old one, and only a drill tells you how long that takes.
Author's diagram based on the Storm-0558 record (MSRC 2023 to 2024; CSRB, March 2024) and the CA/Browser Forum code-signing requirements (hardware key storage from 1 June 2023).
How it got this way

For most of the 2000s, identity at work lived on the domain-joined machine: an Active Directory account, a Kerberos ticket, a password and a badge. As work moved to cloud services, the sign-in moved to a cloud identity provider and the session became a signed token any internet service could check. Key hygiene and help-desk verification did not move as fast. The CSRB found that Microsoft's own consumer identity system "had no process for automated signing key rotation" in its early form, and the attacks of 2022 and 2023 used help desks and push approvals built for convenience in an era of passwords.

What hasn't changed: a person on a phone can still be the weakest authority in the chain. The FBI and CISA advisory AA23-320A, as revised on 29 July 2025, still lists calls to help-desk staff to reset passwords or transfer MFA among the techniques in use. Checked 18 November 2026.

The unseen angle

Identity is now a layer of the operating system in all but name. Ask who holds each of the company's signing keys and the answer is usually a search, not a list. Ask how long a caller with an executive's birth date needs to get that MFA reset, and the answer is a guess. The CSRB report makes a second point that is easy to miss: the State Department found the intrusion because it paid for a log. Visibility in the ID row is often a price-list item, and the list moves only after a public failure: on 19 July 2023 Microsoft said it would give standard-tier customers detailed mail-access logs and raise default retention from 90 to 180 days, and the mail-access log reached the standard tier in public preview in May 2024. Check which sign-in and mailbox logs your license tier includes, and whether they are switched on, before you need them.

Intruders often log in rather than break in. The help desk that lets your people back in is an authentication path, and it belongs in the Ledger.

These rows in the Trust Ledger

Halbrook Bank (sign-in for 2,500 branch staff and advisors) and Larkfield Software (its code-signing key). Times are targets until measured. Row codes, evidence tags (O, D, C, I, U) and the marks np and nc are as defined in Chapter One.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
ID: Halbrook IdP tenant and its token-signing keysIdP vendor holds signing keys and code; Halbrook admins hold policyEvery app behind single sign-on; one admin action reaches all staffVendor fixes: np; Halbrook policy changes: same daySession revocation tested? U. Break-glass accounts in hardware keys; last drill: ncD (vendor logs); O only for log tiers Halbrook pays forContract termRent; Own the policy and the log tier; CISO; review quarterly
ID: staff sign-in, passkeys on TPM 2.0 and phonesMicrosoft (Windows Hello), Apple and Google (phones); Halbrook policyPhishing pages, push promptsPolicy rollout to 90%: target 60 daysRemove a passkey and revoke sessions in minutes; measured: ncO (IdP sign-in logs)Device support datesOwn: hardware-backed passkeys required, push approvals off; identity lead
ID: help-desk reset pathHelp-desk staff and outsourced service deskA phone call; reaches any account, including adminsProcedure change: daysCallback to a number on file, manager approval for admins, 24-hour hold on new MFA for privileged roles; last test: noneI (ticket notes only)n/aOwn, Isolate: admin resets only in person or by video with a second approver; service desk manager
ID: Larkfield code-signing keyLarkfield release engineering; the CA that issues the certificateSigns installers and updates for about 400,000 desktopsRotation: not since issue (np)Key in a hardware module; revoke and re-issue drill: none; time to re-sign and ship: ncD (HSM audit log), if reviewedCertificate expiry dateOwn: signing only from the release pipeline with two approvals; new key at each certificate renewal; head of release, CISO approves
Security lens

Who can change it? Your IdP vendor holds the token-signing keys; your admins hold policy; your help desk can reset any user; your release team controls the code-signing key in its hardware module, and your CA can revoke the certificate. Where hardware is present and policy requires it, the device key is held by hardware you rent: TPM, Secure Enclave or StrongBox; on Linux it depends on your configuration.

How fast can it be fixed? Policy fixes in the IdP take effect in minutes. Replacing trust in a key takes as long as the slowest verifier that still accepts the old one: the 2016 key stayed valid for more than two years after its planned retirement.

What does AI change here? Our view (as of November 2026): voice and text generation make a convincing help-desk caller cheaper to produce, so a reset path that relies on a person recognizing a voice or a story is weaker than it was. Phishing-resistant credentials and callbacks to known numbers do not depend on that judgment.

Business implications

Security. Halbrook's riskiest authority is not its firewall but its service desk. Where Corvane's front-desk staff share a tablet account across shifts, one stolen session becomes many; each person needs their own sign-in. Larkfield's code-signing key can make 400,000 desktops run anything.

Cost. The hardware for strong keys is already paid for: TPM 2.0 is a Windows 11 hardware requirement, and Secure Enclaves are in the Apple devices Halbrook issues. The rollout is not free (the Ledger above budgets 60 days), but recovery after a sign-in compromise costs more: MGM's filing put one month's impact at about $100 million to a single earnings measure, and Marks & Spencer estimated about £300 million.

Visibility. A forged token or a reset account looks like a valid sign-in. Pay for the logs that would show it, as the State Department did, and alert on MFA method changes for privileged accounts.

Value. Staff and customers experience identity as "can I get in", so the speed of a legitimate reset is a value line, not only a risk line.

Monday rule: ask your help desk to reset a test executive's MFA from an unknown number, and write down how long it took and who approved it.

Our view, as of November 2026

Passwords will keep shrinking as a sign-in factor, and the attack will move to the recovery paths that remain: help desks, account recovery and session tokens. A company that moves staff to passkeys should fund the reset procedure next, because that is where an intruder will go.

Chapter Seven

The Management Plane: Everyone Who Can Push

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 11 March 2026 Stryker Corporation, a US medical technology company, identified a cybersecurity incident that, in the words of its Form 8-K filed the same day, "resulted in a global disruption to the Company's Microsoft environment". The next day it reported that order processing, manufacturing and shipping were disrupted. On 18 March the US Cybersecurity and Infrastructure Security Agency (CISA), without naming the victim, published an alert about "malicious cyber activity targeting endpoint management systems of U.S. organizations" that "misuses legitimate endpoint management software", and asked every organization to require a second administrator's approval before a device wipe. Nothing in that alert is about a flaw in a device. It is about the console that manages the devices. This chapter changes one decision: which consoles you treat as production authorities over your fleet, and how many people must agree before one of them acts on every device at once.

Everyone who can push

The management plane is every system that can change many of your devices without anyone touching them: install or remove software, run a script, change a policy, update firmware, lock or erase a device. Most companies run several, bought at different times by different teams. The common ones:

Chapter One gave the procedure for counting update authorities. Run it on one Halbrook Bank branch PC and the count is seven channels that can change the device (Figure 7.1; the Microsoft Store is turned off by policy on that image). The count is the easy part. The harder part is the left column of the figure: the shared dependencies behind the channels. Three consoles that sign in through the same identity tenant are, for an attacker who owns that tenant, one console. Two vendors whose update services sit in the same cloud region can fail together. Counting channels without their dependencies overstates how independent your authorities are.

Figure 7.1
Seven authorities can push to one Halbrook branch PC, and three shared dependencies sit behind them
Authority graph for one Halbrook branch PC: seven push channels on the left feed the PC on the right; three shared dependencies behind them.Left column: three shared dependencies (Halbrook's identity tenant, vendor cloud hosting, code-signing services). Middle column: seven authorities that can push code or settings, each marked with the shared dependencies it relies on: Windows Update; Intune (identity); the OEM update tool (signing); the Edge and WebView2 updater; the EDR console and content channel (identity, cloud); the MSP's remote management tool (identity, cloud); the teller app's updater (cloud, signing). Right column: what each authority can change on the same branch PC image, used on 2,500 devices.SHARED DEPENDENCIESAUTHORITIES THAT CAN PUSHBRANCH PC, 2,500 UNITSIdentity tenantsigns in the adminsof Intune, EDR, RMMVendor cloudEDR, RMM and tellerapp on onehyperscalerSigning servicesOEM tool and tellerapp: vendor keysand build systemsWindows UpdateMicrosoft writes, signs, hostsOS, drivers,some firmwareIntune (MDM)Halbrook admins; shares: identitypolicy, apps, scripts;can wipeOEM update toolOEM; shares: signingUEFI firmware,driversEdge and WebView2 updaterMicrosoftbrowser engineEDR console and contentshares: identity, cloudkernel sensor;isolate, run scriptRMM tool of the MSPshares: identity, cloudremote admin shellTeller app updatershares: cloud, signingteller app
Counting push channels is not enough: when several channels share one identity tenant, one cloud or one signing service, a single failure behind them reaches every channel at once.
Author's diagram. Halbrook Bank is an invented running company; the inventory is illustrative, built with the update-authority procedure from Chapter 1.

The plane also reaches into the trusted computing base, the set of components a device must trust to be secure. Some of that base now lives in vendors' clouds. Google's Play Integrity API, which many Android banking apps use to decide whether a device is genuine, returns its verdicts from Google's services, and Google's own documentation tells developers to "plan in advance" for "the unlikely event of a large-scale Play Integrity API outage". An attestation service, an OEM update content delivery network or an EDR vendor's cloud is part of your management plane even if no one in your company can log in to it.

Kaseya VSA: the console as the delivery system

On Friday 2 July 2021 Kaseya's incident team learned of an attack on VSA, its remote monitoring and management product, used mostly by MSPs to run their customers' computers. Kaseya told on-premises customers to shut down their VSA servers immediately and took its own software-as-a-service (SaaS) servers offline as a precaution. By 5 July Kaseya reported that fewer than 60 of its customers, all running VSA on-premises, had been directly compromised, and that the impact reached "fewer than 1,500 downstream businesses". Those are the customers of the MSPs, many of whom had never heard of Kaseya.

The mechanism matters more than the count (Figure 7.2). The attackers did not break into 1,500 businesses. They got past the login of internet-reachable VSA servers and then used the product's normal function: send a procedure to every managed agent, and the agents run it with the privileges they were given to install software. One action on one server reached every endpoint each affected MSP managed. On 4 July CISA and the FBI asked affected MSPs to require multi-factor authentication on every account they controlled, to restrict RMM traffic to known address pairs, and to put RMM administrative interfaces behind a VPN or firewall.

Figure 7.2
Kaseya VSA, 2 July 2021: one management server, three tiers of victims
Flow of the Kaseya VSA attack across the Trust Ledger rows: identity bypass, management push, agent execution, downstream encryption.Step 1, identity row: internet-reachable on-premises VSA servers are exploited through a chain of VSA flaws that, per DIVD, included CVE-2021-30116. Step 2, management row: the VSA server sends a malicious procedure to its agents. Step 3, management row: managed service providers' agents run it on customer endpoints. Step 4, services row: the ransomware payload runs with the agent's privileges. Step 5, external row: fewer than 60 direct Kaseya customers and fewer than 1,500 downstream businesses affected, per Kaseya.MUManagementIDIdentitySPServices1VSA flaws exploitedincl. CVE-2021-301162 Jul 20212VSA server pushesa malicious procedure2 Jul3MSPs' agents run iton customer endpoints2 Jul4payload runs withthe agent's privileges2 Jul5under 60 direct; under1,500 downstreamby 5 JulNumbered steps in order. Red: the path the attack took. Counts are Kaseya's.
The attackers did not break into each business; they used the management server's own job of pushing software to its agents.
Kaseya incident notices (2 to 26 July 2021); DIVD case DIVD-2021-00011; CISA-FBI guidance (4 July 2021).

The clock is the second lesson. The Dutch Institute for Vulnerability Disclosure (DIVD) had reported a set of VSA vulnerabilities to Kaseya on 6 April 2021. Kaseya fixed several of them in April and May. Its case file entry for 26 June 2021 reads: "Kaseya released 9.5.7 on SaaS Resolving CVE-2021-30116 and CVE-2021-30119"; the first is the credential-leak flaw, and the fix was for SaaS only. The on-premises servers, run by MSPs on their own machines, did not yet have that fix when the attack came six days later. Kaseya published the on-premises release notes on 11 July, and CISA's notice of 12 July says Kaseya released VSA 9.5.7a for on-premises customers.

Clock pointDate (2021)Source
T0: vendor aware (DIVD report)6 AprilDIVD case DIVD-2021-00011
T1 for SaaS: 9.5.7 fixes CVE-2021-3011626 JuneDIVD case file
Exploited; on-premises servers told to shut down2 JulyKaseya notice
T1 for on-premises: 9.5.7a11 JulyKaseya notice; CISA (12 July)
Universal decryptor obtained / announced21 / 22 JulyKaseya notice
T2, T3 on MSP serversnpNo public fleet figure

The same shape returned in February 2024. ConnectWise published a critical bulletin for its ScreenConnect remote-access product on 19 February, after an independent researcher reported the flaws on 13 February. One of them, CVE-2024-1709, let an attacker with network access to the management interface create an administrator account. ConnectWise patched its cloud instances itself, "within 48 hours" by its account; on-premises partners had to update by hand, and ConnectWise began suspending unpatched on-premises servers. CISA added the CVE to its Known Exploited Vulnerabilities catalog on 22 February. In both cases the vendor's own cloud copies were fixed first, and the copies customers ran themselves waited for the customers.

The update server can be the door too. On 23 October 2025 Microsoft released an out-of-band fix for CVE-2025-59287 in Windows Server Update Services (WSUS), the server many companies use to pass Microsoft's updates on to their own PCs; NVD's entry says it "allows an unauthorized attacker to execute code over a network", and CISA noted that "a prior update did not fully mitigate" it before adding it to the KEV catalog on 24 October. Whoever takes over that server sits on the push path to every PC behind it.

Stryker: the console's own commands

The 2026 case is different in one way that matters: the public record describes no product flaw at all. Stryker's filings describe a disruption to its Microsoft environment, then, on 23 March, a corporate network disruption "including but not limited to" that environment, and a letter from Palo Alto Networks Unit 42 describing a compromise "involving impacts to Stryker's Entra ID environment, servers, and workstations". Early on Stryker said it had "no indication of ransomware or malware"; later it said the attacker "used a malicious file to run commands" to hide its activity. On 9 April Stryker amended its 8-K under Item 1.05 to say the incident had a material impact on its operations and on its first-quarter 2026 results. Press reports at the time, citing people close to the investigation, said the attackers used the device-management console's own remote-wipe command on a very large number of devices; Stryker's filings do not say how devices were affected, and this book does not repeat the reported counts.

What the record does show is CISA's response. Its alert of 18 March asks for three things, all about the console's administrators and none about the endpoints: least-privilege roles that limit both what an administrator can do and which devices they can act on; phishing-resistant MFA and conditional access for privileged console actions; and multi-admin approval, a rule that a second administrator must approve sensitive changes such as device wipes and changes to applications, scripts, roles and configurations. Microsoft's documentation for Intune Multi Admin Approval (updated 30 July 2026) lists the protected areas: app deployments, compliance and configuration policies, the wipe, retire and delete device actions, role-based access control, Windows scripts, and device categories. It notes that "an administrator can't approve their own requests", that even a Global Administrator's change needs a different approver, and that the rule also intercepts calls made by automation through the Graph API.

Two details on the same page are the ones a fleet owner should read twice. First, the rule is off until someone configures it, and it needs at least two administrator accounts. Second, an access policy can exclude named enterprise applications, and Microsoft warns that "each exclusion creates a gap in your approval workflow". A two-person rule with an exempt automation account is a one-person rule for whoever holds that account.

When a government closes the channel: Kaspersky

Governments are authorities over the management plane too. On 20 June 2024 the US Commerce Department's Bureau of Industry and Security (BIS) announced a Final Determination on Kaspersky Lab, Inc. under its information and communications technology rules. From 20 July 2024 Kaspersky could not enter new agreements with US persons. From 12:00 AM EDT on 29 September 2024 it was barred from "providing any anti-virus signature updates and codebase updates" in the United States. BIS's stated reasons were about the update channel itself: the company's "broad access to, and administrative privileges over, customer information", and the "capability or opportunity to install malicious software and withhold critical updates". The same release said users who kept the software "will not face legal penalties" but assume "all the cybersecurity and associated risks of doing so". BIS also added three Kaspersky entities to the Entity List.

The determination did not touch a single device. It ended the vendor's right to update them, which for an antivirus product means its protection decays from a known date (Figure 7.3). What happened next shows how much a security vendor's channel can do. Kaspersky told TechCrunch (reported 26 September 2024, secondary) that a migration of its US consumer customers to another vendor's product had started at the beginning of September and that on Windows it "was done automatically", so users "would not experience a gap in protection"; users who had not registered an email address said they had not known it was coming. The last thing the channel did before it closed was to remove its own product and install someone else's.

Figure 7.3
Kaspersky in the US, 2024: a government closed the update channel, and the vendor's last push replaced its own product
Date (2024)Who actedWhat happenedWhat it did to installed devices
20 JuneUS Commerce Department (BIS)Final Determination announced; three Kaspersky entities added to the Entity ListNothing yet; users told they face no legal penalty for keeping the software
20 JulyBIS rule takes effectNo new agreements with US personsNone; existing installations keep updating
Early SeptemberKaspersky (its statement)Migration of US consumer customers to another vendor's product beginsProduct replacement planned through Kaspersky's own channel
Week of 19 SeptemberKaspersky's update channel (press reports)On Windows the migration ran automatically; some users said they had no warningKaspersky software removed and another vendor's product installed
29 SeptemberBIS rule takes effectSignature and codebase updates barred in the USAny remaining installation stops receiving updates
The government's acts and the vendor's acts are separate rows: the Final Determination ended the right to update; the replacement of installed software was the vendor's own use of its channel.
Source: BIS press release and Kaspersky prohibition page (20 June 2024); Kaspersky statement as reported by TechCrunch (26 September 2024), secondary.

For a CTO the lesson is not about one vendor or one country. Any authority with a push channel can be stopped, sold, sanctioned or ordered, and its last push may not be the one you expected. Export controls and lawful orders belong in the "who can change it" column next to the vendor.

Five platforms, five management channels

Each platform gives the management plane a different shape. The table keeps only the differences that change a decision; Chapter Two has the full platform profiles.

Decision pointWindowsmacOSiOSLinuxAndroid
Built-in management channelThe OS's MDM interface (used by Intune and other UEM products); Group Policy and Configuration Manager on domain PCsApple's MDM protocol; supervision through Automated Device EnrollmentApple's MDM protocol; supervision through Automated Device Enrollment or Apple ConfiguratorNo OS-vendor MDM; configuration tools and the distribution's repositoriesAndroid Enterprise through an EMM: fully managed device or work profile
Erase from the consoleYes (Intune wipe action)Yes (Erase Device command; Apple silicon or T2 conditions apply)Yes (Erase Device command)Only what your own agent can doFully managed: whole device; work profile: the work profile
Two-person rule for mass actionsIntune Multi Admin Approval, if configuredDepends on the MDM product, not on AppleDepends on the MDM productDepends on your toolingDepends on the EMM product
Other authorities that push to the same deviceWindows Update, OEM tool, Microsoft Store, app updaters, RMM, EDRApple software update, app updaters, EDRApple updates, App StoreDistribution and vendor repositories, Snap or Flatpak stores, EDROEM updates, Google Play system updates, Play Store
Firmware and siliconOEM tools and Windows Update can deliver UEFI updatesFirmware ships inside Apple's OS updatesFirmware ships inside Apple's OS updatesfwupd and the Linux Vendor Firmware Service (LVFS) where the OEM publishes; otherwise the OEM toolThe OEM's over-the-air (OTA) image

Apple's model concentrates authority: one vendor builds the OS, signs it, ships the firmware with it and defines the management protocol, and the customer chooses the MDM product. Linux spreads it: the distribution, each third-party repository and your own configuration tool are separate authorities, and the "erase" button exists only if you built it. Windows and Android sit between, with the OS vendor, the OEM and a management product of the customer's choice all holding push rights.

Running the inventory on a Corvane kiosk

Corvane Hotels has about 3,000 Windows IoT check-in kiosks across 300 properties. Its central IT team runs Intune and the EDR console. Many properties also contract a local MSP, which installed its own RMM agent for remote support. Run the Chapter One procedure on one kiosk image and write down three things for each channel: who holds the authority, what one action can reach, and what stops it.

The count is five channel types and, once each MSP is counted separately, a few hundred consoles. Two channel types, the MSPs' RMM tools and the kiosk app's updater, have no two-person rule at all; Intune has one that nobody has configured; and Corvane cannot see the administrators of the RMM consoles. It goes into the Ledger below as written.

How it got this way

Central management was built to save technicians' time, and it did. Microsoft's Systems Management Server, the ancestor of Configuration Manager, officially launched on 7 November 1994, so that one team could inventory and update thousands of Windows PCs without visiting them. On 8 April 2010 Apple previewed iPhone OS 4 with a Mobile Device Management service that third-party servers could use to "wirelessly configure, query and even wipe or lock managed iPhones". RMM tools gave MSPs the same reach over many small customers at once. Each step moved authority from the person at the device to whoever holds the console, and from many consoles to fewer. The time saved was real; the concentration was rarely priced.

What hasn't changed: whoever controls the console controls the fleet. In July 2021 the delivery mechanism of the Kaseya attack was the RMM product's own procedure push; in March 2026 CISA's answer to an attack on a company's Microsoft environment was to ask for a second approver on the console's own wipe command. Same lesson, 56 months apart (Kaseya notices, 2 to 26 July 2021; CISA alert, 18 March 2026).

The unseen angle

Look at what CISA asked for after the 2026 attack: least privilege in the console, and phishing-resistant MFA and conditional access in the identity provider "to block unauthorized access to privileged Intune actions". The console's protection is the identity tenant's protection. The same tenant usually signs in the EDR console, the RMM portal and the cloud subscriptions. So a more useful number in a management-plane inventory than the count of consoles is the count of independent ones: those that share no identity tenant, no administrator, no cloud account and no signing service with the others. Many companies will find the honest answer is one. Source: CISA, "CISA Urges Endpoint Management System Hardening After Cyberattack Against US Organization" (18 March 2026).

Every console that can act on the whole fleet raises two questions: how many people can use it, and whether one of them can act alone.

These rows in the Trust Ledger

Corvane Hotels, check-in kiosk on Windows IoT Enterprise, about 3,000 devices. Clock cells are placeholders until measured from Corvane's own telemetry (Appendix D). Row codes and the tags O, D, C, I, U, np and nc are as defined in Chapter One.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
MU: Intune tenant (policy, apps, scripts, wipe)Corvane admins; signs in through Corvane's identity tenantConsole login from the internet; one action reaches all 3,000 kiosksn/a (service); console changes immediateMulti Admin Approval not configured; no drillD: Intune audit log, if exportedContract termRent the service, Own the approval rule: two approvers for wipe, scripts, apps, roles; end-user computing lead; review quarterly
MU: Windows Update ringsMicrosoft writes and signs; Corvane sets rings in IntuneEvery kiosk per ringT1 Patch Tuesday; T2, T3 ncRing pause per ring; rollback per update; drill npO: Intune update reportsPer Windows IoT LTSC lifecycle (Chapter Eleven)Rent; Own the ring schedule; end-user computing lead
MU: property MSPs' RMM agentsUp to 300 MSPs and their techniciansRemote shell as administrator on that property's kiosks; vendor flaws hit every MSP at oncePer RMM vendor; on-premises servers lag cloud onesRemove agent; no central killU: Corvane cannot see MSP console loginsPer MSP contractIsolate: no RMM agent on kiosks; MSP support through Corvane's own remote tool with session approval; CISO; by Q2
MU and DR: EDR console actionsCorvane security team; vendor content channel (Chapter Five)Isolate, kill, run script on every kioskPer vendorConsole role review; content staging per property groupD: vendor consolePer contractRent; Own console roles and staging; security operations lead
MU: kiosk app updaterCorvane's integrator builds, signs, pushesAll kiosks per releaseIntegrator's release trainKill switch in app; rollback to previous buildO: app telemetryIntegrator contractOwn the release gate: staged by property group; product owner
Security lens

Who can change it? Every administrator of every console that manages the device, every vendor that runs one of those consoles as a service, every MSP technician with an RMM login, and, as the Kaspersky determination shows, a government that can close a vendor's channel. Write them down by name and count the independent ones.

How fast can it be fixed? A vendor fixes the copy of its console it runs in its own cloud first: ConnectWise reported mitigating its cloud instances within 48 hours in 2024, and Kaseya's SaaS fix preceded the on-premises one by 15 days in 2021. A console you host yourself is on your clock. A console you never configured to need two approvers cannot be fixed by any patch.

What does AI change here? Microsoft's Multi Admin Approval page now shows suggestions from a "Change Review Agent" next to Windows PowerShell script requests: an AI agent is already advising the human who approves a fleet-wide change. Our view (as of November 2026): that agent cannot approve anything, but it shapes the decision of the person who can, so it belongs in the AG row. Keep the human decision, log what the agent recommended, and never let an agent be the second approver.

Business implications

Security. Corvane's riskiest authority is not a kiosk flaw; it is a few hundred RMM consoles it cannot see. Halbrook's seven channels in Figure 7.1 share one identity tenant, so its Chapter Six work on admin accounts is also its management-plane defence. Larkfield is itself a push channel on 400,000 customer desktops, and its customers' security teams should be asking it the questions in this chapter.

Cost. A second approver costs minutes per change. A wipe of every device in a tenant costs a rebuild of every device and the business days in between; Stryker reported a material impact on a quarter. Removing RMM agents from Corvane's kiosks costs a support process change, not a license.

Visibility. Export every console's audit log to a place its own administrators cannot delete, and alert on mass actions: more than a set number of wipes, retires or script deployments in an hour. Ask each MSP and SaaS vendor for its console's admin list and login logs in the contract.

Value. Central management is why a team of ten can run 3,000 kiosks. The goal is not fewer consoles at any price; it is fewer independent ways to act on every device at once, each with a brake.

Monday rule: list every console that can wipe, script or install on more than 100 of your devices, then turn on a two-person rule for mass actions in each one that supports it, and write down the ones that cannot.

Our view, as of November 2026

Two-person approval for destructive and fleet-wide actions will become a default expectation in endpoint-management contracts and audits, the way MFA for administrators did. The harder work is the exemptions: automation accounts, break-glass accounts and vendor support access. Expect auditors to ask for that exemption list, and expect the attacks to move to it. Companies that also remove standing console rights, activating administrator roles only for a task and a time, will have fewer accounts to defend.

Chapter Eight

The Software Supply Chain: Signed Is Not Safe

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

At 08:51 Pacific time on 29 March 2024, a software engineer named Andres Freund posted to the oss-security mailing list under the subject "backdoor in upstream xz/liblzma leading to ssh server compromise". He had noticed that SSH logins on his Debian test machines were using too much CPU. He measured it: a failed login took 0.299 seconds before a library update and 0.807 seconds after. Chasing half a second, he found that the release tarballs of xz-utils 5.6.0 and 5.6.1, a compression library present in most Linux systems, carried code built to compromise the SSH server. The releases were made by a maintainer of the project, under that maintainer's legitimate release authority. No signature failed. No control designed to catch it did. This chapter changes one decision: what you verify about software before you let it in, given that a valid signature tells you who shipped it and nothing about whether you should run it.

Author, builder, signer, publisher

Software reaches a device through a chain of authorities. An author writes the code. A builder turns source into a binary or a package. A signer applies a key that tells the device who vouches for the binary. A publisher puts it in a registry, a repository or an update channel, and a pusher (Chapter Seven) delivers it. In open source the author and the publisher may be one volunteer; in a commercial product each step may be a different team or a different company.

The person who writes the code is often not the most important authority in that chain. Whoever controls the build can add code that no author wrote. Whoever holds the signing key can make any binary look like the vendor's. A signature answers the question "who" (this binary was approved by the holder of this key) and nothing about the question "should". Three of this chapter's four cases used valid trust: a real build system, a real signing certificate, a real maintainer account, a real release process. The fourth, Log4Shell, shows how far one ordinary flaw travels once trusted code is everywhere. Chapter Thirteen's Stuxnet drivers and Chapter Five's CrowdStrike content file were trusted for the same reason: they arrived through a channel the device was built to accept.

The industry's answers are SBOMs (software bills of materials: lists of the components inside a product) and provenance (signed records of where and how a binary was built), formalized in frameworks such as SLSA (Supply-chain Levels for Software Artifacts) and tools such as Sigstore, open tooling and services with which a developer or build pipeline signs a release and records the signature in a public log. They are worth having, and the cases below show their limits. SLSA's version 1.0 specification, published 19 April 2023, says plainly that it "does not address source threats", which include "an authorized individual introducing an unauthorized change", in other words an insider. Provenance proves origin, not intent.

SolarWinds: the build system as the attacker's workstation

On 13 December 2020 CISA issued Emergency Directive 21-01, ordering federal agencies to disconnect or power down SolarWinds Orion products, network monitoring software used across government and industry. The next day SolarWinds filed a Form 8-K. It said a vulnerability had been inserted into Orion updates "released between March and June 2020", that it "was introduced as a result of a compromise of the Orion software build system and was not present in the source code repository", and that "the actual number of customers that may have had an installation of the Orion products that contained this vulnerability" was "fewer than 18,000", out of about 33,000 active Orion maintenance customers it had notified on 13 December. Orion accounted for about 45% of SolarWinds' revenue in the first nine months of 2020.

SolarWinds' own investigation, published 11 January 2021, gave the build-side timeline. It "begins in September 2019"; the October 2019 Orion release contained modifications that tested the attackers' ability to insert code; the injection inserted the backdoor, named SUNBURST, into builds "starting on February 20, 2020"; and the attackers removed it from SolarWinds' environment in June 2020. CISA's advisory AA20-352A recorded that the malicious library "was then signed by the legitimate SolarWinds code signing certificate". The flow on the Ledger is short (Figure 8.1): a build system, a key, an update channel, and the customer's own trusted monitoring server as the foothold. From there, CISA recorded, the intruders took "the SAML signing certificate" of victims' identity systems and forged sign-in tokens: Chapter Six's token problem, reached through a supply chain.

Figure 8.1
SolarWinds SUNBURST: the backdoor entered at build time and left with a valid signature
Flow of the SolarWinds SUNBURST compromise from the vendor's build system to customers' networks across the Trust Ledger rows.Step 1, management row (the vendor build): test code appears in the October 2019 Orion release. Step 2, management row (the vendor's build pipeline): from 20 February 2020 SUNBURST is inserted during builds. Step 3, identity row: the Orion DLL is signed with SolarWinds' legitimate code-signing certificate. Step 4, management row: updates released March to June 2020 carry it; SolarWinds said fewer than 18,000 customers may have had an affected installation. Step 5, services row: the backdoor runs inside the Orion server. Step 6, identity row: follow-on access to selected victims, including abuse of identity systems described by CISA.MUManagementIDIdentitySPServices1test code inOrion releaseOct 20192build insertsSUNBURST20 Feb 20203DLL signed withvendor's certificate20204updates ship; under18,000 may installMar to Jun 20205backdoor runsin Orion serverfrom Mar 20206follow-on accessto chosen victims2020Numbered steps in order. Red: the path the attack or failure took.
The source repository was clean; the build system added the code, the vendor's key signed it, and the vendor's update channel delivered it.
SolarWinds Form 8-K (14 Dec 2020) and blog (11 Jan 2021); CISA AA20-352A (Dec 2020).

On 15 April 2021 the US Treasury and the UK's National Cyber Security Centre named Russia's Foreign Intelligence Service (SVR) as responsible. The US Securities and Exchange Commission sued SolarWinds and its chief information security officer in 2023; most claims were dismissed in July 2024, and on 20 November 2025 the parties filed a joint stipulation to dismiss the rest with prejudice (SEC Litigation Release 26423). The legal record closed with no finding against the company. The technical record is the lesson: code review of the repository would have found nothing, because the code was never in the repository.

xz-utils: two years to become the builder

The xz case moved the attack one step earlier, from the vendor's build system to the open-source maintainer's chair. Freund's post (29 March 2024) found that the backdoor was in the 5.6.0 and 5.6.1 release tarballs, using two binary test files committed to the repository, with the code that activated it present in the tarballs but not in the git repository. Freund noted that sshd does not use liblzma directly; several distributions patch OpenSSH to notify systemd, and libsystemd depends on liblzma. Red Hat assigned CVE-2024-3094.

The repository itself records the timeline (Figure 8.2). Measured on 18 November 2026 with git log on github.com/tukaani-project/xz (head f54febc540, author dates): the account's earliest commit, authored as "jiat75", is dated 28 January 2022 and was committed by the original maintainer on 7 February; the first authored as "Jia Tan" is dated 5 May 2022 and the last 26 March 2024; of the 979 commits reachable from the v5.6.1 tag and committed since 1 June 2022, 450 carry that author name. The test files that carried the payload were added on 23 February 2024 ("Tests: Add a few test files.", cf44e4b7) and updated on 9 March ("Tests: Update two test files.", 6e636819). The release commits for 5.6.0 and 5.6.1 are dated 24 February and 9 March 2024. The project's own page says the 5.6.x tarballs "were created and signed by Jia Tan". The backdoor was also gated by a key: a public analysis of the code found that it acted only on a payload "signed with the attacker's ED448 key". Here a signature was the attacker's trigger, not the defender's check. This book records the account's actions as the repository and the project describe them; it does not attribute them to any person or state.

Figure 8.2
xz-utils: about two years of commits, five weeks of exposure, one engineer's measurement
Timeline 2022 to mid-2024 of the xz-utils backdoor: maintainer commits, test files, releases, distribution uptake, discovery and clean release.Lane 1: commits by the account in the xz repository (author dates, measured): first authored as jiat75 on 28 January 2022, first as Jia Tan on 5 May 2022, last on 26 March 2024. Lane 2: binary test files that carried the payload, added 23 February 2024 and updated 9 March 2024. Lane 3: release tarballs 5.6.0 (24 February 2024) and 5.6.1 (9 March 2024), both backdoored. Lane 4: Debian counts its packages from 5.5.1alpha-0.1 (uploaded 1 February 2024, a pre-release snapshot) to 5.6.1-1 as affected; reverted on 29 March. Lane 5: Andres Freund's report on 29 March 2024; clean 5.6.2 on 29 May 2024.Jan 2022Apr 2022Jul 2022Oct 2022Jan 2023Apr 2023Jul 2023Oct 2023Jan 2024Apr 2024Jul 2024Commits bythe accountfirst (as jiat75)first as Jia TanlastPayload intest filesaddedupdatedReleasetarballs5.6.05.6.1Debian testing,unstable5.5.1alpha uploadrevertedDiscovery andclean releaseFreund report5.6.2DisclosedFix releasedOn devicesStopped or exploitednp: not published
The backdoor reached Debian's and Fedora's development branches through ordinary release tarballs and was found by one engineer chasing a half-second delay, not by a control built to catch it; Debian counts its packages as affected from a pre-release upload of 1 February.
Freund, oss-security (29 Mar 2024); Debian security announcement (29 Mar 2024); Red Hat (29 Mar 2024); tukaani.org/xz-backdoor; git log of github.com/tukaani-project/xz at f54febc540 (measured 18 Nov 2026).

Exposure was narrow because distribution practice worked. Freund wrote that the versions "have not yet widely been integrated by linux distributions", mostly in pre-release versions. Debian's announcement of 29 March said "no Debian stable versions are known to be affected"; the compromised packages were in testing, unstable and experimental, from an upload dated 1 February 2024, and Debian reverted to upstream 5.4.5 code, versioned 5.6.1+really5.4.5-1. Red Hat said Fedora Rawhide users might have received 5.6.0 or 5.6.1 and Fedora 40's beta contained affected libraries, and that "No versions of Red Hat Enterprise Linux (RHEL) are affected". The project published clean releases on 29 May 2024.

The clock is the uncomfortable part. Measured from the account's first commit in the repository, the attacker's clock ran at least 25 months before the backdoor shipped. The defenders' clock, from Freund's post to Debian's revert, ran the same day. What stood between the two was not a control. It was one engineer's benchmark and the fact that stable distributions move slowly. Slow release trains, often treated as a cost, were in this case one of the protections.

Log4Shell: the library inside everything

Log4j is a logging library for Java, maintained by the Apache Software Foundation and embedded in thousands of products. The US Cyber Safety Review Board's report (11 July 2022) gives the dates. On 24 November 2021 a security engineer from the Alibaba Cloud Security team reported a flaw: a string written to a log could make the library look up a remote address through JNDI, the Java naming interface, and load code from it. Apache committed a fix on 5 December, tagged a release candidate on 6 December, and, after the flaw was discussed publicly on 9 December, made version 2.15.0 public on 10 December. CVE-2021-44228 scored 10.0, the highest CVSS score. Further fixes followed, with CVEs published on 14, 18 and 28 December (fixed in 2.16.0, 2.17.0 and 2.17.1, each released on or just before its CVE date). CISA added the flaw to its Known Exploited Vulnerabilities catalog on 10 December, published a community list of affected products on 13 December, and issued Emergency Directive 22-02 on 17 December, requiring federal agencies to report affected applications by 28 December.

Apache's lane in Figure 8.3 is 34 days from report to the last December fix. That was not the clock that decided a company's exposure. The question for every CTO that week was "which of my vendors bundle it, and when will each of them ship?" Debian shipped its package update on 11 December. VMware's advisory, VMSA-2021-0028, was first published on 10 December and revised 13 more times, the last on 14 February 2022, as fixes and workarounds reached its many products. For most commercial products no fix date was ever published in a form a customer could compare. The Board found that one federal cabinet department reported spending 33,000 hours on its Log4j response, and called Log4j an "endemic vulnerability" whose vulnerable instances "will remain in systems for many years to come, perhaps a decade or longer".

Figure 8.3
Log4Shell: Apache's lane ends in December; your vendors' lanes run on their own clocks
Timeline November 2021 to February 2022 of Log4Shell: Apache fixes, public disclosure, CISA actions, Debian and VMware lanes, and an unknown lane for other vendors.Lane 1, Apache Log4j: reported 24 November 2021; 2.15.0 public 10 December; follow-up CVEs published 14, 18 and 28 December, fixed in 2.16.0, 2.17.0 and 2.17.1 (each release on or shortly before its CVE date; markers show the CVE dates). Lane 2, public: exploit discussed publicly 9 December. Lane 3, CISA: statement and KEV entry 10 December; affected-products list 13 December; Emergency Directive 22-02 on 17 December, agency reports due 28 December. Lane 4, Debian: DSA-5020-1 on 11 December. Lane 5, VMware: VMSA-2021-0028 on 10 December, workarounds added 11 December, vCenter Server revision 27 January 2022, last revision 14 February 2022. Lane 6, your other vendors: not published.20 Nov27 Nov04 Dec11 Dec18 Dec25 Dec01 Jan08 Jan15 Jan22 Jan29 Jan05 Feb12 Feb19 FebApacheLog4jreported2.15.02.16.0 CVE2.17.0 CVE2.17.1 CVEPublicexploit publicCISAKEVvendor listED 22-02reports dueDebianDSA-5020-1VMwareadvisoryworkaroundsvCenter revisionlast revisionYour othervendorsnp: ask each vendor for its dateDisclosedFix releasedOn devicesStopped or exploitednp: not published
Apache's dates are short and public; the lane that decides your exposure is each vendor's, and many of those dates were never published.
CSRB, Review of the December 2021 Log4j Event (11 July 2022); CISA ED 22-02; Debian DSA-5020-1; VMSA-2021-0028 revision history.

3CX: one signed supply chain inside another

On 29 March 2023 CrowdStrike reported malicious activity from the legitimate, signed 3CX desktop app, a business phone client on Windows and macOS. Mandiant's investigation (20 April 2023) found that 3CX's network had first been compromised through a trojanized installer of X_TRADER, trading software from Trading Technologies that had reportedly been discontinued in 2020 but was still downloadable from Trading Technologies' website in 2022. The installer was signed with a Trading Technologies certificate set to expire in October 2022. From there the attacker reached 3CX's Windows and macOS build environments, and 3CX's own builds, up to 18.12.416, carried a downloader to customers (Figure 8.4). Mandiant called it the first time it had seen one software supply chain attack lead to another, and tracks the activity as a cluster it calls UNC4736. Trading Technologies said it could not verify Mandiant's assertions.

Figure 8.4
3CX, 2022 to 2023: one signed supply chain inside another
Flow of the 3CX compromise: trojanized signed X_TRADER installer, 3CX employee computer, 3CX build environments, signed 3CX desktop app, customers.Step 1, management row: a trojanized X_TRADER installer was still downloadable from Trading Technologies' website in 2022. Step 2, identity row: it was signed with a Trading Technologies certificate. Step 3, services row: a 3CX employee's computer was compromised. Step 4, management row: the attacker reached 3CX's Windows and macOS build environments. Step 5, identity row: 3CX DesktopApp builds up to 18.12.416 shipped. Step 6, management row: customers installed them; endpoint vendors flagged the activity on 29 March 2023.MUManagementIDIdentitySPServices1trojanized X_TRADERon vendor site20222signed with thevendor's certificate202233CX employeePC compromised20224Windows and macOSbuild environmentsnp53CX app buildsto 18.12.416np6customers install;flagged29 Mar 2023Numbered steps in order. Red: the path the attack or failure took.
A signed installer from one software vendor became the way into a second vendor's build systems, whose signed app then reached its own customers.
Mandiant, 3CX Software Supply Chain Compromise Initiated by a Prior Software Supply Chain Compromise (20 Apr 2023); CrowdStrike blog (29 Mar 2023).

Chapter Thirteen tells NotPetya (June 2017), which Cisco Talos traced to the update system of a Ukrainian accounting package; it belongs to the same family: the update channel of trusted software as the delivery route.

The registry and Larkfield's own pipeline

Larkfield Software ships an Electron-style desktop app to about 400,000 desktops. Its build pulls hundreds of open-source packages from the npm registry, runs on hosted CI runners, signs the result with Larkfield's code-signing key and pushes it through Larkfield's own update channel. Every one of those steps is an authority over its customers' desktops.

On 23 September 2025 CISA warned of a self-replicating worm in the npm ecosystem, named "Shai-Hulud", that had compromised over 500 packages. After gaining access it scanned for credentials, including GitHub personal access tokens and cloud API keys, published them, then authenticated to npm as the compromised developer, injected code into that developer's other packages and published new versions. CISA's advice reads like a supply-chain checklist: pin npm dependencies to known safe releases produced before 16 September 2025, rotate all developer credentials, require phishing-resistant MFA on developer accounts, and audit GitHub apps, webhooks and secrets. A second wave, found on 24 November 2025, backdoored at least 796 packages through install-time scripts, by Datadog's count. The build pipeline is a target too: in March 2025 the widely used GitHub Action tj-actions/changed-files was compromised (CVE-2025-30066), and runs between 12 and 15 March, CISA said, could expose secrets such as access keys, GitHub tokens and npm tokens in build logs. GitHub's response for npm, announced on 22 September 2025, the day before CISA's alert, was to deprecate long-lived classic tokens, limit token lifetimes and push publishers to trusted publishing from CI and to FIDO-based 2FA.

For Larkfield that is a measurable design choice. A lockfile that pins exact versions, a build that installs from that lockfile only, a delay before new upstream versions are accepted, and build runners that hold no long-lived publishing tokens turn a registry incident into a review task instead of a release to 400,000 machines. Provenance attestations on Larkfield's own releases let its customers check that what they received was built by Larkfield's pipeline from a named commit. None of that proves the commit was benign, which is why the code-signing key stays in a hardware security module with a human approval per release (Chapter Six).

Decision pointWindowsmacOSiOSLinuxAndroid
Who must vouch for an app before it runsBy default, without an application-control policy, desktop apps need no signature to run; Authenticode signature and SmartScreen reputation shape warnings; drivers need Microsoft's signature (Chapter Five)Developer ID signature and Apple notarization for apps outside the App Store, checked by GatekeeperApple signs App Store apps; alternative distribution in the EU still passes Apple notarizationThe distribution signs its repository; each added repository brings its own keyThe developer signs the APK; with Play App Signing, Google holds the app signing key for Play delivery
Who can withdraw trust quicklyMicrosoft (Defender, SmartScreen, certificate revocation); the vendor's own channelApple (certificate and notarization revocation); the vendor's channelAppleThe distribution (pull or revert a package, as Debian did with xz); the vendor's repositoryGoogle, for apps distributed through Play; the developer, through its own update channel
Where bundled libraries hideInside each installer and app folderInside each app bundleInside each app, statically linkedShared system packages, plus whatever containers, Snaps, Flatpaks and vendor tarballs carryInside each APK

The table's last row is the Log4Shell lesson in platform form. Where a distribution ships one shared copy of a library, one package update fixes every program that uses it, once each program restarts; containers, Snaps, Flatpaks and vendored copies carry their own. Where each app carries its own copy, as on every row except the Linux system packages, each vendor must ship separately, and your fleet is only as patched as its slowest vendor.

How it got this way

In his Turing Award lecture, "Reflections on Trusting Trust" (Communications of the ACM, vol. 27, no. 8, August 1984), Ken Thompson described a compiler modified to insert a backdoor into the login program, and to reinsert itself whenever the compiler was rebuilt from clean source. His conclusion: "You can't trust code that you did not totally create yourself." Four years later, on 2 November 1988, the Morris worm spread from a computer at MIT and, by the FBI's account, hit an estimated 6,000 of the roughly 60,000 computers then on the internet within 24 hours: the first internet-scale reminder that shared code meant shared flaws. Shared code then made software cheap, from Unix libraries to the npm registry, and the trust placed in each builder and maintainer was never priced. SolarWinds was Thompson's compiler with a build server in its place; xz was Thompson's argument with a maintainer account in its place.

What hasn't changed: you still trust whoever built the binary, and a feature added for convenience stays in the code for years. Measured on 18 November 2026 in github.com/apache/logging-log4j2 (2.x branch, head 572cd83040): the JNDI lookup class log4j-core/.../lookup/JndiLookup.java was added on 18 July 2013 (commit f1a0cac60f, "LOG4J2-313 - Add JNDILookup"), was present at the 2.0 release tag (12 July 2014), was still present at 2.14.1 (6 March 2021), the last release before Log4Shell, and is still in the source tree today. The December 2021 fixes disabled JNDI by default (commit c362aff473, "LOG4J2-3208 - Disable JNDI by default", 11 December 2021, in 2.16.0) and removed message lookups; they did not remove the file. Eight years passed between the convenience and the CVE.

The unseen angle

Two of this chapter's cases put the malicious code where source review cannot see it. SolarWinds told the SEC the backdoor "was not present in the source code repository of the Orion products"; Freund found the xz activation code in the release tarballs, not in git. So "we review the source" and "it's open source, anyone can read it" are both answers to the wrong question. The authority that matters is the build: who controls the machine that turned source into the file you installed, and can you check that the file matches the source? Your vendor's build system is part of your Trust Ledger whether or not the vendor lets you see it. Ask for it: reproducible or attested builds, the build platform, who can change it, and how the signing key is approved per release. Sources: SolarWinds Form 8-K (14 December 2020); Freund, oss-security (29 March 2024).

A signature tells you who shipped it. Nothing in the signature tells you whether you should run it.

These rows in the Trust Ledger

Larkfield Software, desktop app on about 400,000 customer desktops (Windows, macOS, Linux). Clock and count cells are placeholders until measured from Larkfield's build and update telemetry (Appendix D). Row codes and tags are as defined in Chapter One.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
LR: npm dependency tree of the app (direct and transitive; count nc)Each package's maintainers and anyone holding their tokens; the registryBuild machines at install time; every customer desktop after releaseUpstream fix, then Larkfield release, then customer update; last cases ncLockfile pin; revert to previous lock; no drill yetD: SBOM per release; O: dependency-scan alertsPer package; many have noneOwn the gate: exact pins, a hold period for new versions, review of install scripts; engineering lead
LR: bundled Chromium and Node (Electron)Electron project; Larkfield shipsAll desktops; renderer reachable from contentElectron release, then Larkfield release (Book 2, Chapter 11)Staged rollout; rollback to previous buildO: version telemetryAbout 24 weeks per Electron majorOwn, Pin to a supported major with an end date; engineering lead
MU: CI/CD build pipeline (hosted runners)Larkfield engineers with pipeline write access; the CI vendorEvery release; one change reaches all customersCI vendor's advisories; Larkfield's own fixes immediateRotate pipeline secrets; rebuild from a known-good commit; drill npD: pipeline audit log; provenance per buildCI vendor contractRent the runners, Own the provenance: signed build attestations, no long-lived publish tokens on runners; head of platform
ID: code-signing keys (Windows Authenticode certificate; Apple Developer ID)Holders of the HSM approval role (Chapter Six)Any binary signed with it is accepted as Larkfield's on 400,000 desktopsNew key at each certificate renewal, on the CA's and Apple's schedulesRevoke and re-sign with a new certificate; customer impact untestedD: HSM signing logCertificate expiry dateOwn: two-person approval per release signature; head of release, CISO approves
MU: Larkfield update channelLarkfield release managersAll 400,000 desktopsLarkfield's own clock: release to 90% of active installs ncServer-side halt of a rollout; previous build availableO: update telemetryn/aOwn: staged rings, a halt switch tested each quarter; release manager
Security lens

Who can change it? Everyone with write access to a dependency you install, everyone who can change your build system or your vendors' build systems, and everyone who can approve a signature with your key. For Larkfield's customers, that list includes Larkfield's CI vendor and hundreds of npm maintainers they have never heard of.

How fast can it be fixed? The library's clock is the short one: Apache's first Log4Shell fix was public 16 days after the report, and Debian reverted xz the day it was disclosed. The long clock is the bundling vendors': VMware's advisory was still being revised two months later, and most vendors published no comparable date at all. Measure your vendors' clocks the way you measure your own.

What does AI change here? Our view (as of November 2026): AI coding assistants make it cheaper to add a dependency and cheaper to write a plausible patch, so the volume of change arriving at maintainers and at your lockfile goes up while the number of reviewers does not. Treat an AI-suggested dependency like any other new authority: pin it, review its install scripts, and record why it is there. Agents that run in CI with publish tokens are authorities in the AG row and need the same limits as the runners.

Business implications

Security. Larkfield is the supply chain for 400,000 desktops; its signing key is its customers' risk. Halbrook should ask every desktop vendor the Log4Shell question before the next incident: which open-source components do you bundle, and what is your time from upstream fix to your release? Corvane's kiosk integrator should answer the same question in writing.

Cost. Recall the federal department that spent 33,000 hours on Log4j alone. An SBOM per product and an inventory that can answer "where is library X?" in an hour cost a small fraction of those hours.

Visibility. You see a package arrive; you do not see who built it. Ask for build provenance, store SBOMs from every vendor, and ask for VEX documents (Vulnerability Exploitability eXchange, minimum elements set out by CISA in April 2023), in which a vendor states whether a listed flaw affects its product. Keep a list of vendors who will provide none of these; that list is a finding.

Value. Shared code is why Larkfield can ship one app on three operating systems with a small team. The answer is not to stop using it but to price the builders you trust: maintainers you depend on, a hold period on new versions, and funding or staff time for the few components you cannot do without.

Monday rule: for your most widely deployed product, name the machine that builds the release, everyone who can change it, and everyone who can approve its signature; if you cannot name them, that is the first row of your Ledger.

Our view, as of November 2026

Signed provenance for releases will become a routine procurement ask, the way SBOMs did, and it will help most with SolarWinds-style build tampering. It will not stop the next xz, because that attack was made by a trusted author through a legitimate build. The defences that worked in 2024 were slow stable releases, an engineer who measured something odd, and distributions able to revert in hours. Keep all three, and fund the maintainers whose work your products cannot ship without.

Chapter Nine

When Trust Must Be Withdrawn: Stop, Revoke, Roll Back, Recover

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 6 April 2022 NIST published the fourth revision of its patching guide, SP 800-40, and gave it a subtitle that changes the conversation: Preventive Maintenance for Technology. NIST "frames patching as a critical component of preventive maintenance". Maintenance has a second half that most patch programs never write down: what you do when the thing you just installed, or the key you have trusted for years, turns out to be the problem. Every earlier chapter named an authority that can change your systems. This one asks the reverse question: when trusted code, a key or a channel must no longer be trusted, how do you stop it, how do you withdraw it, and how fast do you get back to work? The decision it changes is simple to state. Next to every patch clock in the Trust Ledger, a team writes a recovery clock, measured in a drill, and treats a channel it cannot stop as a liability.

Deployment is a curve, not a date

"We patched in March" is a date. What protects you is a curve: how many of your devices run the fix 24 hours, 7 days and 30 days after the vendor released it, and who is left over. Chapter One defined the patch clock: T0 when the flaw is known, T1 when a fix exists for your device class, T2 when 50% of your fleet runs it, T3 at 90%. The curve between T1 and T3 is where your exposure lives, and its shape is set by decisions you own.

Five numbers describe the curve, and a fleet report should carry all five:

Figure 9.1
Deployment is a curve, not a date: who runs the fix at 24 hours, 7 days and 30 days, and who is still in the tail
Timeline of a monthly Windows quality update moving through three rings at Halbrook Bank, with a pause in the pilot ring and an unreported tail.Lanes from top: vendor release on 10 March 2026; ring 0, IT staff, 50 PCs, 95 percent within 24 hours; ring 1, 250 pilot branch PCs, paused on day 3 when a branch app fails, resumed on day 4, 90 percent by day 7; ring 2, 2,200 branch PCs, starts on day 7, 50 percent by day 10 and 90 percent by day 16; the tail, about 140 of ring 2's PCs that stop reporting, shown as a not-collected gap up to day 30 (9 April). The Halbrook numbers are invented for illustration.09 Mar16 Mar23 Mar30 Mar06 Apr13 AprVendorreleaseT1 fix releasedRing 0IT, 50 PCsstart95% at 24 hRing 1pilot, 250 PCsstartpause, 1 day90% at 7 dRing 22,200 PCsstartT2 50%T3 90%Tail, part ofring 2: ~140 PCsnc: not reporting30 d: unknownDisclosedFix releasedOn devicesStopped or exploitednp: not published
An illustrative month for Halbrook's 2,500 branch PCs: three rings, one tested pause, and a tail that reports nothing, which is where the exposure lives.
Author's diagram. Halbrook figures are invented and illustrative; the method (T0 to T3, tail) is in Chapter 1 and Appendix D; maintenance groups follow NIST SP 800-40 Rev. 4 (April 2022).

Figure 9.1 is the curve for one illustrative month at Halbrook Bank. It uses rings: groups of devices that receive a change in order, so a fault shows up on 50 IT machines before it reaches 2,500 branch PCs. NIST calls the same idea maintenance groups. The tail of about 140 PCs is the part of ring 2 that stopped reporting. Rings are not the opposite of speed. In the figure the first ring has the fix within 24 hours, and the last ring reaches 90% on day 16. A flat deployment to every device on day one is faster only on the day it works.

The vendors' own controls set the edges of the curve. Windows Update client policies (formerly Windows Update for Business) let an administrator defer quality updates "for a period of up to 30 days" and pause them "for a period of up to 35 days". Hotpatch, generally available for Windows 11 Enterprise 24H2 on Intel and AMD devices from 2 April 2025, removes most restarts: Microsoft plans "eight hotpatch months, and four baseline months" a year, with a restart only in the baseline month of each quarter. Apple's device management lets an organization set "a custom deferral period from 1 to 90 days" on supervised devices. Android splits the platform: since Android 10, Mainline modules can reach devices "from the Android Google Play system update feature", outside the device maker's full image, while the rest of the image still travels on each maker's clock. On Linux, kernel livepatching works by "allowing for function calls to be redirected; thus, fixing critical functions without a system reboot", where a distribution offers it.

Each of these is a lever on the same curve. Deferral moves T1 later on purpose, hotpatch and livepatch shrink the restart gap, and Mainline gives part of Android a faster channel. None of them shrinks the tail; that takes inventory, and compensating controls for what inventory finds.

Stop: every channel needs a brake you have tested

Chapter Seven counted the channels that can push code into one endpoint: OS update, OEM tools, MDM, RMM, the EDR console and its content channel, app updaters, package managers. For each of them the Ledger's fifth column asks one plain question: if a push goes wrong at 04:00, who can stop it, with what control, and how long does that take?

The vendors' answers differ, and the differences are worth writing down before the morning you need them.

A brake that has never been pulled is a hope. The fifth column carries the date of the last drill and the measured time from "stop" to "no further devices received it".

Revoke: withdrawing trust without stranding recovery

Revocation is the act of telling every verifier that something it used to accept is no longer acceptable: a boot manager added to the Secure Boot forbidden list, a signing key retired, a certificate marked revoked, a token invalidated. Revocation can be the strongest stop, because it reaches copies you cannot find, but only where a verifier receives the revocation and enforces it; offline devices, stale caches and clients that skip the check keep accepting the old item. That strength is also its cost: a revocation aimed at a key or a file hash does not distinguish between the attacker's copy and your own recovery media signed the same way.

Microsoft's handling of the BlackLotus bootkit is the clearest public record of that trade (the attack itself is told in Chapter Four). Its support article KB5025885, for CVE-2023-24932, staged the revocation of vulnerable Windows boot managers over years: an initial deployment on 9 May 2023, a second deployment on 11 July 2023, an evaluation phase from 9 April 2024, and an enforcement phase that Microsoft said "will not begin before January 2026" and for which it promised at least six months of warning. As of its change log of 30 September 2026, no enforcement date had been announced. The article explains the slowness in two sentences: once the mitigation is applied, "it cannot be reverted if you continue to use Secure Boot on that device", and "even reformatting of the disk will not remove the revocations". Older boot media built without the updates may not start. The staging exists so that a fleet can refresh its recovery media, images and network boot servers before the old boot manager stops being trusted.

Rollback cuts both ways. At Black Hat USA in August 2024, SafeBreach researcher Alon Leviev showed Windows Downdate, which took over the Windows Update process to put older, vulnerable system files back on a patched machine that would still "appear fully up-to-date". Microsoft assigned CVE-2024-21302 and CVE-2024-38202. Its answer for the first, guidance first published on 13 August 2024 (KB5042562), is again a revocation, used as an anti-rollback control: a Microsoft-signed policy that blocks the old files, after which "the device cannot be reverted" while Secure Boot stays on, so recovery media and the recovery environment must be updated first. The same trade as BlackLotus, two years later.

Identity revocations have the same shape, with users instead of boot media on the other side. After the Storm-0558 intrusion (Chapter Six) Microsoft stated that it "revoked all MSA signing [keys] which were valid at the time of the incident, including the actor-acquired MSA key". Removing a token-signing key from the published key set makes tokens signed with it fail validation once each verifier refreshes its copy of the keys; that is the point, and it also signs out every user and service that holds one. When CircleCI disclosed a security incident on 4 January 2023, it told customers to "immediately rotate any and all secrets stored in CircleCI", and it rotated every GitHub OAuth token on its customers' behalf by 7 January. Each customer then had to find which of its own pipelines broke. The root cause, published on 12 January, was malware on an engineer's laptop that stole "a valid, 2FA-backed SSO session" (Chapter Six's session theft).

Web certificates show the limit and the industry's answer. A revoked TLS certificate stops being trusted only where clients check revocation, so the CA/Browser Forum chose shorter lives instead: ballot SC-081, approved on 11 April 2025, cuts the maximum life of a public TLS certificate from 398 days, in steps from March 2026, to 47 days by March 2029. A certificate that expires in weeks needs less revoking, and much more automated renewal. Detection runs the other way: Certificate Transparency logs, public append-only records of issued certificates, are how a company learns that a certificate it never asked for was issued in its name.

Figure 9.2
Revoke or keep: revocation is only safe when recovery still works afterwards
Decision tree for withdrawing trust from a key, certificate, boot manager or token.First question: is the trusted thing abused or exposed? If no, plan a rotation with an end date. If yes, ask whether every device can still recover after revoking (media, images, firmware). If no, fix recovery first and contain in the meantime, then ask again. If yes, ask whether revoking will stop a service or sign users out. If yes, stage the revocation in rings with notice and support; if no, revoke now. Both paths end in verifying on the fleet by counting devices that still trust the old item.noyesnoyesyesnoIs the trusted thingabused or exposed?Plan a rotationwith an end dateCan every device recoverafter revoking?media, images, firmwareFix recovery firstcontain meanwhileWill revoking stop aservice or sign users out?Stage it in ringsnotice, support, rollback planRevoke nowVerify on the fleetcount devices that still trust it
Ask the recovery question before the revocation question: a revocation that strands old media or signs everyone out must be staged like any other change.
Author's diagram based on Microsoft KB5025885 (staged Secure Boot revocations for CVE-2023-24932) and the key-compromise lifecycle in Chapter Six.

Figure 9.2 turns these cases into the order of questions. The recovery question comes before the revocation question. If revoking would leave some devices unable to recover, fix recovery first and contain the threat in the meantime, unless the active threat is worse than the outage, which is the incident commander's call; if revoking would stop a service or sign everyone out, stage it like any other change. In both cases, finish by counting the devices that still trust the old item, because a revocation that reached 90% of the fleet left 10% trusting the attacker.

Cross-signing is the gentler form of the same move: a new key or certificate is trusted alongside the old one for a period, so devices can move before the old one is withdrawn. Chapter Four shows that transition for the 2011 Secure Boot certificates. The Ledger records the period's end date, because a transition without an end date is a second root of trust that nobody planned to keep.

Recover: the recovery clock and what it depends on

The recovery clock runs from the moment a service fails to the moment 90% of it works again for the people who use it. It is not the time to the fix. The CrowdStrike file was reverted in 78 minutes; CrowdStrike reported that about 99% of Windows sensors were online again as of 29 July 2024, ten days later, and that number counts sensors connected, not businesses restored. The gap between those two numbers is recovery, and it was spent mostly on dependencies.

Microsoft's manual fix for affected machines (KB5042421) warned: "You may be asked to enter your BitLocker recovery key." That one sentence is the whole lesson of Figure 9.3. Recovering one device needed a recovery boot, the disk key, and a way to remove one file. Where escrow policy is set, the disk key is stored in Microsoft Entra ID for Entra-joined devices or in Active Directory Domain Services for domain-joined ones; a Mac's FileVault personal recovery key can be escrowed with the device management service. Reading the key needs a technician who can sign in, which needs the identity provider and MFA, which needs a network path through the VPN appliance and DNS. Removing the file needs either a push channel, which cannot reach a machine that does not boot, or a person with media at the device. Microsoft released a recovery tool (KB5042429) on 20 July 2024 that builds bootable media with two repair options; it still needed someone to plug the media in.

Figure 9.3
Recovery has its own supply chain: what must work before one device can be restored
Dependency graph for restoring one branch PC: recovery boot, disk unlock and undoing the change, and what each of those depends on.The goal, a branch PC back in service, needs three things: booting into recovery (which needs recovery media signed for the current boot keys, which needs a person on site or remote hands), unlocking the disk with the BitLocker recovery key (which needs key escrow in Entra ID, AD DS or the MDM, which needs a technician sign-in through the identity provider, which needs a network path through the VPN appliance and DNS), and undoing the bad change (which needs a push channel such as MDM, RMM or the EDR console, or, failing that, a person on site with media). The push channel and the key escrow are marked red because a device that does not boot cannot receive a push, and escrow servers can sit on the affected fleet.EACH ARROW READS: NEEDS. RED: OFTEN DOWN AT THE SAME TIME AS THE FLEETBranch PC back in servicetarget: 90% within the recovery clockBoot into recoveryWinRE or USB mediaUnlock the diskBitLocker recovery keyUndo the bad changedelete file, roll back, reimageRecovery mediasigned for current boot keysKey escrowEntra ID, AD DS or MDMPush channelMDM, RMM, EDR consolePerson on sitewith media, or remote handsTechnician sign-inidentity provider and MFANetwork pathVPN appliance, DNS
Each arrow reads 'needs'; the red boxes are the dependencies that a fleet-wide boot failure can take down at the same moment as the devices.
Author's diagram based on Microsoft's BitLocker recovery and Windows Recovery Environment documentation and the July 2024 recovery guidance (Chapter 5).

Draw your own version of Figure 9.3 for each critical system, then mark in red every box that runs on, or depends on, the fleet it is meant to recover. Those are the dependencies that fail together. Four questions find most of them:

That last question is where the cost of a bad push lives. Corvane has about 3,000 kiosks across 300 properties. If one change leaves every kiosk needing a hands-on repair, and a trained person fixes about six kiosks an hour once on site, the work is roughly 500 technician-hours before anyone travels; those are planning numbers to replace with a drill, not measurements. The cheapest recovery hour is the one prepared in advance: a golden image that can be laid down on a kiosk without the network, recovery media that are already signed for the current boot keys, and a property-level procedure that lets a duty manager check guests in on paper while the kiosks come back.

The vendors' answer: recovery built into the platform

Platform vendors have started to treat recovery as a product feature. Microsoft's Quick Machine Recovery became generally available on Windows 11 version 24H2 with update KB5062660 in July 2025. After repeated boot failures, the device starts in the Windows Recovery Environment, connects to the network, and, in Microsoft's words, uses "a secure and connected Windows Recovery Environment (WinRE) to scan Windows Update for remediation options", applies one and restarts. Its defaults matter for the Ledger: Microsoft's current documentation says cloud remediation is on for Home and unmanaged Pro devices and "disabled by default on enterprise-managed systems". An enterprise must decide to turn it on, and it then depends on the network and on Windows Update being reachable from recovery, which puts it back on Figure 9.3.

Apple's equivalents are recoveryOS on the Mac and the removable Background Security Improvements described above; Android's are the A/B fallback and Mainline. Linux distributions offer livepatch, package downgrades and, on image-based systems, a rollback to the previous image; which of these exists depends on the distribution, so the platform profile in Chapter Two decides the row.

Our view (as of November 2026): built-in recovery shortens the clock for the common case, a bad update that the vendor can fix centrally. It does not help when the failure is in your own escrow store, identity provider or console, and those are the cases a Trust Ledger exists for.

Withdrawal stepWindowsmacOSiOSLinuxAndroid
Stage and pause OS updatesDefer quality updates up to 30 days, pause up to 35; rings in Intune or AutopatchMDM deferral 1 to 90 days on supervised devicesMDM deferral 1 to 90 days on supervised devicesYour own repository mirror and timingDevice maker's OTA plus EMM policy; Play system updates for Mainline
Fix without a full OS updateHotpatch (Enterprise 24H2): 8 months a year without restartBackground Security Improvements (26.1 on)Background Security Improvements (26.1 on)Kernel livepatch where the distribution offers itMainline modules through Google Play system updates
Roll back a shipped changeUninstall the update; QMR remediation from WinRE where enabledRemove all Background Security Improvements at onceRemove all Background Security Improvements at oncePackage downgrade; image rollback on image-based systemsA/B fallback to the old slot if the new one fails to boot
Disk key escrow for recoveryBitLocker key in Entra ID or AD DSFileVault personal recovery key escrowed to MDMNot applicable to the user (hardware-bound)Depends on distribution and toolingNot applicable to the user (hardware-bound)
Firmware and siliconDBX (the Secure Boot forbidden list) and boot manager revocations staged by KB5025885; cannot be reverted with Secure Boot onApple-signed boot chain; recovery through recoveryOSApple-signed boot chainshim and SBAT (Secure Boot Advanced Targeting) revocations via the distribution and firmware DBXVerified Boot with rollback protection set by the device maker

The iOS and Android key rows say "not applicable to the user" because the platform holds the storage keys in hardware and recovery runs through the vendor's restore path, not a key a company escrows; Chapter Two describes each profile.

How it got this way

Automated updating was built for speed first and control later. Windows Update shipped with Windows 98, generally available on 25 June 1998, as "a centralized Web-based resource site". On 1 October 2003 Microsoft announced it would move to a monthly security bulletin cadence, and the first monthly release followed that month: the day the industry calls Patch Tuesday. Windows XP Service Pack 2 reached manufacturers on 6 August 2004 and was delivered through Automatic Updates, which Microsoft urged every user to turn on. Each step moved more of the fleet onto the vendor's clock. The controls to slow, pause and withdraw a change, rings, deferrals and staged rollouts, came afterwards, as products and policies layered on top of a channel designed to push.

What hasn't changed: the monthly rhythm set in October 2003 still drives the Windows fleet. Microsoft's hotpatch documentation for Windows 11 in 2025 still plans the year as twelve monthly releases, "eight hotpatch months, and four baseline months", twenty-two years after the first Update Tuesday (Microsoft Learn, Windows Autopatch hotpatch page, checked 18 November 2026). What has changed is only what happens between the monthly release and a running fix.

The unseen angle

Secure but unrecoverable is a real state. KB5025885 says in plain words that a revocation cannot be reverted while Secure Boot stays on, and that older boot media may not start afterwards. A fleet that applies it before refreshing its recovery media has made itself more secure and less recoverable on the same day. The pattern is general: the recovery path usually depends on something the incident has just broken, whether that is the disk key in an escrow store on the failed servers, the console that cannot reach a machine that does not boot, or the network path through an appliance at the property. No vendor dashboard shows that dependency, because it crosses vendors. Only your own drawing of Figure 9.3 does.

A control you cannot stop is a liability, and a revocation you cannot recover from is an outage you scheduled yourself.

These rows in the Trust Ledger

Halbrook Bank, branch desktop (2,500 Windows PCs, BitLocker on, Entra-joined). Only the columns this chapter changes are filled in detail; the times are drill targets until Halbrook measures them. Row codes and tags are as defined in Chapter One.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
MU Windows quality updates, three ringsMicrosoft pushes; Halbrook configures rings and deferralsAll 2,500 PCs; ring 0 is 50 IT PCsT3 target day 16 (as illustrated in Figure 9.1); tail ncPause up to 35 days, tested monthly; uninstall path documented; recovery 90% target 8 hoursO (Intune reports), plus a not-reporting listPer OS release (Chapter Eleven)Rent; Own the rings and the pause; end-user computing lead; review quarterly
DR EDR sensor and its content channelEDR vendor writes and pushes content; Halbrook sets sensor policyKernel; one push reaches every PCPer vendor; content several times a dayContent staging per ring where the contract allows; last drill date; BitLocker keys reachable offline for 25 critical branchesD (vendor console), C if contractedPer contractRent; Isolate: content staged by ring; CISO; review at renewal
ID BitLocker key escrow in Entra IDMicrosoft runs it; Halbrook admins read keysEvery encrypted PC depends on it for recoverynaBreak-glass export of keys for critical sites, sealed and audited; read test in each drillO (audit logs of key reads)naRent; Own the break-glass copy; identity lead; review semi-annually
FW Boot manager revocations (KB5025885)Microsoft signs; Halbrook decides when to applyAll PCs, plus recovery media and network bootEvaluation phase since April 2024; enforcement not announcedRefresh media and images first; apply by ring; not reversible with Secure Boot onD (event logs), O once collected2011 certificates: Chapter FourOwn the order of steps; end-user computing lead; review at each Microsoft phase change
Security lens

Who can change it? An authority that can push can usually pause its own future pushes; withdrawing what already shipped is a separate power that many lack. Whether you can stop or withdraw depends on controls the vendor exposes and you have configured: deferrals, pauses, staged content, removable security updates. Revocation is held by whoever holds the root: Microsoft for the Windows boot chain, your identity team for token-signing keys, your vendor for its own pipeline.

How fast can it be fixed? Two clocks, not one. The patch clock in this chapter's figure reaches 90% on day 16 by design. The recovery clock depends on the slowest dependency in Figure 9.3: the CrowdStrike file was reverted in 78 minutes, and the vendor's sensor-connectivity figure reached about 99% ten days later.

What does AI change here? Little in the physical part of recovery. An agent allowed to pause channels or rotate keys is itself an authority and needs a row (Chapter Sixteen).

Business implications

Security. Halbrook's exposure is the tail in Figure 9.1, not the median. Corvane's is a revocation applied before its 300 properties have fresh recovery media. Larkfield's is an updater with no server-side brake: a bad release keeps spreading to 400,000 desktops until someone ships the next one.

Cost. Recovery labor and field visits dominate the bill of a bad push. For Corvane, every hour of hands-on repair per property is multiplied by 300; a golden image and pre-signed media are cheap by comparison. For Halbrook, the cost is branch hours with tellers but no working desktop.

Visibility. A fleet report can say 90% while the most exposed 10% is untouched: devices that stopped reporting, sit in a closet, or never restart. Require the not-reporting count in every patch report, and require the recovery clock in every drill report.

Value. Customers notice recovery time, not patch time. For a hotel at check-in and a bank at opening hour, time to recover 90% may matter more than time to patch 90%, and it is the number a board can understand.

Monday rule: for each push channel, name the person who can stop it, pull that brake in a drill this quarter, and write down the time to stop and the time to recover 90%.

Part IV · The Chain and the Tail

Chapter Ten

Zero-Click: From the Screen to the Silicon

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 1 June 2023 Kaspersky published a report about its own phones. While "monitoring the network traffic of our own corporate Wi-Fi network dedicated for mobile devices", its researchers had found iPhones talking to servers they should not know. The infection arrived as an iMessage attachment, and "without any user interaction, the message triggers a vulnerability that leads to code execution"; the message and the exploit were then deleted. The oldest traces went back to 2019. Kaspersky called it Operation Triangulation. Six months later, on 27 December 2023, it published the whole chain: four zero-days, a font instruction at the front and undocumented registers of the chip in the middle. The decision this chapter changes is how you protect the few people in your company who are worth a chain like that, and which platform features you require on their devices.

Where Book 2 stopped

A zero-click attack needs no action from the victim: the device parses a message or attachment on its own, and the parser is the target. Book 2 (Chapter 14) told the parser side of three cases: FORCEDENTRY, where Citizen Lab found in September 2021 that an image decoder in iMessage was the first contact; BLASTPASS in 2023; and the libwebp flaw that needed a separate fix from every product that bundled the library. It also described Apple's two platform answers, the BlastDoor parsing service in iOS 14 and Lockdown Mode in iOS 16. This chapter does not repeat the decoders. It starts at the moment the first parser has been beaten and asks what is left: which boundaries still stand between that first foothold and full control of the device, who owns each one, and which of them the attackers had to break.

The short answer from the public record is that the parser is the front door, not the house. Every documented chain below needed at least one more privilege or isolation bypass after the first foothold, and each bypass crossed a boundary someone else owns. That is why the Trust Ledger treats a zero-click chain as a walk across rows, not as one bug.

Operation Triangulation, stage by stage

Kaspersky's researchers Boris Larin, Leonid Bezvershenko and Georgy Kucherin presented the chain at the 37th Chaos Communication Congress (37C3) on 27 December 2023, in a talk titled "Operation Triangulation: What You Get When Attack iPhones of Researchers", and Larin published the written version the same day. The chain "used four zero-days and was designed to work on iOS versions up to iOS 16.2". Figure 10.1 draws it on the Ledger rows; the text below stays at the level of Kaspersky's own description.

Figure 10.1
Operation Triangulation: one message crossed five Ledger rows, from a font instruction to undocumented chip registers and back to the kernel
Flow of the Operation Triangulation exploit chain across the Trust Ledger rows frame, libraries and runtimes, kernel, hypervisor and isolation, and silicon.Step 1, frame row: an iMessage attachment is processed without user interaction. Step 2, frame row: CVE-2023-41990 in the undocumented, Apple-only ADJUST TrueType instruction gives code execution. Step 3, libraries and runtimes row: return and jump oriented programming and JavaScriptCore stages, including a pointer authentication bypass. Step 4, kernel row: CVE-2023-32434, an integer overflow in XNU memory mapping calls. Step 5, silicon row: undocumented hardware MMIO registers, unused by the firmware. Step 6, isolation row: the Page Protection Layer is bypassed, mitigated as CVE-2023-38606. Step 7, frame row: a hidden Safari process is sent to a web page and exploited through CVE-2023-32435. Step 8, kernel row: a second kernel exploit gives root and installs the spyware.FRThe frame (Book 2)LRLibrariesKNKernelHVHypervisorSISilicon1iMessageattachment,no click2ADJUST fontinstructionCVE-2023-419903JavaScriptCorestages, PACbypass4XNU memorymappingoverflowCVE-2023-324345undocumentedMMIOregistershardware6PPLbypassedCVE-2023-386067hidden SafariexploitedCVE-2023-324358second kernelexploit, root,spywarereuses 4 to 6Numbered steps in Kaspersky's order. Red: the path the attack took. Mechanism level only.
The chain as Kaspersky published it on 27 December 2023: four zero-days, no click, and two trips through the kernel, with each step owned by a different part of the platform. PPL sits on the isolation (HV) row because it is a protection layer beside the kernel, not a hypervisor.
Source: Kaspersky Securelist, "Operation Triangulation: The last (hardware) mystery" (B. Larin, 27 December 2023) and 37C3 talk; Apple security notes for iOS 16.3, 16.4, 16.5.1, 16.6 and 15.7.7, 15.7.8.

The silicon step is the one that changes the Ledger. Kaspersky found that the registers were "unknown hardware registers of the chip unused by the firmware", that writing to them required a hash computed with "a custom algorithm" and "a predefined sbox table", and that the attackers had it. Kaspersky offered a guess, labeled as one: "Our guess is that this unknown hardware feature was most likely intended to be used for debugging or testing purposes by Apple engineers or the factory, or that it was included by mistake." Apple's iOS 16.6 note describes the fix only as "An app may be able to modify sensitive kernel state."

Kaspersky did not name an actor in its reports, and this book does not either.

The clocks: a silent fix and four advisories

The patch timeline in Figure 10.2 is the most instructive part of the case for a CTO, because it shows what the customer could and could not see.

Figure 10.2
Triangulation's clocks: the font flaw was fixed in January 2023, and Apple's notes said so in September
Timeline of Operation Triangulation from December 2022 to January 2024: Apple fixes in iOS 16 and iOS 15, Kaspersky's reports, Apple note updates, and the customer's unmeasured fleet lane.Campaign lane: infections since 2019 not shown (not published in detail); Kaspersky reports on 1 June 2023 and publishes the full chain on 27 December 2023 at 37C3. iOS 16 lane: iOS 16.3 on 23 January 2023 fixes CVE-2023-41990; iOS 16.4 on 27 March 2023 fixes CVE-2023-32435; iOS 16.5.1 on 21 June 2023 fixes CVE-2023-32434; iOS 16.6 on 24 July 2023 fixes CVE-2023-38606. iOS 15 lane: iOS 15.7.7 on 21 June 2023; iOS 15.7.8 on 24 July 2023 fixes CVE-2023-38606 and CVE-2023-41990. Apple notes lane: the CVE-2023-32435 entry added to the iOS 16.4 notes on 21 June 2023; the CVE-2023-41990 entry added to the iOS 16.3 notes on 8 September 2023. Your fleet lane: not collected, to be measured from your own device management reports.Jan 2023Apr 2023Jul 2023Oct 2023Jan 2024CampaignKasperskynp: earlier infections (traces from 2019) off scalereport: zero-clickfull chain, 37C3iOS 1616.3: font16.4: Safari16.5.1: kernel16.6: MMIOiOS 1515.7.715.7.8: MMIO, fontApple notesSafari entry addedfont entry addedYour fleetT2, T3nc: measure from your MDMDisclosedFix releasedOn devicesStopped or exploitednp: not published
Apple's iOS 16.3 fixed the font flaw in January 2023, credited to Apple, but its notes said so only from 8 September 2023; the hardware bypass was fixed in iOS 16.6 on 24 July 2023.
Source: Apple security notes HT213606 (iOS 16.3), HT213676 (iOS 16.4), HT213814 (iOS 16.5.1), HT213811 (iOS 15.7.7), HT213841 (iOS 16.6), HT213842 (iOS 15.7.8); Kaspersky Securelist (1 June and 27 December 2023).

Three visibility facts follow, and each belongs in the "Who can see it" column. First, a silent fix is real: the first fix in this chain shipped months before its notes described it, so a team that patches only when an advisory looks urgent would have waited for no reason. Second, the "may have been actively exploited" sentence is the strongest signal Apple prints, and it arrived after the attack was public. Third, the attack worked on iOS 16.2 and earlier. A fleet that ran 16.3 or later had closed the first door before anyone outside Apple knew it was a door. The fastest defense in this case was not threat intelligence; it was a short patch clock on every device.

Three comparison chains

FORCEDENTRY's escape (2021). Book 2 told how FORCEDENTRY's first stage beat the image decoder. Project Zero's Ian Beer and Samuel Groß published the second half on 31 March 2022. The exploit escaped from the sandboxed IMTranscoderAgent process to "arbitrary code execution in the context of CommCenter", a more privileged process, and it was "notable for using only logic bugs": it abused NSPredicate and NSExpression, ordinary system features for evaluating queries, rather than corrupting memory. Project Zero did not name a CVE for the escape, and this book does not assign one. The lesson for the Ledger is that the sandbox around a parser is a boundary owned by the OS, and the OS's own trusted services are on the far side of it.

Trident (2016). On 24 August 2016 Citizen Lab reported a chain used against a human rights defender. It was one-click, not zero-click: "The one-click vector involves sending the target a normal SMS text message with a link to a malicious website." Apple fixed its three flaws, CVE-2016-4655, CVE-2016-4656 and CVE-2016-4657, in iOS 9.3.5 the next day, crediting Citizen Lab and Lookout. Trident is the landmark documented in-the-wild iOS chain of its time: a browser bug, then the kernel. Seven years later Triangulation needed no click, added a hardware step, and went through the kernel twice. Some chains skip the message parser altogether: on 16 March 2023 Project Zero reported eighteen flaws in Samsung's Exynos modems, four of which allowed "Internet-to-baseband remote code execution" by an attacker who needed only to "know the victim's phone number". These cases suggest the direction of travel is down the stack.

WhatsApp and ImageIO (2025). On 20 August 2025 Apple shipped iOS 18.6.2 to fix CVE-2025-43300, an out-of-bounds write in its ImageIO framework that "may have been exploited in an extremely sophisticated attack against specific targeted individuals". WhatsApp's August 2025 advisory assessed that its own flaw, CVE-2025-55177, in the handling of linked-device synchronization messages, "in combination with an OS-level vulnerability on Apple platforms (CVE-2025-43300), may have been exploited". One chain, two vendors' advisories, each fixing its own row.

What removed a path: the architectural answers

Patches close one chain. Architecture changes what the next chain must contain. Four vendor answers are on the public record, and each maps to a Ledger row.

Our view (as of November 2026): hardware memory tagging is the most important of these for the rows below the frame, because it raises the cost of the kernel and runtime steps that every documented chain in this chapter needed. It is new, it depends on the exact chip, and the platform profile in Chapter Two must say which devices have it on.

Zero-click questionWindowsmacOSiOSLinuxAndroid
Who parses messages before you clickEach messaging and mail app, and the OS preview handlers it callsApple's Messages and its parsing services, plus each third-party appApple's Messages through BlastDoor (iOS 14 on), plus each appEach app and the libraries the distribution shipsThe SMS and RCS app, each messaging app, and the platform media stack
One switch for at-risk usersNo single named mode; set app and attachment policy per appLockdown ModeLockdown ModeNo single mode; distribution and app policyAdvanced Protection (Android 16)
Hardware memory taggingNot offered as a platform default on the PCs in this book's profilesApple's September 2025 MIE announcement covered iPhone models, not Macs; check per chipMemory Integrity Enforcement on iPhone 17 models and iPhone AirDepends on the CPU and distribution buildMTE on supported devices (Pixel 8 on, developer option; Advanced Protection in Android 16)
What the advisory tells youSecurity Update Guide marks exploited CVEsApple notes; exploited flaws marked "may have been actively exploited", sometimes added laterSame as macOS; Triangulation's first fix was listed months after releaseDistribution advisories, per packageMonthly bulletin; exploited issues marked as possibly "under limited, targeted exploitation"
Firmware and siliconChip and firmware issues fixed by OEM firmware, microcode or OS mitigations (Chapter Three)Fixed with OS updates on Apple siliconTriangulation's chip-register bypass was mitigated by an OS update, iOS 16.6Microcode and kernel mitigations from the distributionDevice maker and chip vendor, through the monthly bulletin
How it got this way

Messaging apps parse rich media automatically because users want previews, stickers, fonts and links that render before they tap. Every one of those conveniences is code that runs on untrusted input with no click. The industry's answers followed the attacks: Trident in 2016 was answered with iOS 9.3.5 the next day, FORCEDENTRY's decoder bug with a sandboxed parser that was already in place and an escape that went around it, Triangulation with fixes in four releases and, two years later, hardware memory tagging on Apple's newest phones. Each answer moved the next attack one row lower.

What hasn't changed: fonts are still programs. The TrueType instruction set that Book 2 (Chapter 3) traced to 1991 is still interpreted by every TrueType-capable rasterizer. In FreeType's interpreter, src/truetype/ttinterp.c, opcodes 0x8F and 0x90 are labeled /* ADJUST */ and sent to Ins_UNKNOWN, that is, rejected as unknown; the label dates from commit 49d474f6f (11 August 2016) and the rejection path from d03a67a12 (11 January 2015). Apple's own interpreter ran the same-named instruction until the 2023 patch. Measured 18 November 2026 with git blame on the FreeType repository at d7339729 (17 November 2026). One open-source engine had declined an instruction that another vendor kept for three decades.

The unseen angle

The chain that began with one font instruction ended at chip registers that the firmware did not use and that no public document described. No customer could have put those registers in a risk register, because only the chip's designer knew they existed. What this case adds to Book 2's picture is a boundary that no customer knew existed. Kaspersky found the chain not with a phone-based product but by watching its own network traffic. For a company with a handful of high-value phones, one visible signal can be on the network, not on the device: an MDM inventory reports version and compliance, not this kind of traffic. Phones roam onto cellular networks, so the network is one source of evidence, not a detector. The other source is the vendor: since 2021 Apple has sent threat notifications, by lock-screen alert and email, to users it believes were "individually targeted by mercenary spyware attacks", in over 150 countries so far. Decide in advance who at the company such a user calls.

The parser is the front door. Triangulation shows that the house also has rooms its owner never listed.

These rows in the Trust Ledger

Halbrook Bank, advisor and executive iPhones (about 120 supervised devices, the people a targeted chain would choose). The FR row is expanded because this is where the chain begins. Row codes and tags are as defined in Chapter One.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
FR Messages, attachment and font parsing (BlastDoor, FontParser, WebKit)Apple writes, signs and ships; each user turns on Lockdown Mode; Halbrook sets app policyAny sender who knows the number or account; one device per message, no clickTriangulation: T1 iOS 16.3 (23 Jan 2023) for the first flaw; Halbrook T3 target 7 daysLockdown Mode on for the 120, turned on by each user after MDM enrollment; update enforcement by MDM with no user deferralD (Apple notes, sometimes later); network monitoring OApple does not publish a date (Chapter Eleven)Rent; Isolate: Lockdown Mode for advisors and executives; CISO; review each iOS release
KN XNU kernelApple onlyReachable after any user-space footholdTriangulation: iOS 16.5.1 (21 Jun 2023)Restore and re-enroll is the recovery; no customer control below thatU on device; D from AppleAs FRRent; Own the minimum iOS version; mobile lead
SI Apple A-series chip; PPL and MMIO registersApple designs; fixes ship as OS mitigationsReachable only after kernel compromise; every device of that chip generationTriangulation: iOS 16.6 (24 Jul 2023)Behavior mitigated in software (iOS 16.6); the silicon changes only at refresh, so move to chips with memory tagging on a planUHardware support per Apple, unpublishedRent; buy iPhone 17 class devices for the 120 at next refresh; procurement; review annually
MU iOS updates through MDMApple publishes; Halbrook enforcesAll 120 devicesMeasure T2 and T3 from MDM reports (nc today)Enforced update with a deadline; noncompliant devices lose bank app accessO (MDM)naOwn the deadline; mobile lead; review monthly
Security lens

Who can change it? For this chain, only Apple could ship fixes for the five rows it crossed; the customer controlled how fast the fix ran on its devices, whether its users had Lockdown Mode on, and who could reach those phones. On Android the same rows are split between Google, the device maker and the chip vendor, so the Ledger needs more names.

How fast can it be fixed? The vendor's fixes arrived across six months and four releases, and the first one before any public report. Your clock is the gap between a release and your 90% mark, and for a small group of high-value devices it can be days, because you can enforce updates without asking.

What does AI change here? Our view (as of November 2026): automated analysis helps attackers search parsers for bugs as much as it helps defenders spot odd traffic. Neither changes the architecture point: hardware tagging and isolated parsers raise the cost of every step after the first.

Business implications

Security. Chains cross several owners in seconds. Halbrook's advisors and executives are the targets, not the branch tellers, so the strongest controls go on about 120 phones, not 2,500 desktops. Corvane's general managers carry the same risk on a smaller scale; Larkfield's code-signing key holders are its high-value people.

Cost. Chains like this are advertised by brokers at prices discussed in Chapter Twelve, which is why they are spent on few targets. Defense for those few is cheap by comparison: Lockdown Mode costs some convenience, and an earlier refresh of 120 phones to hardware with memory tagging is a small line in a bank's budget.

Visibility. A fully patched phone can look healthy to MDM while it talks to a command server. Kaspersky found Triangulation on its own Wi-Fi. Where law and staff agreements allow, send high-value devices through a monitored network path and keep the logs; DNS and flow records show where a phone talks, not what it says.

Value. The people a chain targets hold the decisions, the client relationships and the keys. Protecting them is protecting the value, and it is one of the few places in this book where a strong control costs little.

Monday rule: list the people in your company worth a zero-click chain, have them turn on Lockdown Mode or Advanced Protection, and enforce updates on their devices within seven days of release.

Our view, as of November 2026

We expect the next documented chains to spend more of their effort below the kernel, where Triangulation found an undocumented door, and less in the parser, which isolation and memory-safe rewrites are shrinking, though attackers will keep choosing the cheapest chain that works. Customers cannot audit chip registers. What they can do is buy devices whose platform turns on hardware memory tagging, keep high-value phones within days of the current release, and watch the network.

Chapter Eleven

The Long Tail: End of Support, Edge Appliances and Security Debt

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 5 February 2026 the US Cybersecurity and Infrastructure Security Agency issued Binding Operational Directive 26-02, "Mitigating Risk From End-of-Support Edge Devices". It told federal civilian agencies to inventory every device on CISA's end-of-support edge device list within three months, to decommission those devices within twelve, to remove every end-of-support edge device within eighteen, and to "establish a process for continuous discovery of all edge devices". A government had concluded that firewalls and VPN gateways nobody will fix any more are a risk worth a deadline. The decision this chapter changes is plain: every row of the Trust Ledger gets a support-end date, with its source, and every purchase order for a device that will live longer than its software states who fixes it and until when.

Unsupported is a date, not a feeling

End of support is the date after which the owner of a component no longer commits to fix it. It does not mean the component stops working, and it does not mean it can never be patched. It means the ordinary promise is over: no scheduled security updates, no obligation to respond. Microsoft's lifecycle policy puts it carefully: "Older products may not meet today's more demanding security requirements. Microsoft may be unable to provide security updates for older products."

Three things blur that line in practice, and the Ledger should record each separately.

So "unsupported" in the Ledger means one thing: no ordinary vendor commitment to fix it after a stated date. The cell holds that date, its source and the lead time to replace the component, because the replacement is usually the only lasting fix.

The support calendar, per platform

Each platform publishes its promise differently, and some do not publish one at all.

Windows. Microsoft publishes exact dates per release on its lifecycle pages. The long-term servicing channel (LTSC) editions used in kiosks and other fixed-function devices run much longer than the general releases: Windows 10 IoT Enterprise LTSC 2021 to 13 January 2032, Windows 10 IoT Enterprise LTSC 2019 to 9 January 2029, Windows 11 IoT Enterprise LTSC 2024 from 1 October 2024 to 10 October 2034. The non-IoT editions are shorter: Windows 10 Enterprise LTSC 2021 ends on 12 January 2027 (with paid ESU offered to 8 January 2030), Windows 11 Enterprise LTSC 2024 on 9 October 2029. A kiosk that looks like "Windows 10" may therefore be supported until 2032 or have lost support in October 2025; the edition decides, and the Ledger records it.

Apple. Apple does not publish an end date for iOS, iPadOS or macOS support. Where UK law requires it, Apple publishes a floor: its statement for a 13-inch iPad Pro gives a "Minimum 5 Years from the first supply date". Its deployment guide says that "not all known security issues are addressed in previous versions", and its security releases page shows what actually happened: older lines receive selected fixes for a time, then stop. Beyond that floor, any support-end date for an Apple device in your Ledger is an inference from history. Label it I, and keep the exploited-bug fixes for old lines separate from the support for the current major release.

Android. The promise is the device maker's, model by model. A sample of three published policies: Google committed in October 2023 to "seven years of software support for the Pixel 8 and Pixel 8 Pro", counted "from when the device first became available on the Google Store in the US"; Samsung announced for the Galaxy S24 in January 2024 "seven generations of OS upgrades and seven years of security updates"; Fairphone commits to "eight years of updates and software support" for the Fairphone 5, "until 2031". Three makers are a sample, not the market. Nor is the monthly bulletin a steady clock: Google's July 2025 Android bulletin said "There are no Android security patches", and September's listed more than 100 CVEs. For a tablet with no published promise, the cell says np, and that is the finding.

Linux. The kernel community publishes projected end-of-life dates for its longterm kernels, and says each "usually starts with only a 2-year projected EOL that can be extended further" and that the dates "are not set in stone". On 18 November 2026 the page listed 6.18 and 6.12 to December 2028, 6.6 and 6.1 to December 2027, and 5.15 and 5.10 to December 2026. Most companies do not run kernel.org kernels directly; they run a distribution or a device maker's build with its own lifecycle. The Ledger cell names whose date it is.

The law. The UK's Product Security and Telecommunications Infrastructure (PSTI) regulations, enforced from 29 April 2024, make makers of consumer connectable products state a defined support period. The EU's ecodesign regulation for smartphones and tablets, applying from 20 June 2025, requires operating-system updates for at least five years after a model's last unit is placed on the market. For products sold in the EU, the Cyber Resilience Act now makes the support period a duty. Article 13(8) requires manufacturers to set a support period that reflects expected use, and "the support period shall be at least five years" unless the product is expected to be in use for less. The regulation applies from 11 December 2027, with the reporting duties of Article 14 from 11 September 2026. For Larkfield, a manufacturer under the Act, the support period for versions it places on the EU market from December 2027 becomes a published commitment, not a release-notes habit.

Figure 11.1
Corvane's kiosk calendar: every row has its own end date, and the ones nobody published are the risk
Calendar from 2021 to 2035 of support end dates for Corvane's kiosk operating systems, boot certificates, signage kernel, tablets, VPN appliances and two regulatory dates.Kiosk hardware lane: bought in 2022 on a seven-year plan to 2029 (invented, illustrative). Windows 10 IoT Enterprise LTSC 2021: support ends 13 January 2032. Windows 11 IoT Enterprise LTSC 2024: available 1 October 2024, support ends 10 October 2034. Secure Boot 2011 certificates (an expiry, not a support end: devices keep booting but receive no new early-boot protections): Microsoft Corporation KEK CA 2011 expired 24 June 2026, Microsoft UEFI CA 2011 on 27 June 2026, Microsoft Windows Production PCA 2011 (the production certificate authority that signs the Windows boot manager) on 19 October 2026 (Chapter Four). Linux signage on kernel 6.6 LTS: projected end of life December 2027. Front-desk Android tablets: update end not published in Corvane's contract. VPN appliance at each property: vendor end-of-support date not collected. Regulation: EU Cyber Resilience Act reporting from 11 September 2026 and full application 11 December 2027; CISA BOD 26-02 for US federal agencies issued 5 February 2026.202120222023202420252026202720282029203020312032203320342035Kiosk hardware(plan)bought7-year plan endsWin 10 IoTLTSC 2021support endsWin 11 IoTLTSC 2024availablesupport endsSecure Boot2011 CAs (expiry)KEK 24 Jun, UEFI CA 27 JunPCA 19 OctSignagekernel 6.6releasedprojected EOLFront-desktabletsnp: update end not in contractVPN applianceper propertync: vendor end-of-support date not collectedRulesBOD 26-02CRA reportingCRA appliesDisclosedFix releasedOn devicesStopped or exploitednp: not published
Published support ends and certificate expiry dates for the software on Corvane's check-in kiosks and property estate, set against the hardware plan; dashed boxes are dates no vendor has given Corvane. KEK: key exchange key; PCA: production certificate authority.
Source: Microsoft Lifecycle pages for Windows 10 IoT Enterprise LTSC 2021 and Windows 11 IoT Enterprise LTSC 2024; Microsoft KB5062710; kernel.org releases page; Regulation (EU) 2024/2847 Art. 71; CISA BOD 26-02. Hardware plan, tablets and VPN lanes are Corvane's (invented, illustrative).

Figure 11.1 puts Corvane's kiosk estate on one calendar, and it shows a mismatch. The kiosks were bought on a seven-year plan, the OS edition runs to 2032, the boot certificates expired in 2026 (no new boot-level protections after that), the signage kernel's projected end is December 2027, and two lanes have no date at all. The tail of a fleet is not one date; it is the earliest date in the row nobody wrote down.

Support questionWindowsmacOSiOSLinuxAndroid
Is an end date published?Yes, per edition, on Microsoft lifecycle pagesNo; inferred from history (tag I)No end date; a UK PSTI minimum per model; end inferred from history (tag I)Kernel: projected per longterm release; distributions publish their ownPer device maker and model; absent for many devices
Long-life option for fixed-function devicesLTSC and IoT LTSC editions (to 2032 and 2034 for current IoT editions)None separate from the current releasesNone separate from the current releasesLongterm kernels and long-life distribution releasesDepends on the device maker; check the written promise
Paid bridge after the endESU: $61 per device in year one, doubling, up to three years (Windows 10)None offeredNone offeredFrom distribution vendors, by contractNone from the platform
Fixes for older versionsOnly through ESUSelected exploited fixes for older releases, no commitmentSelected exploited fixes for older lines, no commitment (iOS 15.8.8, 16.7.16 in May 2026)Whatever the distribution backportsWhatever the device maker ships
Firmware and siliconOEM firmware support end, rarely published per model; Secure Boot certificates (Chapter Four)Tied to Apple's OS support for the Mac modelTied to Apple's OS support for the modelVendor firmware via LVFS or OEM tools, where offeredChip vendor support for the board decides how long the device maker can patch

Edge appliances: outside the screen, on the path

The EX row of the Trust Ledger holds what sits outside the screen but on the attack path: VPN gateways, firewalls, remote-access appliances, load balancers. They do not draw a pixel. They do decide who reaches the systems that do, and they are often the first thing an intruder touches.

Figure 11.2
Edge appliances on the attack path: what the annual reports and one directive say
SourceData periodWhat it says about edge devices
Mandiant M-Trends 20242023 investigationsExploits were the initial vector in 38% of intrusions; "the first and third most targeted vulnerabilities were related to edge devices"
Mandiant M-Trends 20252024 investigationsExploits were the initial vector in 33%; "the most frequently exploited vulnerabilities affected security devices" at the network edge
Verizon DBIR 2025Incidents analyzed for the 2025 reportEdge devices and VPNs were 22% of vulnerability exploitation targets, up from 3%; about 54% fully remediated, median 32 days
GTIG zero-day review 2024202475 zero-days exploited; 44% in enterprise products; 20 in security and networking products
GTIG zero-day review 2025202590 zero-days exploited; 43 (48%) in enterprise software and appliances; 21 in security and networking products
CISA BOD 26-02Issued 5 Feb 2026US federal agencies: inventory end-of-support edge devices in 3 months, decommission listed ones in 12, all in 18
Five independent sources over three years point at the same row, the appliance at the edge of the network; each uses its own population and method, so the figures are not a trend and should not be combined.
Source: Mandiant M-Trends 2024 and 2025; Verizon 2025 Data Breach Investigations Report, executive summary; Google Threat Intelligence Group, zero-day reviews of 2024 (29 April 2025) and 2025 (5 March 2026); CISA BOD 26-02 (5 February 2026). Each figure is the publisher's own, with its own method.

Figure 11.2 collects what the annual reports say, each in its own words and with its own method. Mandiant's M-Trends 2024 found that in its 2023 investigations "the first and third most targeted vulnerabilities were related to edge devices"; M-Trends 2025 found for 2024 that "the most frequently exploited vulnerabilities affected security devices" at the network edge. Verizon's 2025 Data Breach Investigations Report found edge devices and VPNs were 22% of the targets of vulnerability exploitation, more than seven times the 3% of the year before, and that only about 54% of those vulnerabilities were fully remediated, at a median of 32 days. Google's Threat Intelligence Group counted 20 security and networking products among the 75 zero-days exploited in 2024, and 21 among 90 in 2025.

The government record is more direct. CISA added the Citrix NetScaler flaw known as Citrix Bleed, CVE-2023-4966, to its Known Exploited Vulnerabilities (KEV) catalog on 18 October 2023, and Fortinet's FortiOS SSL VPN flaw CVE-2024-21762 on 9 February 2024. For Ivanti Connect Secure and Policy Secure (CVE-2023-46805 and CVE-2024-21887, both added to KEV on 10 January 2024) it issued Emergency Directive 24-01 on 19 January 2024, then Supplemental Direction on 31 January ordering agencies to "disconnect all instances" by 2 February. For Cisco firewalls, Emergency Directive 25-03 of 25 September 2025 went further for old hardware: agencies had to "permanently disconnect these devices on or before September 30, 2025" where the models had reached end of support. That is the long tail and the edge in one sentence: an exploited appliance that the vendor no longer fixes has no patch path, only an exit. Barracuda reached the same point in June 2023 for its Email Security Gateway (CVE-2023-2868): "Compromised ESG appliances must be immediately replaced regardless of patch version level."

For Corvane, the edge is 300 VPN appliances, one per property, bought with the network contract and managed by an integrator. They are on the recovery path in Chapter Nine's Figure 9.3 and on the attack path here. Nobody at Corvane has their end-of-support dates. That is the lane marked nc in Figure 11.1.

n-days and the tail

A zero-day is exploited before a fix exists; an n-day is exploited after the fix is published, against devices that have not applied it. The tail of a fleet, and everything past its support end, lives in n-day territory: the fix exists somewhere, but not on that device.

Mandiant's analysis of 2023, published by Google Cloud on 16 October 2024, counted 138 vulnerabilities exploited that year, 97 as zero-days and 41 as n-days, and an average time to exploit of 5 days. The zero-day count is the headline; the n-day count is the long tail's bill. For an unsupported device, every later flaw that also affects the old code is a permanent n-day: the fix may exist for supported versions, and attackers can study it to find the bug in the old one.

Our view (as of November 2026): for most companies the larger, steadier risk sits in the tail, not at the zero-day front. Zero-days are spent on chosen targets (Chapter Ten). The n-day against an appliance two years past its support end is open to anyone who reads the advisory.

Paying down security debt

Security debt is the work a team owes because a component outlived its support or was never updated: the refresh not budgeted, the appliance not replaced, the old edition kept because one app needs it. Like financial debt it has a due date and it charges interest, in exposure and, through ESU and emergency projects, in money.

How it got this way

Devices outlive software promises. A kiosk, a branch PC or a firewall is bought on hardware life, depreciated over years, and kept as long as it powers on. The software inside it is bought on a support promise that was usually written by the vendor, not by the buyer, and rarely appears on the purchase order. When Windows editions, phone models and appliances had short lives, the mismatch was small. Long-life editions, seven-year phone promises and regulations such as the CRA are the industry's slow answer: they make the date longer and more visible, not unnecessary.

What hasn't changed: for fixed-lifecycle products, the date is set at launch. Microsoft's Fixed Lifecycle Policy still promises "a defined support and servicing Lifecycle timeline at the time of product launch" and "a minimum of five years Mainstream Support" (Microsoft Learn, Fixed Lifecycle Policy, checked 18 November 2026; its current revision took effect on 13 April 2010). Windows 11 IoT Enterprise LTSC 2024, launched on 1 October 2024, carries an end date of 10 October 2034 from its first day. The buyer has had ten years' notice. What usually goes missing is the copy of that date in the buyer's own records.

The unseen angle

Security debt has a due date, and most fleets cannot say what it is. Endpoint tools report OS versions; they rarely report the firmware's support term, the tablet maker's update promise or the VPN appliance's end-of-support date, because those live in vendor pages and contracts, not on the device. That is why CISA's directive starts with an inventory and with "continuous discovery of all edge devices": the government's first step was to find the devices, not to patch them. A Trust Ledger row with no support-end date is the first audit finding, before any vulnerability scan.

Fleets are bought on hardware life and abandoned on software life. The gap between the two is the long tail.

These rows in the Trust Ledger

Corvane Hotels, check-in kiosk (about 3,000 kiosks at 300 properties) and the property edge. Column 7 is filled for every row; the other columns are summarized. Row codes and tags are as defined in Chapter One.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
KN Windows 10 IoT Enterprise LTSC 2021 on kiosksMicrosoft writes and ships; Corvane sets ringsEvery kiosk; guest-facingMonthly; measured per ring (Chapter Nine)Golden image per kiosk modelO (fleet reports)13 Jan 2032 (Microsoft lifecycle page)Rent; Pin to this edition until the kiosk refresh (hardware plan ends 2029); new kiosks on LTSC 2024 (to 2034); end-user computing lead
FW Kiosk OEM firmware and Secure Boot certificatesIndependent BIOS vendor writes, OEM signsEvery kioskOEM releases, irregularOEM firmware update only; 2023 certificate status per device (Chapter Four)DOEM firmware support: np. 2011 certificates expired June to October 2026Rent; demand a written firmware support term at next purchase; procurement
DR Payment-terminal driverTerminal vendorKernel on every kiosk; payment dataPer vendorRollback by image onlyDPer contract: ncRent; add support end and fix SLA to the contract; payments lead
MU Front-desk Android tabletsDevice maker and GoogleStaff devices at 300 propertiesMonthly bulletin, then maker's imageEMM wipe and re-enrollO (EMM)np: no update end in the contractRent; buy only models with a published update end date; IT procurement
EX VPN appliance, one per propertyAppliance vendor; integrator configuresInternet-facing; reaches the property network and the recovery pathVendor advisories; KEV entries for this classReplace or disconnect; no tested failoverUnc: vendor end-of-support date not collectedRent; collect dates within 30 days, Isolate management interfaces, replace any past end of support; network lead
Security lens

Who can change it? After the support end, nobody is obliged to answer, short of a paid extension or third-party support. The vendor may fix it as an exception; you cannot make it. Your only authority left is to isolate it or replace it.

How fast can it be fixed? Past the support end, the patch clock has no T1. The clock that matters becomes the replacement lead time: procurement, imaging and site visits, which for 300 properties is months, not days.

What does AI change here? Our view (as of November 2026): AI-assisted analysis makes it cheaper to compare a fixed version with an old one and find the flaw the fix closed, which shortens the time from a published fix to a working n-day. That makes unsupported components more exposed every year they stay, not less.

Business implications

Security. Unsupported means no ordinary vendor commitment to fix, not "unpatchable", and the difference matters for planning. Corvane's largest gap is its edge: 300 appliances with no recorded support end. Halbrook's is its branch PCs on whatever edition each refresh brought; Larkfield's is the opposite side, its own promise of support to 400,000 desktops under the CRA.

Cost. Extended support is priced to push upgrades: $61 per device for year one, doubling. A forced refresh lands in one budget year unless purchases were spread. Larkfield's cost is the engineering to keep old releases patched for the support period it publishes.

Visibility. Few fleets track support ends per row. Add the column to the asset inventory, with the source of each date and an evidence tag; an empty cell is the finding.

Value. The long tail is where a planned refresh beats an emergency one. A board can understand a calendar with dates and costs; it cannot act on "legacy risk".

Monday rule: pick one critical system, fill column 7 for every row with a date and its source, and list every edge appliance with its end-of-support date; any cell you cannot fill is next quarter's first task.

Our view, as of November 2026

Published support periods will keep getting longer and more binding, through phone makers' seven-year promises, long-life OS editions and the CRA's five-year floor from December 2027. They will not remove the long tail, because devices will still outlive their dates and fleets will still lose track of appliances. The companies that do well will be the ones that hold the date in their own Ledger and act on it a year early.

Part V · Money, Record and Decisions

Chapter Twelve

Who Pays for Security: The Market

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 10 October 2025 Apple said it would double the top award in its security bounty to $2 million for an exploit chain that reaches the goals of a mercenary spyware attack, with bonuses that could take one payout above $5 million. An exploit broker's price list, published in April 2024, asks between $5 million and $7 million for a zero-click full chain against iOS. Both numbers are about the same target, a full chain against a phone, though they buy different things, and neither is the price of your security. They are two signals from a market that decides how many people look for flaws in the layers you rent, who learns about a flaw first, and who pays when it is used. This chapter follows that money. The decision it changes is small and concrete: for each row of your Trust Ledger, add the optional column "who pays on failure", and fill it before you sign the next renewal.

Five parties, one stack

Every row of the Trust Ledger (Chapter 1) has an authority that can change it. Behind every authority is a budget. Five groups take part in paying for, or doing, the security work on the layers below your screen, each for a different reason.

Insurers stand beside you and pay part of some losses, under exclusions you agreed to. Lawmakers and courts decide, slowly, how much of the loss can be moved back to the authority that caused it. Figure 12.1 puts these flows on one page.

Figure 12.1
Who earns, who holds the authority, who insures and who bears the loss
Money and liability flow between vendors, researchers, brokers, maintainers, your company, insurers, lawmakers and your customersThree bands. Top: who earns (exploit brokers with advertised asks, researchers paid by bounties, platform vendors, security vendors). Middle: who holds the authority (lawmakers and courts, your company, open-source maintainers). Bottom: who insures and bears loss (the party responsible under contract or law, your customers, insurers). Arrows: your company pays licenses to platform and security vendors; vendors pay bounties to researchers; some researchers sell to brokers; vendors and funds give grants to maintainers; lawmakers and courts set who pays; an outage lands on your customers; insurers pay minus exclusions.WHO EARNSWHO HOLDS THE AUTHORITYWHO INSURES AND WHO BEARS THE LOSSlicensesgrantssets who paysoutagepayout minus exclusionsExploit brokersadvertised asks, not pricesiOS zero-click: $5M to $7MResearcherspaid by bounties (Apple top: $2M);some sell to brokers insteadPlatform vendorsOS, cloud, devicessecurity as productSecurity vendorsEDR, identity, cloudWiz: $32B, closed 2026Lawmakers and courtsCRA, PLD (software from9 Dec 2026), SEC Item 1.05Your companyrents most rowspays licenses and premiumsOpen-source maintainersoften unfundedrelative to their reachThe party responsibleunder contract or lawpays what they sayYour customersbear the outage hoursand the lost trustInsurerscyber and property coverstate-backed exclusions
Money flows toward the authorities that change your systems; the loss from a failed change flows the other way, to you and your customers, unless a contract, a policy or a law moves it back.
Author's diagram based on Apple Security Research (10 Oct 2025), Google VRP 2025 review (2026), Crowdfense program page (2025), Google press release (11 Mar 2026), Regulation (EU) 2024/2847, Directive (EU) 2024/2853, SEC final rule (26 Jul 2023). Amounts are dated; broker figures are advertised asks.

The figure has one asymmetry worth naming before the details. Most of the money flows toward the authorities that can change your systems. The loss from a failed change flows away from them, to you and your customers, unless a contract, an insurance policy or a law moves it back. The rest of this chapter is about those three ways back.

Bounties and brokers: two numbers that are not one price

A bug bounty is a published reward a vendor pays for a vulnerability reported to it, so it can fix the flaw. The large programs now publish what they pay, and the numbers are dated:

An exploit broker buys working exploits and sells them on, usually to clients it does not name. Crowdfense, a broker that publishes its program, updated its list in April 2024 with asks such as "iOS Zero Click Full Chain (e.g. iMessage): from 5 to 7 M USD" and "Android Zero Click Full Chain (e.g Whatsapp, RCS): 5 M USD", and says its acquisition budget has grown to $30 million. Its page does not name its clients.

It is tempting to set the two lists side by side and say that the defenders are outbid. Do not. The numbers measure different things. A bounty pays for a report: the vendor gets the bug and can fix it, though the fix still has to reach every device that runs the code. A broker's figure is an advertised ask for an exclusive, working, chained capability, often with a promise to keep it working after updates, and a broker's buyer pays for the chance that the flaw stays unfixed. A bounty maximum is the top of a range most reports never reach; a broker's number is marketing, published by a buyer that wants sellers. Neither is a market price in the sense an economist would accept, because the trades on the broker side are secret. What both numbers do show, dated and sourced, is direction: the published price of a zero-click chain against a phone has been rising on both sides, and a working chain against a phone is worth millions to someone.

For a CTO, the practical lesson is narrower than the headlines. The bounty of the vendor that owns a row is one signal of that row's intake: it pays for flaws to arrive at the vendor instead of at a broker. It says nothing about triage, engineering or how fast the fix reaches your fleet. Ask your platform and security vendors whether they run a public bounty, what it covers, and whether the component you rent from them is in scope. A row whose owner runs no bounty, publishes no advisories and has no security contact is a row where you are more likely to learn about the flaw from someone else.

Who pays for the fixWindowsmacOSiOSLinuxAndroid
Who funds the OS fixMicrosoft, from licenses and subscriptionsApple, from hardware and servicesApple, from hardware and servicesThe distribution: a paid enterprise vendor, or volunteers for community buildsGoogle for Android itself and its own devices; each device maker for its builds
Public bounty for the OSMicrosoft bounty programsApple Security BountyApple Security Bounty (top award $2 million from November 2025)Per project; no single owner pays for the whole stackGoogle's reward programs for Android and Google devices
Who pays for fixes after the support endYou, where Microsoft sells extended updates for a release (Chapter 11)No paid extension; replace the MacNo paid extension; replace the deviceYou: a paid enterprise distribution whose vendor backports fixes, or your own backportsThe device maker's promise, or nobody (Chapter 11)
Firmware and siliconChip vendors and device makers fund their own fixes; the fix reaches you only through an OEM firmware update or an OS update (Chapters 3 and 4), so the OEM's support budget is part of your patch clock.

The unpaid rows: open source after Heartbleed

In this book's cases the libraries row is where the market is thinnest. On 7 April 2014 the OpenSSL project published the advisory for CVE-2014-0160, the flaw known as Heartbleed, in the library that encrypted a large share of the web's traffic. Days later Steve Marquess, then running the OpenSSL Software Foundation, wrote that the foundation typically received about $2,000 a year in donations. The code was everywhere; the money was not. Log4Shell in December 2021 (Chapter 8) repeated the pattern in a Java logging library kept by volunteers.

The response came as industry funds, each a few years apart:

These funds are real and they have changed specific projects. They are also small next to the reach of the code. Chapter 8 tells the xz-utils case of 2024, where a long campaign to take over a compression library ran through a project kept alive by volunteers; this chapter adds only the money question. When your Ledger's LR row lists a dependency, the honest entry in "who pays on failure" is often "nobody we have a contract with". The EU laws below keep it that way on purpose: the Product Liability Directive does not apply to free and open-source software developed or supplied outside a commercial activity, and the Cyber Resilience Act gives non-profit "open-source software stewards" (Article 24) lighter duties than manufacturers. The maker that ships the package inside a commercial product, such as Larkfield, carries the duty for it. That is not a reason to avoid open source. It is a reason to fund, or at least to watch, the few components your business cannot run without.

Insurance follows attribution

Cyber insurance is the one contract written for the purpose of paying for a failed row, whoever caused it; SLA credits and indemnities pay only for their own vendor's failures. The NotPetya cases of 2017 show what that contract is worth when the failure has a state behind it. The full case is in Chapter 13; here is what the insurance record says.

Merck. NotPetya hit Merck in June 2017 through a Ukrainian accounting program. Merck claimed under its property insurance, and its insurers relied on an exclusion for "hostile/warlike action". On 1 May 2023 the Appellate Division of the New Jersey Superior Court (Merck & Co. v. ACE American Insurance Co., No. A-1879-21) held that the exclusion did not cover a cyberattack on a nonmilitary company: the wording, written for armed conflict, did not reach this event. The parties settled in January 2024, before the New Jersey Supreme Court ruled, so the decision stands without a final word from the state's highest court.

Mondelez. Mondelez sued Zurich American in Illinois state court after Zurich invoked a war exclusion to deny a claim of over $100 million. The parties settled in late 2022, during the trial, on terms they did not disclose. No court ruled on whether NotPetya was an act of war under that policy.

The market did not wait for the courts. In August 2022 Lloyd's of London told its managing agents (Market Bulletin Y5381) that standalone cyber-attack policies written from 31 March 2023 must, at a minimum, exclude losses from war and from state-backed cyber attacks that significantly impair a state's ability to function or its security capabilities, be clear about systems outside the affected state, and set out a robust basis for how the parties will attribute an attack to a state. Model clauses from the Lloyd's Market Association lean primarily on attribution by the government of the state where the affected computer system is located.

Put those facts together and a new dependency appears on your Ledger. Whether a loss is covered can turn on a government's public attribution. For NotPetya, the UK and US governments attributed the attack on 15 February 2018, almost eight months after the event. A claim filed in the weeks after an attack may be paid, disputed or denied depending on a statement nobody at your company controls, made on a clock nobody at your company sets. The insurance row, in other words, has a patch clock of its own.

Liability moves: from disclaimers to duties

For most of the history of commercial software, the license carried the liability decision. The vendor disclaimed warranties and capped damages, the customer accepted, and the cost of a defect stayed where it landed. Three moves since 2023 have started to change that, at different speeds.

The United States: a proposal. The National Cybersecurity Strategy of 2 March 2023 listed, under its third pillar, an objective to "shift liability for insecure software products and services". It proposed working with Congress on legislation that would prevent makers "with market power from fully disclaiming liability by contract" and would offer a safe harbor to vendors that build and maintain software securely. It needed legislation, and no such law had passed by the source freeze of this book. Executive Order 14306 of 6 June 2025 then amended the two earlier cyber orders, 13694 and 14144, and struck several of the secure-software requirements that the January 2025 order (14144) had placed on federal contractors through the acquisition rules. The 2023 strategy was not revoked; the liability shift it proposed remains a proposal.

The European Union: duties with dates. Two laws move cost toward the maker of software sold in the EU:

Vendors: commitments. The large vendors made public promises that are not law but are written down: Microsoft's Secure Future Initiative (2 November 2023) is one; Chapter 5 covers Microsoft's later work with security vendors on kernel access. A promise written in a blog post is evidence of intent. A promise written in your contract is evidence you can use, and the contract's liability cap, its carve-outs and any indemnity are where most "who pays" questions are settled today (Chapter 15).

None of this moves money to you on its own. What it changes is what a vendor must do, by when, and what a court may later ask about. For Larkfield Software, the ISV in this book that sells a desktop app in the EU, it changes more than that: Larkfield now carries reporting duties by law and, for products placed on the market after 9 December 2026, can be the party that pays when a defect causes damage the directive covers. For a vendor whose installs are mostly in businesses that reach is narrow: the directive excludes property used only for professional purposes and data used for professional purposes.

How it got this way

The licenses that shipped with commercial software from the 1980s onward disclaimed warranties and capped damages, and buyers had little choice but to accept them. The 2023 US strategy states the result plainly: software makers could use their market position to disclaim liability by contract, which weakened the incentive to test before release and to build securely. Patching became a free service the vendor offered on its own schedule, not a duty with a clock. The first bounty programs at the large platform vendors and the industry funds after Heartbleed were voluntary answers to the same gap: they paid for security where no contract or law required it. The EU acts of 2024 are the first broad attempt in this book's sources to turn those voluntary answers into duties with dates.

What hasn't changed: in April 2014 the library that protected much of the web's traffic received about $2,000 a year in donations, by its foundation's own account; ten years later, in March 2024, the xz case (Chapter 8) again ran through a widely used component maintained by volunteers. The pattern holds in those two cases, which is enough to put a funding question on every LR row.

The unseen angle

Your cyber insurance policy has a Trust Ledger of its own, and few companies draw it. Take the exclusions (war, state-backed attack, infrastructure failure, unpatched known vulnerabilities, contractual liability) and map each one to the rows it can void. Depending on its wording, a state-backed exclusion can reach any row an intelligence service might use, including your MU and DR rows, the ones that matter most in Chapter 13. Where a policy has an "unpatched vulnerability" clause (wordings vary), it turns your patch clock (T3 and the tail) into a coverage condition. Do this before the broker meeting, not after the claim. Sources: Lloyd's Market Bulletin Y5381 (August 2022) for the state-backed requirement and its attribution basis; Merck v. ACE (N.J. App. Div., 1 May 2023) for what an old war clause did and did not cover.

A bounty buys the bug for the vendor. A broker's ask is for the bug to stay alive. Your insurance may depend on a government's statement eight months later.

These rows in the Trust Ledger

The worked example is Larkfield Software's desktop app: about 400,000 customer desktops on Windows, macOS and Linux, built on an Electron-style runtime, updated through Larkfield's own channel and signed with Larkfield's own code-signing key. The optional column "who pays on failure" is filled; the figures in it are the model's, for an invented company.

Row and componentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and ownerWho pays on failure
LR: bundled Chromium-based runtime, pinned per releaseUpstream writes; runtime project builds; Larkfield shipsEvery document and web page the app renders; all 400,000 desktopsT1 = Larkfield release after the runtime fix; T3 measured from update telemetryUpdate channel pause; rollback to previous signed buildD (vendor advisories); O (Larkfield update telemetry)Runtime support per major release (Book 2, Chapter 11)Own the upgrade train; Pin one major with an end date; owner: head of desktop engineeringLarkfield, toward customers; nobody toward Larkfield. From 11 Sept 2026, Larkfield also carries the CRA reporting duty
LR: open-source packages from a public registry, about 1,100 in the lock fileHundreds of maintainers write and publish; the registry hostsBuild machines and every shipped buildnp for most maintainers; Larkfield's own clock from advisory to rebuildLock files, a private mirror, rebuild from a known-good lockI (scanner output); U for unmaintained packagesnp for most packagesRent; Isolate builds from live registry; fund the five packages the product cannot run withoutLarkfield; no contract with any maintainer
ID: code-signing key for Windows and macOS buildsTwo release engineers can sign; a hardware security module holds the keyA stolen key can sign malware that every customer's OS will trust as LarkfieldRevocation by the certificate issuer; clock np until drilledRevoke and re-issue; re-sign current builds; last drill: noneO (signing logs in the HSM)Certificate expiry dateOwn; owner: CISO; drill revocation this quarterLarkfield, and every customer that trusted the signature
MU: Larkfield's update channel and serverRelease engineering pushes; the cloud host runs itOne approved push reaches every desktop that checks inLarkfield's own: hours from build to 50% of desktopsRings: 1%, 10%, 50%, 100%; kill switch on the serverO (check-in telemetry)n/aOwn; rings and kill switch tested monthlyLarkfield, through SLA credits (Chapter 14); for products placed on the market after 9 Dec 2026, possible EU product liability, subject to defect, covered damage (mainly non-professional users' property and data) and causation
Security lens

Who can change it? In the money view, whoever is paid to look. A vendor with a large bounty and a staffed response team hears about flaws in its rows from people it pays; a component with no owner hears about them from an advisory, or from an incident. Brokers pay others to make sure some flaws reach a buyer instead of the owner.

How fast can it be fixed? Funding sets capacity, not speed. A rich vendor can still ship slowly; an unfunded project can still fix in hours. What funding changes is whether there is anyone on duty when the report arrives, and whether the fix reaches downstream copies. Measure the clock per row (Appendix D); do not infer it from a budget.

What does AI change here? Our view (as of November 2026): AI-assisted tools lower the cost of finding some classes of bugs for both sides, which puts pressure on bounty budgets and on unfunded maintainers at the same time. Chapter 16 has the dated evidence, including one project that closed its bounty over AI-generated reports.

Business implications

Security. For Larkfield Software, the vendor side of trust: its signing key and update channel are now rows other companies rent, and the EU makes it report actively exploited flaws in its product within 24 hours from 11 September 2026. Halbrook Bank's EDR and identity vendors are the authorities on its riskiest rows; their bounty scope and advisory practice belong in the vendor review.

Cost. Corvane Hotels' cyber policy renews each spring. Before renewal, its risk team maps the state-backed exclusion and the "unpatched vulnerability" clause to the kiosk Ledger's MU, DR and FW rows, and asks the broker in writing what attribution standard the policy uses.

Visibility. Advertised broker asks and bounty maxima are the most visible public price signals in this market, and both are published by interested parties. Use them as dated direction, never as a valuation of your exposure.

Value. Liability law is beginning to price defects into the product. A vendor that can show its patch clock, its support period and its reporting process is cheaper to rent, because it is less likely to cause the loss in the first place.

Monday rule: add "who pays on failure" to the five riskiest rows of one critical Ledger, with the contract clause or policy section that says so; where the answer is "nobody", write that down.

Our view, as of November 2026

The EU's two acts will move cost toward software makers, but slowly and unevenly: the CRA's main duties apply from December 2027, and the new liability rules apply only to products placed on the market after 9 December 2026. In the United States, absent legislation, liability will keep being set by contracts and by litigation such as the cases in Chapter 13. Expect vendors to answer with longer published support periods and more formal reporting, and to resist uncapped liability in contracts; Chapter 15 shows which clauses to ask for anyway.

Chapter Thirteen

The Record: Spyware, Sabotage and the Outage

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 15 February 2018 the British government said that the Russian military was "almost certainly responsible" for the NotPetya attack of June 2017, and hours later the White House said the same. The attack had reached the world through the update server of a Ukrainian accounting program. Seven years after the attack, on 19 July 2024, a security vendor's routine content update stopped Windows machines across airlines, hospitals and banks, with no attacker anywhere in the story. Put the two events side by side on the Trust Ledger and they share one pattern: a trusted update channel, privileged code on every endpoint that took the push, and machines that would not start. This chapter tells what the stack below the screen has actually been used for, by whom, according to the record. The decision it changes: Halbrook Bank stops writing separate plans for "a cyberattack" and "a vendor outage" on its update and driver rows, and writes one.

The rule for this chapter

This is the book's most sensitive material, so it is held to the narrowest sources. Technical facts come from the published analyses of vendors and researchers, cited by name. Attackers, and anyone accused of an attack, are named only as a court, a government or Citizen Lab names them, or as a vendor names itself in its own advisory. Damage figures carry the name of whoever said them. Where the record names nobody, this book names nobody. Each case told in full here is told only here; the technical mechanisms live elsewhere and get one sentence and a pointer: the Channel File 291 mechanism in Chapter 5, the zero-click chains in Chapter 10, the image decoders behind them in Book 2, Chapter 14, and the build-system compromises (SolarWinds in 2020, xz in 2024) in Chapter 8.

Four cases follow: Stuxnet, sabotage of industrial controllers through signed Windows drivers; Pegasus and the mercenary spyware market, documented by researchers, a government and a US court; NotPetya, a destructive attack through a trusted update channel; and Channel File 291, the outage that used the same kind of channel by accident.

Stuxnet: sabotage through signed drivers

On 17 June 2010 the antivirus company VirusBlokAda reported a worm that spread through a flaw in the way Windows handled shortcut (.lnk) files. Symantec's analysis, published as the W32.Stuxnet Dossier (version 1.4, February 2011), is the detailed vendor account this section relies on, and it is the source for everything below.

Figure 13.1
Stuxnet: from removable drives to the frequency drives
Stuxnet flow over services, kernel, drivers, libraries and external rowsSteps: removable drives, through autorun files in the June 2009 variant and the shortcut (LNK) flaw, later patched as MS10-046, from the March 2010 variant; two privilege escalation zero-days; rootkit drivers signed with certificates issued to Realtek and then JMicron, whose private keys the attackers held; the print spooler flaw was later patched as MS10-061; Step 7 projects infected; S7-315 PLC code modified and hidden, setting frequency drives to 1410, 2 and 1064 Hz (an S7-417 sequence was incomplete).EXExternal dependenciesLRLibrariesSPServicesDRDriversKNKernel1removable drivesautorun, then LNK2009; LNK 20102two privilegeescalation 0-days3rootkit driversRealtek, JMicron certs20104Step 7projects5S7-315 PLC codechanged and hidden;drives 1410, 2, 1064 HzNumbered steps in order. Red: the path the attack or failure took.
Stuxnet crossed every trusted layer between a Windows engineering station and a motor, and drivers signed with two companies' compromised certificates let its kernel code load as trusted.
Symantec, W32.Stuxnet Dossier, version 1.4 (February 2011).

The dossier names no author, and no court or government record used in this book does either, so this book names none. What the record does establish is enough for a CTO. Stuxnet crossed every trust boundary between an office PC and a motor, and at the kernel step it did not need to break signing: it carried stolen keys. The observed interval from the first known signed driver to revocation was about six months, and the attackers had a second key ready the day after the first was revoked.

Pegasus and the mercenary spyware market: the record

"Mercenary spyware" is the term Apple and researchers use for surveillance tools that companies build and sell to governments. The public record on one vendor, NSO Group, and its Pegasus product is the most complete of any, because it comes from three independent kinds of source: forensic research by Citizen Lab at the University of Toronto, actions by the US government, and two civil lawsuits in a US federal court.

The research record. Citizen Lab's reports set the timeline. On 24 August 2016 it described a one-click chain against an iPhone, found after a targeted human rights defender sent it the suspicious links he had received; Citizen Lab had reported it to Apple on 15 August, and Apple shipped iOS 9.3.5 on 25 August. On 18 September 2018 Citizen Lab reported Pegasus infrastructure in operations it traced to 45 countries, noting that the list could include countries that were not NSO customers. On 13 September 2021 it published the zero-click chain it called FORCEDENTRY, six days after sending Apple the sample; Apple fixed it the same day in iOS 14.8. On 7 September 2023 it published BLASTPASS, a zero-click chain that delivered Pegasus to a staff member of a civil society group in Washington, DC. Citizen Lab said it disclosed the chain to Apple immediately on finding it the week before, and Apple fixed it in iOS 16.6.1 on the day of publication. Citizen Lab said, and Apple confirmed to it, that Lockdown Mode blocked that attack. How these chains worked below the screen is Chapter 10's subject.

The government record. On 4 November 2021 the US Department of Commerce added NSO Group and Candiru to the Entity List, citing information that they "developed and supplied spyware to foreign governments" that used it to target, among others, government officials, journalists and businesspeople (Federal Register, 86 FR 60759). The listing restricts US exports to them; it is not a criminal finding. On 27 March 2023 Executive Order 14093 barred US federal agencies from operational use of commercial spyware that poses counterintelligence or security risks to the United States. The market did not stop with one vendor: on 5 March 2024 the US Treasury sanctioned members of the Intellexa Consortium, which it described as developing and selling the Predator spyware.

The court record. WhatsApp and its parent sued NSO Group on 29 October 2019 in the Northern District of California (No. 4:19-cv-07123), alleging that NSO used WhatsApp's servers to send malware to about 1,400 devices in 2019. The case gives a complete civil record, from liability to damages, against a spyware vendor in a US court:

Apple sued NSO on 23 November 2021 (No. 3:21-cv-09078). In September 2024 Apple asked the court to dismiss its own case, telling the court that discovery could put vital security information at risk and that the spyware industry had changed; the court dismissed it without prejudice in November 2024.

Figure 13.2
The Pegasus record, 2016 to 2026: reports, fixes, sanctions, suits and verdicts
Timeline of Citizen Lab reports, Apple fixes, US government actions and the WhatsApp and Apple lawsuits against NSO GroupCitizen Lab (private reports to Apple 15 Aug 2016 and 7 Sep 2021): Trident 24 Aug 2016, Hide and Seek 18 Sep 2018, FORCEDENTRY 13 Sep 2021, BLASTPASS 7 Sep 2023. Apple fixes: iOS 9.3.5 25 Aug 2016, iOS 14.8 13 Sep 2021, iOS 16.6.1 7 Sep 2023. US government: NSO Group and Candiru on the Entity List 4 Nov 2021; Treasury sanctions on the Intellexa Consortium 5 Mar 2024. WhatsApp v. NSO: filed 29 Oct 2019, liability 20 Dec 2024, jury 6 May 2025 ($444,719 compensatory and $167,254,000 punitive), injunction and punitive damages cut, total about $4.4 million, 17 Oct 2025, stay of the injunction denied 28 Jan 2026, opening appeal brief 11 Feb 2026. Apple v. NSO: filed 23 Nov 2021, dismissed at Apple's request Nov 2024.20162017201820192020202120222023202420252026Citizen LabTrident45 countriesFORCEDENTRYBLASTPASSApple fixesiOS 9.3.5iOS 14.8iOS 16.6.1US governmentEntity ListIntellexa sanctionsWhatsApp v. NSOfiledliableWhatsAppremediesjury: $167.7Mcut: $4.4M, injunctionApple v. NSOfileddismissedDisclosedFix releasedOn devicesStopped or exploitednp: not published
Apple's fixes came within days of Citizen Lab's private reports and on the day of each public report; governments acted years later; the jury award came five and a half years after the suit was filed and was cut by the judge five months later. The 2026 appeal is in the text.
Citizen Lab reports (2016 to 2023); Apple security notes; Federal Register 86 FR 60759 (4 Nov 2021); US Treasury (5 Mar 2024); N.D. Cal. 4:19-cv-07123 and 3:21-cv-09078; 9th Cir. 25-7380.

Read Figure 13.2 for its clocks, not its drama. From Citizen Lab's private report to Apple's fix took about ten days in 2016 and six days in 2021; the public report and the fix came out on the same day, because the two were coordinated. When a credible report reached the platform owner, the fix followed within days. The government clock was years. The court clock, from filing to a verdict on damages, was five and a half years, and it is still running on appeal. For a company whose executives, lawyers or engineers could be targets, the only clock it controls is the first one: how fast its own devices take the platform's fix, and whether its highest-risk users run the platform's protective mode.

NotPetya: the full case

27 June 2017. Machines in Ukraine and then around the world began to stop. The US-CERT alert of 1 July 2017 (TA17-181A) set out the path. The delivery mechanism was M.E.Doc, a Ukrainian tax accounting program, and the alert says the attackers "used a backdoor to compromise M.E. Doc's development environment as far back as April 14, 2017": the program's own update mechanism carried the payload to customers. Once inside a network, NotPetya stole Windows credentials with a modified version of the Mimikatz tool, used them to run itself on other machines through PsExec and WMI, and tried the SMBv1 exploits EternalBlue and EternalRomance against unpatched systems; Microsoft had fixed those flaws in MS17-010 on 14 March 2017, 105 days earlier. With administrator rights it modified the master boot record "to enable encryption of the master file table (MFT)", the index of every file on the disk, making machines unusable. The alert said it "behaves more like destructive malware rather than ransomware": there was no evidence that the key could be recovered, so paying would not bring the data back.

Attribution. On 15 February 2018 the UK Foreign Office minister said the government judged the Russian government responsible, based on the National Cyber Security Centre's assessment that the Russian military was "almost certainly responsible". The same day, the White House press secretary's statement said that "the Russian military launched the most destructive and costly cyber-attack in history" in June 2017; the superlative is the White House's. On 19 October 2020 the US Department of Justice announced an indictment, returned by a grand jury in the Western District of Pennsylvania, of six officers of Unit 74455 of the Russian military intelligence directorate (GRU), covering NotPetya among other attacks. The indictment is an accusation, not a conviction.

The bill, with its speakers.

The insurance aftermath, in which Merck's and Mondelez's insurers invoked war exclusions, is told in Chapter 12.

Channel File 291: the outage as record

The mechanism is Chapter 5's: on 19 July 2024 at 04:09 UTC CrowdStrike released a content configuration update for its Windows sensor that triggered an out-of-bounds memory read in the sensor and crashed Windows; it reverted the file at 05:27 UTC, but machines that had loaded it kept crashing on boot. Microsoft estimated that about 8.5 million Windows devices were affected, "less than one percent of all Windows machines". This section is the record of what followed.

No attacker. CrowdStrike's senior vice president for counter adversary operations, Adam Meyers, told a House Homeland Security subcommittee on 24 September 2024 that "we let our customers down", and that the incident was not a cyberattack. CrowdStrike's own review says the file reached Windows hosts running sensor version 7.11 or later that were online between 04:09 and 05:27 UTC. Its preliminary review had committed to staggered deployment of this content, starting with a canary group, and to giving customers more control over when it arrives.

The suits. The largest named claim came from Delta Air Lines. Delta's own SEC filing in August 2024 estimated a revenue hit of about $380 million and about $170 million in costs from the disruption, which cancelled about 7,000 flights. CrowdStrike's outside counsel wrote to Delta that month that any liability was contractually capped at an amount in the single-digit millions. Delta sued CrowdStrike in the Superior Court of Fulton County, Georgia, on 25 October 2024; the case later moved to the court's Metro Atlanta Business Case Division. On 16 May 2025 the court granted CrowdStrike's motion to dismiss in part and denied it in part; reporting on the order says claims including gross negligence and computer trespass went forward. In its quarterly report for the period ended 30 April 2026, CrowdStrike said discovery was ongoing and that it could not estimate the amount of any loss. Other suits ended differently: passenger class actions against CrowdStrike were dismissed on 18 June 2025, and the Fifth Circuit affirmed on 20 May 2026. The same quarterly report still lists a putative securities class action against the company.

What Channel File 291 adds to the record is a fact no attack could prove so cleanly: a trusted channel with kernel reach can produce the effects of a destructive attack with no intent at all. The cost figures and the concentration question belong to Chapter 14.

The overlay: same rows, different intent

Figure 13.3
NotPetya and Channel File 291: one pattern on the Trust Ledger rows
Two parallel failure paths over the MU, DR and LR, KN and FW rowsLeft column NotPetya, 27 June 2017: the M.E.Doc update channel was backdoored in the vendor's development environment; the tax application ran the payload on machines that took the update; stolen credentials, PsExec, WMI, EternalBlue and EternalRomance spread it; the master boot record was overwritten and the master file table encrypted, leaving machines unusable with no evidence the key could be recovered. Right column Channel File 291, 19 July 2024: the vendor content channel shipped the file at 04:09 UTC and reverted it at 05:27 UTC; the kernel-mode sensor (version 7.11 and later) read it on Windows hosts online in that window; an out-of-bounds memory read crashed Windows; machines boot-looped and needed hands-on recovery, about 8.5 million devices by Microsoft's estimate.MU MANAGEMENT AND UPDATE CHANNELDR, LR ENDPOINT CODEKN KERNEL AND PRIVILEGEFW BOOTNOTPETYA, 27 JUNE 2017: AN ATTACKCHANNEL FILE 291, 19 JULY 2024: AN ACCIDENTM.E.Doc update channelbackdoor in the vendor'sdevelopment environmentThe tax application runs the payloadon machines that took the updateStolen credentials, PsExec, WMI,EternalBlue and EternalRomancespread it across networksMBR overwritten, file table (MFT)encrypted: no working decryptionVendor content channelChannel File 291 ships 04:09 UTCreverted 05:27 UTCSensor 7.11+ reads the file on Windowshosts online in that windowOut-of-bounds memory readin the sensor: Windows crashesBoot loop: hands-on recovery, BitLockerkeys; about 8.5M devices (Microsoft est.)
An attack in 2017 and an accident in 2024 shared a pattern: one trusted update channel, code that ran on every endpoint that took it, and machines that would not start. NotPetya also spread across networks; Channel File 291 did not.
US-CERT alert TA17-181A (1 Jul 2017, rev. 15 Feb 2018); CrowdStrike PIR (24 Jul 2024) and RCA (6 Aug 2024); Microsoft (20 Jul 2024).

Figure 13.3 draws NotPetya and Channel File 291 on the same Ledger rows. Both began on the MU row, in an update channel the customer had chosen to trust. Both reached code that runs on every endpoint that checked in. Both ended with privileged code leaving machines that would not start, one by design and one by accident. The paths in between differ: NotPetya then stole credentials and moved across networks, which Channel File 291 never did. The difference that matters most sits in two cells: intent, and recoverability. With no evidence that NotPetya's key could be recovered, its victims' machines came back by reimaging and restoring from backup; Channel File 291 could be fixed on each machine, but often only by hands on the keyboard and a BitLocker recovery key.

How each was discovered:

Record pointWindowsmacOSiOSLinuxAndroid
Cases in this chapterStuxnet (2010), NotPetya (2017), Channel File 291 (2024)None of the four cases herePegasus chains in Citizen Lab reports, 2016 to 2023None of the four cases hereNone of the four cases here
Who could push to a large share of the fleet in one actionMicrosoft, the EDR vendor's content channel, any app updater running with admin rights (the M.E.Doc pattern), the management console (Chapter 7)Apple, the MDM, app updatersApple; the MDM on managed devicesDistribution repositories, configuration management, security agentsGoogle services, the device maker, the EMM
Built-in mode for targeted usersNo equivalent named in this recordLockdown ModeLockdown Mode (blocked BLASTPASS, per Citizen Lab and Apple)No equivalent named in this recordAdvanced Protection (Android 16, announced May 2025); device support varies (Chapter 10)
Firmware and siliconNone of the four cases changed firmware on the PC. NotPetya overwrote the boot record and encrypted the file table on disk; Channel File 291 left machines in a boot loop; Stuxnet changed the code on industrial controllers, which are computers of their own outside the Ledger's PC rows (the EX row).
How it got this way

Update channels were built to solve the problem of the 2000s: machines that never got patched. Automatic updates, vendor-run content feeds and admin-rights updaters turned patching from a project into a background service, and that was the right call; most of this book's patch clocks depend on it. The cost was concentration of trust. The more devices a channel reaches and the more privilege its payload gets, the more a single push is worth to an attacker, or costs in an accident. M.E.Doc in 2017 and Channel File 291 in 2024 sit at the two ends of that trade, seven years apart.

What hasn't changed: the four cases in this record used trusted paths, not new kinds of magic: stolen signing keys (2010), a vendor's update server (2017), a platform's own message and image handling (2016 to 2023), and a vendor's content channel (2024). Checked against the sources above on 18 November 2026.

The unseen angle

An outage and an attack share one Trust Ledger, and most companies keep two plans for them: a security incident plan owned by the CISO and a business continuity plan owned by operations. On the MU and DR rows those plans describe the same failure. Whether the push came from an attacker or a bad release, the first hour asks the same questions: which channel, which devices took it, how do we stop the next push, and how do we restore machines that will not boot. The difference arrives later, in the notification clocks (Chapter 14) and in the insurance file (Chapter 12), where attribution can decide what is covered. Sources: US-CERT TA17-181A (2017); CrowdStrike preliminary post incident review (24 July 2024).

Each case in this record ran through a path its victims trusted. In 2017 and in 2024, one push through that path was enough to stop machines.

These rows in the Trust Ledger

Halbrook Bank's branch desktop, with the DR and MU rows replayed for both events: what each cell would have said on 26 June 2017 for an M.E.Doc-style updater, and on 18 July 2024 for an EDR content channel. The entries are the book's model for an invented bank. As in the rest of Part V, the sensor's own code is a DR row and the content channel that feeds it is an MU row.

Row and componentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
DR: EDR sensor, kernel mode, 2,500 branch PCs and VDI hostsEDR vendor writes and signs; vendor console pushes sensor versions on Halbrook's ringsKernel; one sensor release reaches the ring it is assigned toSensor versions: Halbrook's rings, T3 in 7 daysPin sensor version N-1; rollback testedD (vendor console); O (Halbrook crash telemetry)Per contractRent; Pin sensor N-1 with an end date; owner: endpoint lead
MU: EDR content channel (the 2024 row)EDR vendor pushes content; Halbrook had no veto on 18 July 2024One push reached every connected sensor at onceMinutes; the vendor's clock, not Halbrook'sNo customer pause in 2024; recovery by hand with BitLocker keys; drill: noneU before the push; O after (machines down)n/aRent; Isolate: contract for staged content and a customer pause; owner: CISO
MU: third-party app updater running as admin (the 2017 row)The app vendor's build and update server; anyone who compromises themEvery PC with the app; admin rights; network spread after thatThe app vendor's own; npBlock the updater at the firewall; no rollbackU (no inventory of admin updaters in 2017)npIsolate: no admin-rights updaters outside Halbrook's own MU channel; owner: endpoint lead
KN and FW: recovery path for a machine that will not bootHalbrook's service desk, with BitLocker recovery keys from the directoryAll branch PCs in one eventRecovery clock, not patch clock: target 90% of branch PCs in 8 hoursKey escrow, boot media at each branch region; last drill date: to setO (key retrieval logs)n/aOwn; owner: head of end-user computing; drill twice a year
Security lens

Who can change it? In every case here, someone the victim trusted, or someone holding that party's keys: a hardware maker's signing certificate, an accounting vendor's update server, a messaging platform's servers, a security vendor's content channel.

How fast can it be fixed? In the documented Pegasus chains, the platform fix came six to ten days after Citizen Lab's private report. Microsoft's Stuxnet fixes came about seven and thirteen weeks after the worm was first reported, and MS17-010 was 105 days old when NotPetya struck. For NotPetya and Channel File 291, the fix was not the problem; recovery was.

What does AI change here? Our view (as of November 2026): nothing in this record depended on AI. What AI may change is the cost of the reconnaissance and the reverse engineering that each case required, on both sides; Chapter 16 sets out what the published evidence supports.

Business implications

Security. Halbrook Bank writes one runbook for "a push we did not approve reached the fleet", used for both attack and outage, with the stop and recovery steps first and the attribution question last.

Cost. No "biggest bill" belongs in a board paper. Corvane Hotels' risk report cites each NotPetya and Channel File 291 figure with its speaker (the Justice Department, the White House via Wired, Delta, Microsoft), because each is an estimate or a claim made by an interested party.

Visibility. Larkfield Software is, for its 400,000 customers, what M.E.Doc was in 2017: a vendor with an update channel. It publishes how its channel is protected and how a customer can pause it, before a customer asks.

Value. Trust lost lasts longer than the outage. The court records here run for years after the event; the customers' memory of the day runs longer.

Monday rule: list every channel that can push code or content into the kernel or with admin rights on your fleet, and for each one write who can stop the next push and how long it takes.

Chapter Fourteen

The Cost of Trust: Control, Concentration and a Day Down

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsSILICONSCREEN AND AGENTS

At Halbrook Bank's March board meeting the audit committee asks one question about the Trust Ledger: "What does a day without these rows cost us, and how much of that day can one vendor take away?" The CISO has the security budget by tool. The CFO has revenue by channel. Nobody has the two on one page. This chapter builds that page. It prices each row twice, once for what it costs to control and once for what a day without it costs, and it adds a number few board packs show: the share of revenue one authority can interrupt with one approved action. The decision it changes is where the next dollar goes: to the control that removes the most priced loss per dollar, not to the row with the loudest vendor.

Two price tags per row

Every Ledger row has a cost of control: what you pay, every year, to hold the decision you wrote in its last column. It also has a cost of failure: what one bad day on that row costs, whoever caused it. Most budgets show the first and guess the second.

The cost of control has five parts, and only the first shows up as a line item:

The table below is the model for Halbrook Bank. The figures are invented for an invented bank; the structure is the point.

Row and controlYearly cost of control (model)What it buysWhat it costs in time
ID: phishing-resistant sign-in for staff, help-desk reset with callback and manager approval$420,000 (keys, platform tier, 1.5 people)Closes the "log in instead of break in" path of Chapter 6About 20 minutes more per reset; resets fall after the first quarter
DR: EDR on 2,500 branch PCs and VDI hosts, sensor pinned at N-1$310,000 licenses; 0.5 personDetection and response on the riskiest endpointsSensor fixes reach the fleet one release later
MU: three Intune rings (5%, 25%, all) for OS and app updates$60,000 (0.4 person for ring health)A bad update stops at 5% of devices, if telemetry catches it before the next ringUp to 72 hours added to T3 for a normal fix; hours for an emergency fix
FW: firmware updates by model, Secure Boot certificate status tracked$45,000 (0.3 person)Boot-level protections keep arriving (Chapter 4)A firmware ring per model, two weeks each
Visibility: device health attestation, crash telemetry, 13 months of sign-in and console logs$180,000 (storage and tooling)The O tags in the "who can see it" columnNone at run time; analyst hours when used

Read the last column first. The MU rings cost $60,000 a year and up to three days of delay on routine fixes. When telemetry catches a bad update before the next ring, they turn a fleet-wide failure into a 5% failure. In this model the ring buys more risk reduction per dollar than any other line, and it is the control most easily removed when a patch-compliance metric looks bad.

A day down, priced honestly

The cost of failure starts with one distinction that most estimates skip: revenue that is deferred and revenue that is lost. A payment that waits a day still arrives; a guest who walks to the hotel next door does not come back to check in. A loss estimate counts revenue that is lost and money actually paid out, including fines, legal fees and regulatory remediation when they arise; deferred revenue stays out, except for what the delay itself costs (financing, penalties), which counts as paid. Figure 14.1 applies that to one day for each of the book's three invented companies.

Figure 14.1
One day down, three companies: what is deferred, what is lost, what recovery costs
Line (first day)Halbrook Bank (2,500 branch PCs)Corvane Hotels (3,000 kiosks, 300 properties)Larkfield Software (400,000 customer desktops)
Revenue at stake that day$2.7M (branch channel: 38% of $1.8B over 252 days)EUR 6.6M (1/365 of EUR 2.4B)$0.95M (1/252 of $240M)
Deferred (comes back later)about $2.3M (85%): payments and loan work done in the next daysnone: guests still stay and pay (room revenue not affected)most of it: subscriptions already paid
Permanently lostabout $0.4M (15%): waived fees, lost applicationsabout EUR 0.07M a day: walk-ins, late check-outsnp until renewal: churn shows months later
Recovery labor (one-time)$0.16M: 2,500 PCs x 45 min x $85 an hourEUR 0.14M: 300 field visits x EUR 450, about EUR 0.045M a day over 3 days$0.30M: 12,000 tickets x $25
Overtime, contractors, travel$0.25MEUR 0.12M a day front-desk overtime$0.05M
Customer remediation$0.30M goodwill and fee waiversEUR 0.05M a day vouchers$1.0M SLA credits (5% of a month)
Loss estimate (lost + paid)about $1.1Mabout EUR 0.29M a day while visits run; about EUR 0.86M for 3 daysabout $1.35M, plus churn not yet known
What decides the numberhours until branches open with working PCsfield visits a day the team can runwhether Larkfield's channel has a pause and rings
The same kind of event costs each company differently: the bank mostly defers branch revenue, the hotel group mostly pays for hands and travel, the software vendor pays in credits, support and trust. The loss estimate counts the lost and paid lines; what a delay itself costs counts as paid.
Author's model for the book's invented companies; assumptions stated in Chapter 14. Not data about any real company.

The model's assumptions, so you can replace them with your own:

Three lessons fall out of the model, and they hold well beyond it. First, for Halbrook the branch revenue at stake that day ($2.7 million) is not the loss (about $1.1 million); reporting the first as the second overstates the case and loses the board's trust the first time someone checks. Second, for Corvane the loss per day is small and the days are many: what decides the cost is recovery throughput, how many properties a team can visit in a day, not the revenue line. Third, for Larkfield the largest line is a contract it wrote (the SLA credit), and the most important one is the one nobody can fill yet: customers who leave at renewal.

Published losses from real events follow the same rule, and they must carry their speaker. Delta Air Lines estimated, in its own SEC filing of August 2024, about $380 million of lost revenue and about $170 million of costs from the July 2024 disruption, and in litigation it claims more from CrowdStrike; those are Delta's figures, contested in court (Chapter 13). The insurer analytics firm Parametrix estimated on 24 July 2024 that the outage cost US Fortune 500 companies, excluding Microsoft, $5.4 billion in direct losses, with insured losses of $540 million to $1.08 billion; those are a model's estimates, published days after the event. The CrowdStrike case itself is told in Chapter 5 (mechanism) and Chapter 13 (record).

Do not add the same loss twice

A Trust Ledger lists rows; failures do not respect them. When a kernel-mode sensor crashes Windows (DR), the identity sign-in on those machines fails too (ID), the teller app does not start (LR), and the management channel that could push a fix cannot reach a machine that will not boot (MU). If each row's owner writes "a day down: $1.1 million" in the row's cost of failure, the Ledger now says one event costs $4.4 million.

The fix is to price scenarios, not rows. Write each loss scenario once in the Ledger's header block ("one push stops every branch PC", "the identity provider is down for a business day", "a firmware update fails on one PC model"), price it once, and list the rows it crosses. Then rank rows by how many priced scenarios they appear in and how much each scenario costs. That ranking, not the sum of the rows, is what a budget should follow.

Correlation also works across companies. A failure in an authority that many firms rent arrives everywhere at once: your recovery contractors, your BitLocker key service, your airline and your bank's other branches are all busy on the same morning. Recovery estimates that assume outside help is available at normal rates on the worst day are optimistic by construction.

Concentration: one authority, one action, one share of revenue

The number this chapter asks every board to see is concentration: for each authority on the Ledger, the share of revenue it can interrupt with one approved action. "Approved" matters. The question is not what an attacker could do with that authority's keys (Chapter 6) but what the authority itself can do through its normal channel on a normal day: push a release, push content, change a policy, revoke a certificate.

Figure 14.2
Concentration at Halbrook Bank: the share of revenue one approved action can interrupt
Halbrook Bank Trust Ledger rows annotated with the share of revenue one authority can interruptTwo authorities can each stop more than half of revenue with one approved action; the others are bounded by rings, if telemetry catches the failure and promotion stops, or by the one channel they serve.AGAgentsnone in production: 0%MUManagement and update channelsEDR content channel, no customer rings: 59%; OS pushes on Intune ringsIDIdentity and keysIdP admins and help desk: up to 100% (every channel signs in here)FRThe frame (Book 2)LRLibraries and runtimesTeller app runtime: 38% (branch channel only)SPServices and policyDRDrivers and third-party kernel codeEDR sensor versions: Halbrook's rings, one ring per releaseKNKernelWindows kernel via Microsoft: 59% exposed; one push reaches one ringHVHypervisor and isolationVDI host provider: 21% (advisors)FWFirmware and bootPC OEM firmware: 38%, staged by modelSISilicon and microcodeCPU microcode: via OEM or OS, stagedRed: one approved action reaches more than half of revenue. Model figures for an invented company.
Two authorities can each stop more than half of revenue with one approved action; the others are bounded by rings, if telemetry catches the failure and promotion stops, or by the one channel they serve.
Author's model for the invented Halbrook Bank: branch and teller 38% of revenue, mobile 41%, advisors on VDI 21%. Shares are of revenue interrupted, not revenue lost.

On Halbrook's model, two authorities stand out. The identity provider and its administrators can stop sign-in for every channel, branch, mobile and advisor, with one policy change: up to 100% of revenue. The EDR vendor's content channel, without customer rings, reaches every branch PC and every VDI host at once: 59%. Everything else is bounded, either by Halbrook's own rings (the Windows update channel through Intune), provided telemetry catches a failure before the next ring, or by the single channel the authority serves (the VDI host provider, the teller app runtime).

Concentration has a partner number: recovery throughput, the devices or properties a team can bring back per hour when the authority's action has to be undone by hand. In Halbrook's model, keys sit in the directory and 165 people (branch staff guided by the service desk) each spend 45 minutes per PC: about 220 PCs an hour if nothing else queues, so 90% of the 2,500 branch PCs are back in about 10 hours and all of them in about 11. Those are lower bounds, not forecasts. They miss the 8-hour target in Chapter 13's Ledger; meeting it takes at least 211 people working without a pause, so more in practice, or a faster key path. Corvane's throughput is set by field visits, about 100 properties a day. For scale from the record, Maersk's chairman said in January 2018 that the company reinstalled about 45,000 PCs and 4,000 servers in ten days after NotPetya. Concentration tells you how much one action can stop; throughput tells you how long it stays stopped. Divide the affected fleet by the throughput to get the hours down, price those hours with the scenario, and you have the number worth a contract negotiation.

Two controls cut concentration without changing vendors: rings that the customer controls, and a pause the customer can press. Both are contract terms as much as technical settings, and Chapter 15 gives the clause text.

Clocks with triggers

A day down also starts regulatory clocks, and each one starts at a different event. The trigger matters more than the number of hours: a team that starts the right clock at the wrong moment will be late with the earliest notice. Figure 14.3 sets the clocks that apply to the book's three companies.

Figure 14.3
Regulatory clocks per company, and what starts each one
Hour scale with notification deadlines for Halbrook Bank, its Irish subsidiary, Corvane Hotels and Larkfield SoftwareScale marks at 0, 4, 24, 36 and 72 hours, four business days and one month (not to scale). Halbrook Bank: notify the primary federal regulator as soon as possible and no later than 36 hours after determining a notification incident occurred; SEC Form 8-K Item 1.05 generally four business days after determining an incident is material. Halbrook Ireland under DORA: initial notification within 4 hours of classifying an incident as major and no later than 24 hours after awareness; intermediate report within 72 hours of the initial notification; final report within one month. Corvane: GDPR Article 33, 72 hours after becoming aware of a personal data breach. Larkfield: CRA Article 14, early warning within 24 hours of becoming aware of an actively exploited vulnerability or severe incident, notification within 72 hours, final report 14 days after a fix is available (vulnerability) or within one month (incident).HALBROOK BANK (US)HALBROOK IRELAND (DORA)CORVANE HOTELS (GDPR)LARKFIELD SOFTWARE (CRA)0 h4 h24 h36 h72 h4 business days1 monthTrigger:determinationFederal regulatorby 36 hSEC 8-K Item 1.054 business days aftermateriality determinedTrigger: awareness;classified as majorInitial: 4 h afterclassification, by 24 hIntermediate: 72 hafter initialFinal:1 monthTrigger:awareness of breachSupervisory authority by 72 hTrigger: awareness ofan actively exploitedvulnerability orsevere incidentEarly warningby 24 hNotificationby 72 hFinal: 14 days after a fix;1 month (incident)
Each clock starts at a different trigger (awareness, a determination, a classification); a team that does not know which event starts which clock will miss the earliest one.
86 FR 66424 (2021) and OCC Bulletin 2021-55; SEC final rule (26 Jul 2023); Delegated Regulation (EU) 2025/301 Art. 5; Regulation (EU) 2016/679 Art. 33; Regulation (EU) 2024/2847 Art. 14. Scale not linear.

The same morning can start some of these clocks and not others. A vendor outage at Halbrook with no data loss may never become "material" or a "notification incident"; the same symptoms caused by an attacker may start more of them, depending on scope, data exposure and materiality. That is why the first-hour question in Chapter 13's runbook, "which channel, which devices", is also the question that decides which clocks are running.

Visibility is a cost line

The "who can see it" column of the Ledger is not free. Every O tag, a fact observed on your own fleet, is paid for in telemetry, storage and the people who read it. Every U tag, unknown, is paid for later, in the hours spent finding out during an incident. Three visibility costs repay themselves on the rows this chapter prices:

What decides recovery costWindowsmacOSiOSLinuxAndroid
Machine will not start after a bad pushRecovery environment plus the BitLocker recovery key per device; Quick Machine Recovery on Windows 11 24H2 where enabled (off by default on Pro and Enterprise)recoveryOS plus the FileVault recovery or institutional keyRestore from a computer or reset, then MDM re-enrollmentRescue boot plus the disk encryption passphrase or escrowed key, from your own toolingFactory reset or reflash, then EMM re-enrollment
What makes it a field visitNo remote console below the OS; keys not escrowedNo admin on site with a second MacDevices not supervisedNo out-of-band consoleDevices not enrolled in zero-touch or equivalent
Firmware and siliconA failed firmware update can need the OEM's recovery procedure or a board swap on any platform; that is a field visit or a shipment, priced per device, and it belongs in the FW row's cost of failure (Chapter 4).
How it got this way

For most of the PC era, the cost of a day down was a private number. No regulator asked for it on a clock, and few contracts priced it. That changed in a short span. The US banking agencies' 36-hour rule was issued in November 2021 and took effect in April 2022; the SEC's four-business-day rule was adopted in July 2023 and took effect for most filers in December 2023; DORA was adopted in 2022 and applies from January 2025; the Cyber Resilience Act's reporting duty applies from September 2026. Each one forces a company to decide, fast and in writing, whether an incident crosses a threshold, and what it cost or might cost is part of that judgment. The Trust Ledger's header block, with its value at stake, cost of a day down and regulator clocks, exists because those decisions now have deadlines.

What hasn't changed: in the cases in this book, most of the cost of an incident was paid by the customer, not by the authority that caused it. In August 2024 CrowdStrike's counsel wrote that its liability to Delta was contractually capped in the single-digit millions; Delta's own filing put its revenue loss and costs at about $550 million, and Parametrix estimated $5.4 billion of direct losses for the Fortune 500 excluding Microsoft. Each figure is its speaker's. The gap between them is the point.

The unseen angle

A ring is the cheapest control on most rows: a few hours or days of delay, priced at zero in most budgets because it shows up only as a slightly worse patch-compliance number. Put the delay on the same page as the concentration it removes. For Halbrook's model, three Intune rings cost $60,000 a year and up to 72 hours on routine fixes, and, if telemetry catches the failure before promotion, they cap a bad Windows update at 5% of devices instead of 59% of revenue. The same logic, applied to the EDR content channel, is the clause CrowdStrike's preliminary review described after July 2024: staged deployment and customer control over timing. Source: CrowdStrike preliminary post incident review (24 July 2024); the ring figures are the book's model.

The headline revenue of a lost day is not the loss. The loss is what never comes back, plus what you paid to get the rest back.

These rows in the Trust Ledger

This chapter fills the header block, once per system, for all three companies. The money figures are the book's model for invented companies; the clocks are the real rules that would apply to them.

Header fieldHalbrook Bank: branch teller desktopCorvane Hotels: check-in kioskLarkfield Software: desktop app and its update channel
System and business serviceTeller desktop for payments and account service in 2,500 branch positionsSelf check-in and payment at 300 propertiesThe product itself, on about 400,000 customer desktops
Platform profileWindows 11 Enterprise, managed by Intune, BitLocker onWindows IoT Enterprise LTSC, kiosk mode, OEM firmwareWindows, macOS and Linux; Electron-style runtime; Larkfield's own updater
Fleet denominator2,500 PCs plus VDI hostsAbout 3,000 kiosksAbout 400,000 desktops (customer-owned)
Value at stake; cost of a day down38% of revenue through branches; about $1.1M lost and paid per day downCheck-in and payment; about EUR 0.29M a day, EUR 0.86M for a three-day eventAll revenue at renewal; about $1.35M per bad-release day, plus churn
ConcentrationIdP up to 100%; EDR content 59% (Figure 14.2)EDR content and kiosk app pipeline: 100% of kiosks eachLarkfield's own channel: 100% of its customers' installs
Regulator clocks and their trigger36 h after determining a notification incident; 8-K four business days after determining materiality; DORA for the Irish subsidiary from awareness and classificationGDPR 72 h from awareness of a personal data breach; PCI DSS duties for payment kiosksCRA 24 h, 72 h, 14 days from awareness of an actively exploited vulnerability or severe incident
Loss scenarioOne push stops every branch PC for a business dayA bad update stops kiosks at every property; fixes need a visitA bad release crashes the app for a day; or the channel is used to push malware
Assessment date; next reviewMarch; SeptemberApril; OctoberEvery major release; at least quarterly
Accountable executiveChief operating officerChief information officerChief technology officer
Security lens

Who can change it? Concentration is the money form of this question: an authority that can change many rows on many devices with one action is an authority whose bad day is your bad day, whatever the cause.

How fast can it be fixed? For cost, the clock that matters is often the recovery clock, not the patch clock. A fix that exists in minutes but needs a technician at each device costs as much as the devices take to reach.

What does AI change here? Our view (as of November 2026): AI can speed up the analyst work behind the first hour (which channel, which devices) and the drafting of notifications against the clocks. It does not speed up a field visit or a BitLocker key typed by hand, which is where most of the day-down cost in this model sits.

Business implications

Security. Halbrook Bank adds one line to its board report: the two authorities that can each interrupt more than half of revenue with one approved action, and what has been done this quarter to bound each one.

Cost. Corvane Hotels prices its day down by field visits, not by revenue. Its cheapest saving is not a new tool but escrowed recovery keys and an out-of-band console on each property's kiosks, which turn a visit into a remote fix.

Visibility. Larkfield Software's update telemetry is the only evidence that its rings and kill switch work. It keeps the check-in logs long enough to answer a CRA final report, and it publishes its own recovery throughput to customers who ask.

Value. A board that sees concentration and recovery throughput next to the cost of control can trade them: a ring that costs $60,000 a year against a scenario that costs $1.1 million a day.

Monday rule: for one critical system, write the header block, price one loss scenario as lost plus paid (not as the day's revenue), and name the authority with the highest share of revenue it can interrupt in one action.

Our view, as of November 2026

Financial supervisors already ask about concentration. DORA requires a financial entity to assess ICT concentration risk before it contracts for critical functions (Articles 28 and 29), sets mandatory contract terms such as audit rights and exit strategies (Article 30), and on 18 November 2025 the European supervisory authorities designated the first critical ICT third-party providers for direct oversight. The UK's critical third parties regime, in force from 1 January 2025, does the same for providers HM Treasury designates. Halbrook's Irish subsidiary answers this question already. Expect it to spread from finance to other regulated sectors in the form this chapter uses: which single provider can stop which share of your critical services, and how fast you recover. Companies that already keep that number in their Ledgers will answer in a day; the rest will spend a quarter building it.

Chapter Fifteen

Own, Rent, Pin, Isolate: The Decision and the Contract

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsSILICONSCREEN AND AGENTS

On 6 August 2024, CrowdStrike published its root cause analysis of the 19 July outage (told in full in Chapter Five and on the record in Chapter Thirteen). One mitigation in it reads like a contract clause that nobody had written: "Customers can choose where and when Rapid Response Content updates are deployed." A control a vendor adds after a failure is often one a customer could have asked for before it. This chapter turns fourteen chapters of cases into one decision per Trust Ledger row, and into the clauses that make the decision hold when the next push goes wrong.

Two axes, not four boxes

Books 1 and 2 used four words for the last column of their worksheets. Book 3 keeps the words and changes their shape, because the cases in this book showed that they answer different questions. The Trust Ledger's decision has one axis and two modifiers.

A fourth question sits beside the decision and is easy to forget: lifecycle. For each row you retain it, replace it or retire it. A Corvane kiosk image on an operating system with a published support end is a retain decision with a replace date already written on it. A row with no support end at all is a finding (Chapter Eleven).

Written this way, a Ledger cell reads like a sentence a board can check: "Rent, Pin to 31 March 2027, Isolate from the payment network, proven by the quarterly segmentation test; owner: head of end-user computing; review: January 2027."

The flowchart, one row at a time

Figure 15.1 is the decision as a flowchart. It runs once per row, not once per vendor. One vendor can hold several rows, and the right answer is often different for each: Halbrook rents its EDR sensor's kernel code (DR) but owns the ring schedule for the content channel that feeds it (MU). Throughout the book the sensor's code is a DR row and its content channel an MU row.

Figure 15.1
One decision per row: an axis (Own or Rent), two modifiers (Pin, Isolate), then a contract line and a name
Decision flowchart for Own, Rent, Pin and IsolateStart with one Ledger row. Question 1: can you change it and fix it faster than its owner, or is it something nobody else can hold, such as your own signing key? Yes leads to Own. No leads to question 2: does the owner fix it inside your clock, and can you see it? Yes leads to Rent. No leads to question 3: can you replace or retire it before the risk lands? Yes leads to Replace or retire. No leads to Rent and Isolate. Then, for every Own or Rent, two modifier questions: must this version stay frozen? Yes means Pin with an end date. Can one input or one push reach every device? Yes means Isolate, naming the boundary and the proof. Finally every row gets a contract line (T1 SLA, rings, pause, recovery help, support end) and a named person with a review date.THE AXIS: WHO HOLDS THE AUTHORITYTHEN, FOR EVERY OWN OR RENT: THE MODIFIERSTHEN, FOR EVERY ROWyesnoyesnoyesnoyesyesOne Ledger row(SI to AG)Can you fix it fasterthan its owner, or cannobody else hold it?OWNyou hold the authorityDoes the owner fix itinside your clock, andcan you see it?RENTthe owner holds itCan you replaceor retire it beforethe risk lands?REPLACE or RETIRElifecycle, with a dateRENT + ISOLATEyou cannot fix it,so contain itMust this versionstay frozen?PINwith an end dateCan one inputor one push reachevery device?ISOLATEname the boundaryand the proofContract line: T1 SLA, rings,pause, recovery help,support end, notice clockA named personand a review date
Run the flowchart once per Trust Ledger row, not once per vendor; a Pin must carry an end date and an Isolate must name its boundary and its proof.
Author's diagram based on the book's case files; NIST SP 800-161 Rev. 1 (C-SCRM); Regulation (EU) 2024/2847 Art. 13(8).

The first question is the hard one: can you change this row and fix it faster than its current owner, or is it something nobody else can hold, such as your own signing key? For most rows below the kernel the honest answer is no. A bank does not write microcode, and a hotel group does not sign UEFI images. For its own application, its own sign-in policy and its own update rings, the answer is often yes.

If you cannot own it, ask whether the owner fixes it inside your clock and whether you can see them do it. "Inside your clock" means the owner's T1 (fix available for your device class) plus your own T1 to T3 (fix on 90% of your fleet) fits the exposure. An internet-facing VPN appliance with a published T1 of weeks fails that test against an exploitation clock that Chapter Sixteen measures in days. "See" means the evidence tags from Chapter One: observed on your fleet, documented by the vendor, or contracted. A row that only reaches "inferred" or "unknown" is still rented, but without evidence, and that is a finding.

If the owner is too slow or invisible, the next question is lifecycle: can you replace or retire the row before the risk lands? If you can, that is the decision. If you cannot, you isolate it. Isolation is often a control you can hold yourself on a row you do not own. Speed is not the only test at each step: capability, liability, staffing and exit cost weigh on the answer too, and the flowchart is a starting point for that conversation, not a substitute for it.

Every Own and every Rent then passes two modifier questions. Must this version stay frozen for a period (a regulated build, a kiosk image, a certified payment terminal)? Then Pin, with an end date. Can untrusted input or one approved push reach every device in scope? Then Isolate, with a named boundary and a proof. Finally every row, whatever its letters, gets a contract line and a named person.

When "own" is the wrong answer

The series has repeated one rule since Book 1: owning more is not automatically safer. Every row you own is a row you must patch, staff and recover, on a clock you now answer for. The cases in this book make the rule concrete.

Where owning is right, it is usually a thin layer: your own application, your own update channel, your own rings, your own keys for your own code. Larkfield Software is the clearest case. It must own its code-signing key and its update pipeline, because no one else can. The CRA, from the other side, makes the same point: a manufacturer is responsible for the vulnerabilities of its product "including its components" for the support period (Regulation (EU) 2024/2847, Article 13(8)).

Decision leverWindowsmacOSiOSLinuxAndroid
How long a customer can hold an update (Pin, short)Quality updates deferred up to 30 days and paused up to 35 days by policy; feature updates deferred up to 365 daysApple documents release dates for devices on a 90-day deferralSame 90-day deferral as macOS, set through device managementAs long as the team chooses; no vendor limit on a self-managed hostDevice owner can postpone once for 30 days, or freeze up to 90 days with a 60-day gap; makers may exempt security updates
How long a version can be held (Pin, long)Long-term servicing channel with a fixed end: Windows 11 IoT Enterprise LTSC 2024 supported to October 2034Tied to Apple's support for the hardware and OS version (Chapter Eleven)Tied to Apple's support for the deviceThe distribution's long-term release, on its published scheduleThe device maker's stated update period
Who holds the stop for third-party privileged codeThe vendor's content channel; customer rings only where the contract or console provides themSystem extensions approved by policy; Apple holds the platformApple only; no third-party kernel codeThe team, per module and eBPF programThe device maker and Google
Firmware and siliconRent from the OEM; own Secure Boot policy and the firmware ringRent from Apple; firmware ships with the OSRent from AppleRent from the OEM, often through LVFS; own the ringRent from the maker and chip vendor

Sources for the table: Microsoft Learn, "Configure Windows Update client policies"; Apple Platform Deployment, "Manage software updates"; Android Developers, "Manage system updates"; Microsoft Lifecycle, Windows 11 IoT Enterprise LTSC 2024. All checked 18 November 2026.

The contract: seven clauses that carry the decision

For a rented row, a decision that is not in the contract or in a setting you control is a preference. The seven clauses below come from the cases in this book. They are written as asks a buyer can put in a request for proposal. Appendix H carries the full annotated text.

ClauseWhat to ask forWhy (the case behind it)Rows
1. Patch SLA to T1Days from the vendor becoming aware of an exploited flaw to a fix available for your device class, by severity; the vendor reports its actual T1 for the last three critical casesEdge appliances and firmware fixes arrive on the slowest clocks in the book (Chapters Four, Eleven)FW, DR, LR, EX
2. Staged rollout and customer rings for contentEvery update and every content or configuration push reaches a canary group first; the customer can choose where and when content landsCrowdStrike's 2024 mitigation list added staged deployment of template instances and customer control over Rapid Response Content (Chapter Five)DR, MU
3. Pause and kill switchA documented way for the customer to pause a channel within one hour, and for the vendor to stop a bad push globally, both tested once a yearA stop that has never been drilled is not a stop (Chapter Nine)MU, DR, AG
4. Recovery supportVendor tools, people and a recovery path that works when the device cannot boot or the console is down; a stated recovery targetRecovery from a boot loop was often hands on keyboard, device by device (Chapters Five, Nine)KN, DR, FW
5. Support end dateA printed end date for the product, the firmware and any component the vendor bundles; notice of change at least one replacement cycle aheadThe CRA sets a support period of at least five years, or the expected use time where that is shorter, for products placed on the EU market (Article 13(8))All
6. Firmware supportWho builds, signs and ships firmware fixes, through which channel, for how long after the hardware is soldFixes for firmware flaws come from the firmware supply chain, not from a revocation list (Chapter Four)SI, FW
7. Notification clocksHours from the vendor's awareness of an exploited vulnerability or a breach of its own systems to notice to you, plus logs and artifacts you can investigate withYour own regulator clocks start from your awareness (Chapter Fourteen); CISA's Secure by Design Pledge (May 2024) asks vendors to give customers evidence of intrusionsID, MU, LR

The seven carry the decision; they are not the whole contract. Standard supplier terms belong beside them: a software bill of materials (SBOM) with each release, with exploitability statements (VEX) where a listed flaw does not apply (Chapter 8); audit rights or independent assurance reports; notice of sub-processors; liability caps with carve-outs, and indemnity; and exit and termination assistance. For Halbrook's Irish subsidiary these are not optional: DORA Article 30 requires terms such as audit and access rights and exit strategies in contracts for ICT services that support critical functions. Clause 2 is also no longer only a customer's ask: in November 2024 Microsoft said its work with endpoint security vendors through the Microsoft Virus Initiative would focus on safe deployment practices for security product updates. CISA and the FBI's Secure by Demand Guide (6 August 2024) gives buyers a published list of questions to put to software makers, and it fits beside these clauses. Contracts and regulatory summaries vary by jurisdiction; this chapter is not legal advice.

Two of these clauses already exist in law for one of the three companies. As a manufacturer selling into the EU, Larkfield must send an early warning of an actively exploited vulnerability in its product "within 24 hours" of becoming aware of it, and a fuller notification within 72 hours (CRA Article 14(2)), from 11 September 2026. What the law asks of Larkfield as a supplier is a fair model for what Halbrook and Corvane can ask of theirs.

For the method behind the clauses, NIST SP 800-161 Revision 1 (May 2022, updated November 2024) is the reference for cybersecurity supply chain risk management, the practice of "identifying, assessing, and mitigating cybersecurity risks throughout the supply chain". It gives the vocabulary procurement and audit already use. The Trust Ledger is the one-page view that points to it.

What vendors usually refuse. This paragraph is the author's experience from negotiations, not a published fact. Vendors rarely accept a hard T1 for flaws they did not write (third-party components inside their product), uncapped liability for an outage, or a customer veto on security content during an active campaign. They more often accept staged rollout, customer-defined rings for non-urgent content, a named recovery contact, release notes for content, and a printed support end. Ask for the first group anyway; it tells you how the vendor thinks about the risk it puts on you. Settle on the second group in writing.

Exit and retirement

The last part of every decision is the way out. Three exits recur in this book's cases.

The kiosk fleet shows how dates drive the exit. Microsoft's lifecycle page lists Windows 10 IoT Enterprise LTSC 2021 support to January 2032 and Windows 11 IoT Enterprise LTSC 2024 to October 2034. A Corvane kiosk bought in 2026 with a seven-year depreciation schedule fits inside the 2024 channel and not inside the 2021 one. That one line in the Ledger decides which image the next purchase order specifies.

How it got this way

Enterprise software contracts grew up around licenses, uptime and support response times, not around who may change the product on a customer's machine. Automatic updates turned that around. Each vendor that gained the right to push code also gained a seat at the customer's change board, usually without a clause saying so. Supply chain guidance followed: NIST's C-SCRM practice (SP 800-161, revised in May 2022), CISA's Secure by Design principles and the voluntary pledge of May 2024, and in the EU a binding law, the Cyber Resilience Act, in force since 10 December 2024 and applying in full from 11 December 2027. Each moved some of the duty back to the party that holds the authority. None of them writes your Ledger for you.

What hasn't changed: a fixed-lifecycle product still arrives with its end date printed on the day it ships, and the customer still has to put that date in the plan. Windows 10 2015 LTSB started on 29 July 2015 and its extended support ended in October 2025; Windows 10 IoT Enterprise LTSC 2021 started on 16 November 2021 and ends in January 2032. Both are about ten years, both were published at launch. Checked on Microsoft's lifecycle pages, 18 November 2026.

The unseen angle

Isolate is often the least used decision in a Ledger. Teams spend their effort on the rows they can patch and leave the rows they cannot patch to the vendor. But when you can neither change a row nor wait for its owner, containment is a control you hold yourself: a network segment, a separate desktop for the payment screen, no AI agent on the kiosk image. A content ring that holds a push for an hour is staging, not isolation, and belongs in the MU row. Isolation costs little, it is testable, and it works whether or not the vendor's fix arrives. The catch is proof. An isolation that nobody tests decays into a diagram. Put the test and its last date in the Ledger cell. Source: the Ledger method, Chapter One; the segmentation evidence tags, Appendix G.

Rent the code, own the policy, and write the stop into the contract before the next push needs it.

These rows in the Trust Ledger

Figures 15.2 to 15.4 are the three companies' filled Ledgers, eight rows each, with the eight core columns. They summarize decisions taken across the book; the chapter that carries each case is named in the cell. Values marked "to measure" are placeholders a real team fills from its own telemetry (Appendix D). The companies are invented; the clocks, dates and mechanisms are real. Key to the cells: T1 is the day a fix is available for your device class, T3 the day it runs on 90% of your devices; O observed on your fleet, D documented by the vendor, C contracted, I inferred, U unknown; np not published, nc not collected; ESP is the EFI system partition, LVFS the Linux Vendor Firmware Service. Ring sizes differ by channel (5%, 25%, all for Intune; 1%, 10%, 100% for an app pipeline; four steps for Larkfield): each is a choice per channel, not a standard.

Figure 15.2
Halbrook Bank: the filled Ledger puts its decisions on identity and the five push channels
Row and componentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
FW OEM UEFI and Secure Boot keys on 2,500 branch PCsFirmware vendor writes; OEM signs and ships; Microsoft holds the UEFI CABoot path and ESP; all 2,500 PCsOEM firmware ring: to measureOEM firmware update; 2023 CA status tracked per PC (Ch 4)D: boot attestationOEM firmware support endRent; Own the policy (Secure Boot on, firmware ring). Head of end-user computing
HV Cloud VDI host for advisorsCloud providerTenant boundary; every advisor sessionProvider's clock: np to the customerProvider failover; region drill once a yearC: provider reportsPer contractRent; Isolate: no payment approval inside VDI. CTO
DR EDR sensor driverEDR vendor writes and signs; sensor versions on Halbrook's ringsKernel; 2,500 PCsSensor: per release, ring by ringPin N-1; rollback tested; boot recovery drill with recovery keys ready (Ch 5, 9)D: vendor console. O: own crash telemetryPer contractRent the sensor; Pin N-1 with an end date. CISO
ID Identity provider, MFA, help-desk resetIdP vendor; IdP admins; help-desk staffA phone call to the help desk; every accountPolicy change: hoursSession and token revocation; reset only after a callback to a directory number and manager approval, or in person (Ch 6, 16)O: sign-in and reset logsService; per contractRent the token service; Own the reset path and access policy. CISO
MU Windows Update, OEM tool, EDR console and content channel, MDM, teller-app pipelineFive authoritiesEach reaches all 2,500 PCs; EDR content in one pushPer channel: to measurePause per channel; Intune rings 5%, 25%, all; teller app 1%, 10%, 100%; EDR content: 50-PC canary, one-hour hold, tested pauseO for MDM and Windows Update; U for the OEM tooln/aOwn the ring schedule across all five, including EDR content, where each vendor's console and contract provide rings. Head of end-user computing
LR WebView2 runtime and open-source libraries in the teller appMicrosoft; upstream maintainers; Halbrook's own teamTeller-screen contentMicrosoft cadence plus Halbrook's restart window (Book 2, Ch 11)Daily restart window; rebuild the appO: running version reportedMicrosoft lifecycleRent; Own the restart window and the app's dependency list. VP Engineering
AG Advisor-assist agentModel vendor; Halbrook's AI platform team configuresReads client files, drafts messages; advisors onlyModel updates on the vendor's clockRevoke the agent identity; switch off tool access in minutes (Ch 16)O: agent action logPer contractRent the model; Own the permissions; Isolate from payments and any irreversible action. AI platform lead
EX Branch VPN and firewall appliancesAppliance vendorInternet-facing; every branchVendor T1: to measureConfig backup; replacement plan (Ch 11)D: vendor advisoriesVendor support end dateRent; Isolate the management interface from the internet; replace by support end. Head of network
Halbrook rents most rows and owns the thin layer that decides when change reaches its branches: rings, the help-desk reset path, the restart window and agent permissions.
Author's worked example (invented company) based on this book's case files; values marked to measure come from the bank's own telemetry (Appendix D).
Figure 15.3
Corvane Hotels: a long-life fleet decides by support ends, staging and field visits
Row and componentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
FW OEM UEFI and Secure Boot keys on about 3,000 kiosksFirmware vendor writes; OEM signs and shipsESP and image-parsing path; all kiosksTo measureOEM firmware update only (a revocation list does not fix parsers); 2023 CA status tracked (Ch 4)D: attestation where enabledOEM firmware support endRent; Own the policy: Secure Boot on, firmware ring by property. Head of property IT
KN Windows 11 IoT Enterprise LTSC 2024MicrosoftLocal kiosk; all kiosksMonthly quality update; rings by property: to measureRoll back the quality update; reimage from a golden image at the propertyO: MDM complianceOctober 2034 (Microsoft lifecycle)Rent; Pin to LTSC 2024 until hardware refresh, at the latest 2034. Head of property IT
DR EDR sensor and payment-terminal driverTwo vendors write and signKernel; every kioskPer vendorSensor and driver versions staged by property group; field-visit recovery priced per kiosk (Ch 14)D: vendor consolesPer contractRent; Isolate by staging: three canary properties first. CISO
MU Windows Update, OEM tool, EDR console and content channels, RMM, kiosk app pipelineFive authoritiesEach reaches 3,000 kiosksPer channel: to measureKill switch for the kiosk app; pause per channel; EDR content to three canary properties firstPartial: O for MDM; U for RMMn/aOwn the ring schedule across all five, where each vendor provides rings. Head of property IT
LR WebView2 in the check-in appMicrosoftGuest input on the screenMicrosoft cadence; live after the nightly restart (Book 2)Nightly restart windowO: running versionMicrosoft lifecycleRent; Own the nightly restart. Kiosk product owner
SP Android front-desk tabletsDevice maker and GoogleStaff use; 300 propertiesMaker cadence: to measureFreeze periods (at most 90 days) only around peak seasonO: patch level in device managementMaker's stated update periodRent; replace before the update period ends. Head of property IT
AG Agents on kiosksNone allowedn/an/an/aO: image auditn/aIsolate: no agents on the kiosk image. CISO
EX Property VPN appliancesAppliance vendorInternet-facing; 300 propertiesVendor T1: to measureOffline recovery kit per property (Ch 9)D: advisoriesVendor support endRent; Isolate the management plane; replace at support end. Head of network
Corvane pins its kiosk operating system to a printed support end, stages every privileged push by property, and keeps agents off the kiosk image entirely.
Author's worked example (invented company); support dates from Microsoft Lifecycle (checked 18 November 2026); Android freeze limits from Android Developers, Manage system updates.
Figure 15.4
Larkfield Software: the vendor side owns its key, its channel and its pipeline
Row and componentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
ID Code-signing key for 400,000 desktopsLarkfield release engineering, in a hardware security moduleSigns every update; one misuse reaches every customerKey rotation drill: to measureRevoke and re-sign; dual control; retired keys destroyed and recordedO: HSM audit logn/aOwn; Isolate signing from the build system. VP Engineering
MU Larkfield's own update channelLarkfieldPushes to 400,000 desktopsT1 to T3 from update telemetry: to measureStaged rollout 1%, 10%, 50%, 100%; server-side stop; rollback buildO: update telemetryn/aOwn. Head of release
MU Build system and CILarkfield; CI vendorOne compromise reaches every build (Ch 8)n/aRebuild from clean sources; compare buildsO: build logsPer contractOwn the pipeline; Isolate builds from developer laptops. VP Engineering
LR Bundled Chromium through ElectronChromium and Electron upstream; Larkfield shipsWeb content, files and messages the app opensElectron supports the latest three majors (Book 2, Ch 11)Rebuild and ship through its own channelO: version telemetryPer Electron majorOwn the upgrade train; Pin only to a supported major, with its end date. Head of release
LR Open-source dependencies and the package registryMaintainers; the registryBuild time; every buildTo measureLockfiles; provenance checks; revert to a known buildD and O: software bill of materialsPer packageRent; Pin through lockfiles with a monthly review. VP Engineering
KN, DR Kernel codeNone shipped by Larkfieldn/an/an/an/an/aOwn the choice: no kernel driver, by design. CTO
SP OS signing and notarization servicesApple; MicrosoftDistribution and first launchn/aPlatform revocationDn/aRent. Head of release
AG AI coding assistantsModel vendor; Larkfield configuresWrite code into the repositoryModel updates on the vendor's clockRevoke tokens; no merge without human reviewO: review and merge logsPer contractRent the model; Own the review gate. VP Engineering
Larkfield is the authority its customers rent, so it owns the rows that can reach 400,000 desktops in one action and writes their stops into its own release process.
Author's worked example (invented company); Electron support policy as cited in Book 2, Chapter 11; CRA duties from Regulation (EU) 2024/2847.
Security lens

Who can change it? The decision column turns that question into a commitment. Own means your people hold the change. Rent means a named authority does, under a contract with a stop and a clock. Decisions are per row, not per vendor: one supplier can be rented on its code and controlled by you on its rings.

How fast can it be fixed? A rented row is only as fast as its owner's T1 plus your T1 to T3. Put the first in the contract and measure the second. A pin stops the clock on purpose; the end date restarts it.

What does AI change here? Our view (as of November 2026): faster discovery and exploitation (Chapter Sixteen) push more rows from "Rent" to "Rent and Isolate", because the owner's clock no longer fits the exposure. AI agents also become a row to decide on their own (AG): most companies should rent the model, own the permissions and isolate the agent from irreversible actions.

Business implications

Security. Halbrook's decisions concentrate on ID and MU, because one help-desk reset or one console login reaches every branch. Corvane's concentrate on FW and lifecycle, because 3,000 kiosks in 300 properties make every boot failure a field visit. Larkfield's concentrate on its own key and pipeline, because it is the authority for 400,000 desktops.

Cost. Pin is a loan with interest. Every month a pin runs past its end date adds the cost of the eventual jump plus the exposure in between. Isolation is cheap by comparison: Corvane's per-property network segment and kiosk image without agents cost less per year than one week of field visits after a bad push.

Visibility. Isolate needs proof it holds. Each isolation cell names a test and its last run date. A row tagged "U" in the visibility column cannot be rented with confidence; it is the first row to fix.

Value. The filled Ledger becomes the board report. Halbrook's audit committee no longer asks "are we secure?" but "which three rows have no tested stop, and when will they?" That question has an owner and a date.

Monday rule: for the critical system you picked in Chapter One, write one decision per row (Own or Rent, plus any Pin with an end date and any Isolate with a named boundary and its proof) and put the matching clause into the next renewal of each rented row.

Our view, as of November 2026

Customer-controlled rings for security content are likely to become a standard contract term for endpoint and management products, because one vendor added them after a public failure and buyers now know they can ask. Support-end dates printed at sale will spread from regulated EU markets to global contracts as the CRA's support-period duty becomes normal practice for manufacturers. The decision that will grow fastest in Ledgers is Isolate, applied to AI agents and to edge appliances whose owners' clocks no longer fit the exploitation clock.

Part VI · Ahead

Chapter Sixteen

AI on Both Sides of the Stack

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

In mid-September 2025, Anthropic detected an espionage operation running through its own coding tool. Its report, published on 13 November 2025, says a group it assesses "with high confidence" was Chinese and state-sponsored used Claude Code as an orchestrator against roughly 30 targets, with AI executing "80-90% of tactical operations independently", and that its investigation "validated a handful of successful intrusions". In the same year, AI systems on the defender side were finding real flaws in widely used open-source code and drafting patches in under an hour. This chapter asks what changes, row by row, when both sides use the same kinds of tools, and it changes one decision: agents get their own row in the Trust Ledger, with an owner, permissions and a stop.

An operation that ran on an agent

Book 1, Chapter 13 argued that AI moves the seams of a system without removing them. Anthropic calls GTG-1002, its designation for the group, "the first documented case of a large-scale cyberattack executed without substantial human intervention". That is the vendor's characterization of its own incident. The account below is the report's own; no independent investigation has been published, and outside researchers quoted in the press questioned the report because it published no indicators of compromise.

The operators built a framework that used Claude Code and Model Context Protocol (MCP) tools, an open standard Anthropic introduced on 25 November 2024 for connecting AI assistants to tools and data. The framework split the attack into small tasks, such as scanning, credential checks and data extraction, "each of which appeared legitimate when evaluated in isolation". The operators told the model they worked for a legitimate security firm doing defensive testing. In the report's words, that role-play let them operate long enough to launch the campaign before "the sustained nature of the attack triggered detection".

Figure 16.1
GTG-1002 as Anthropic reports it: agents did the volume, people kept the irreversible gates
Flow of the GTG-1002 operation across the Ledger rowsPhase 1 on the agent row: human operators choose targets and use role-play to get the model to work. Phase 2 on the agent row: agents map the attack surface with MCP tools, largely on their own. Phase 3 on the external row: vulnerabilities are found and payloads tested, after a human approves moving to exploitation. Phase 4 on the identity row: credentials are harvested and used for lateral movement, after a human authorizes it. Phase 5 on the services row: internal data is collected and sorted, with a human deciding the scope. Phase 6 on the agent row: the agents write reports for hand-off.EXExternal dependenciesAGAgentsIDIdentitySPServices1targets chosen;role-play asdefensive testershuman2attack surfacemapped withMCP toolsagent3flaws found,payloads testedhuman gate4credentialsharvested,used to movehuman gate5internal datacollected andsortedhuman: scope6reports writtenfor hand-offagentNumbered phases in the report's order. Gold labels mark who decided each step.
Six phases from Anthropic's report (November 2025), placed on the Ledger rows they touched; the report gives no CVEs and names no victims.
Source: Anthropic, "Disrupting the first reported AI-orchestrated cyber espionage campaign", full report, November 2025 (updated 17 November 2025). Attribution and figures are Anthropic's.

Three details change how a CTO reads the case.

Anthropic banned the accounts over ten days, notified affected organizations and worked with authorities. In Ledger terms, the model provider was an authority on the attack path: it could see the activity and it could stop it, for its own model only. That is the shape of every rented AI row: the vendor holds a stop you do not. Google's Threat Intelligence Group gave a second vendor's account on 5 November 2025: for the first time it had found malware families that call a language model while they run, one of them (PROMPTFLUX) still in testing, and it disabled the accounts involved.

The clock that moved: time to exploit

The thesis of this book has a second half: discovery and exploitation are getting faster than the time a fix takes to reach your fleet, and AI may speed them further. The best public series on the first half is Mandiant's time-to-exploit analysis. Time to exploit (TTE) is Mandiant's "average time taken to exploit a vulnerability before or after a patch is released".

Figure 16.2
Time to exploit fell from about two months to days, then below zero
Bar chart of average time to exploit, 2018 to 2025Mandiant average time to exploit: 63 days for 2018 to 2019; 44 days for 2020 to early 2021; 32 days for 2021 to 2022; 5 days for 2023 (138 vulnerabilities, 97 zero-days, 41 n-days, 15 outliers excluded). M-Trends 2026 estimates a mean of minus 7 days for 2025, meaning exploitation routinely began before a patch.AVERAGE TIME TO EXPLOIT, MANDIANT SERIESESTIMATE FROM A DIFFERENT PUBLICATION2018 to 201963 days2020 to early 202144 days2021 to 202232 days2023 5 days (138 vulnerabilities; 15 outliers excluded)2025 (estimate) about -7 days: exploited before the patch
Mandiant's average time to exploit by period, with the 2025 estimate shown apart because it comes from a different publication and is an estimate.
Source: Mandiant (Charrier, Weiner), "How Low Can You Go? An Analysis of 2023 Time-to-Exploit Trends", 15 October 2024; Mandiant, M-Trends 2026 (blog, 23 March 2026). Method notes in the text.

Mandiant reported an average TTE of 63 days for 2018 to 2019, 44 days for 2020 to the start of 2021, and 32 days for 2021 to 2022. For 2023 it reported "an average of just five days" across 138 vulnerabilities it tracked as exploited in the wild, 97 of them zero-days and 41 n-days, flaws first exploited after their fix was public (Casey Charrier and Robert Weiner, 15 October 2024). Its M-Trends 2026 report (23 March 2026) put the mean time to exploit for 2025 at "an estimated -7 days, meaning exploitation is routinely occurring before a patch is even released".

Read the method before the trend. The 2023 average excludes 15 outliers. A year with more zero-days pulls the average down, because a zero-day is exploited before the patch by definition. The M-Trends figure is an estimate from a different publication. None of these sources attributes the fall to AI, and this book does not either: the trend began before capable models existed, and AI can only be said to have accelerated work that was already getting faster.

The n-day numbers are the ones a patch owner should pin to the wall. Of the 41 vulnerabilities exploited in 2023 after their fix was public, Mandiant found 12% exploited within one day, 29% within one week and 56% within one month. A fleet that took 30 days to reach 90% (T3) would have been behind on more than half of the 41 n-days Mandiant saw exploited that year.

The defender's machines: finding and fixing

AI on the defender side moved from claims to dated results in about a year.

The same tools strain the people who receive reports. In June 2025 XBOW, an autonomous testing system, reached the top of HackerOne's US leaderboard after about 90 days of submissions, by the company's own account. In January 2026 Daniel Stenberg, curl's lead maintainer, ended the project's bug bounty from the end of that month, to remove the incentive for made-up reports, many of them AI-generated. Bounty programs and volunteer maintainers now triage at machine volume, which is the pressure Chapter 12 points to.

These results can lower the cost of T0 and T1 for code someone can change. They do nothing for T2 and T3 on your devices. A fix found in 45 minutes still waits for the maintainer to accept it, the vendor to ship it, your rings to promote it and your devices to restart. AI triage cuts the cost of a fix most for the companies that own their release path: Larkfield, which can merge, sign and push a fix to 400,000 desktops on its own clock, gains the most. A company that rents every row gains a faster advisory and the same wait.

This is where the unseen angle of this chapter comes from: if discovery and exploitation take days, much of the risk sits in the tail. The rows with the slowest T3, such as firmware, edge appliances and kiosks that restart once a week, are where you lose.

Agents as an authority: the AG row

An agent in this book is any AI system or automation that acts with a user's or a service's privileges: it reads, writes, sends, clicks or calls tools. It belongs in the Ledger for the same reason an RMM console does. It can change your systems, at machine speed, on someone's behalf. Apple has let apps expose actions to assistants through App Intents since 2022; in 2025 Windows began to give the agent itself a separate identity. The table shows what each platform documents, dated.

Agent questionWindowsmacOSiOSLinuxAndroid
How apps expose actions to agentsAgent connectors in the experimental agent workspace (support page updated 5 December 2025)App Intents (macOS 13 and later), for Apple Intelligence, Siri, Spotlight and ShortcutsApp Intents (iOS 16 and later)No platform framework; agents run as ordinary processes and call tools directlyAppFunctions (Android 16 and later; experimental, limited access)
What the agent runs asA separate agent account in a separate Windows session, created only after an administrator turns the setting on (off by default)The app that hosts it, under the user's permissionsThe app that hosts it, inside its sandboxThe user or service account that starts itA caller holding the EXECUTE_APP_FUNCTIONS permission
What it can reach by defaultOn request, the six known folders (Documents, Downloads, Desktop, Music, Pictures, Videos), with consent per agent in later preview buildsWhat the user grants the host appOnly what each app's intents exposeEverything that account can reachOnly the functions each app declares
Vendor's stated riskMicrosoft names cross-prompt injection: content in documents or UI "can override agent instructions"Apple's documentation describes the framework, not a risk statementn/aGoogle advises exposing "only safe, non-destructive tasks"

Sources for the table: Microsoft Support, "Experimental Agentic Features" (updated 5 December 2025); Apple Developer, App Intents framework metadata; Android Developers, AppFunctions overview and agent skill guidance. All checked 18 November 2026; preview features change often.

The pattern across vendors is the same as the pattern in GTG-1002: a separate identity for the agent, a narrow list of things it may touch, and a person at the irreversible step. What is not the same is maturity. Windows labels its framework experimental; Android calls AppFunctions experimental with limited access. A Ledger entry for an agent should cite the platform build it was checked on.

Prompt injection: an input problem without a patch

Most rows in this book have an input that untrusted parties can reach. For an agent, that input is any text the model reads: a web page, an email, a document, a ticket, a tool's output. Prompt injection is text in that input written to change what the agent does. OWASP lists it first in its Top 10 for LLM Applications (LLM01:2025), next to "Excessive Agency" (LLM06:2025), and on 9 December 2025 published a separate Top 10 for Agentic Applications.

No general model-level fix has been demonstrated. A particular injection path or tool defect can be patched; the underlying problem cannot yet. A model that follows instructions in text cannot reliably tell the operator's instructions from an attacker's when both arrive as text. Microsoft's own agent page says so in plain words. The controls that reduce the impact are the old ones, applied to a new caller, and none of them is complete: least privilege for the agent's identity, isolation from the systems where a mistake cannot be undone, a human approval for irreversible actions, and a log of what the agent did that someone reads.

New silicon, new runtimes, attested compute

AI also adds components to rows that already exist. On-device model runtimes sit in LR, beside the other runtimes a fleet must patch. Their accelerators and drivers sit in SI and DR, with their own vendors and update channels. Model files and their tokenizers are inputs that a runtime parses, which makes them part of the exposure column, and a model downloaded from a public hub is a supply chain input like any package (Chapter 8).

When the work leaves the device, the question becomes who can see it on the server. Apple's answer, published on 10 June 2024, is Private Cloud Compute (PCC). Apple says devices will send data only to PCC nodes "running authorized and verifiable software images", checking that a node's measurements "match a software release in the public transparency log". That is attestation used as a trust gate. Chapter Seventeen explains what attestation proves and what it does not.

How it got this way

Machines that find and fix flaws on their own are older than today's models. On 4 August 2016 DARPA ran the final of its Cyber Grand Challenge, in which fully automated systems found, exploited and patched flaws in software written for the contest; ForAllSecure's Mayhem won. Fuzzing at industrial scale followed, then the language models of the 2020s, which added reading code and writing patches in plain source. AIxCC in 2025 was the same contest moved to real open-source projects and the tools of its time. Agents with access to a user's files and accounts are the newer step: they turn a tool into an authority.

What hasn't changed: least privilege and a human approval for irreversible actions. Saltzer and Schroeder wrote in 1975 that "every program and every user of the system should operate using the least set of privileges necessary to complete the job". In November 2025, the GTG-1002 operators themselves kept people at the irreversible steps, and in December 2025 Microsoft's agent page described separate agent accounts with limited folder access. The principle is fifty years old; the new caller is the agent.

The unseen angle

AI makes the tail matter more. When Mandiant's estimated time to exploit is negative and AI agents find bugs in minutes, the advantage goes to whoever closes the last 10% of devices fastest, not to whoever learns about the flaw first. The rows that lose are the ones nobody reports on: kiosks that reboot once a week, appliances patched by hand, firmware that needs a field visit. Look at your slowest T3, not your average. Sources: Mandiant TTE 2023 (15 October 2024); M-Trends 2026 (23 March 2026); Chapter Eleven's long-tail list.

AI can shorten discovery, and in documented cases attack work, on the rows it reaches. Your release path, your rings and your recovery shorten the fix.

These rows in the Trust Ledger

Halbrook Bank gives its advisor-assist agent a row of its own and adds an AI exposure flag (optional column) to the rows that AI changes most.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
AG Advisor-assist agent on cloud VDI; reads client files, drafts messages and meeting notesModel vendor (model updates); Halbrook AI platform team (tools, permissions); advisors (prompts)Any document or email it reads can carry injected text; reaches every advisor's files it is grantedModel: vendor's clock, np. Tool permissions: Halbrook, hoursAgent identity revoked in one step; tool access switched off per tool; drill twice a yearO: Halbrook's agent action log; C: vendor abuse reportsPer contractRent the model; Own identity and permissions; Isolate: no payment, transfer or send without an advisor's approval. AI platform lead
ID Help-desk reset path (AI exposure flag: yes)Help-desk staff; IdP adminsA convincing voice or message, now cheaper to produce; every accountProcedure change: daysCallback to a directory number plus manager approval, or in person, before any reset; never video alone (a deepfaked video call cost Arup about $25 million in 2024); session revocationO: reset logsn/aOwn the procedure. CISO
EX Branch VPN appliances (AI exposure flag: yes)Appliance vendorInternet-facing; exploitation clock measured in days or lessVendor T1 plus Halbrook rollout: to measureManagement interface off the internet; replacement planD: advisoriesVendor support endRent; Isolate; shorten T3 to days. Head of network
MU Teller-app release pipeline (AI exposure flag: yes, on the defender side)Halbrook engineeringPushes to 2,500 PCsAI-assisted triage and patch drafting; human review before mergeRings 1%, 10%, 100%; rollback buildO: pipeline logsn/aOwn; AI may draft a fix, never merge one. VP Engineering
Security lens

Who can change it? A new authority: the agent, acting with someone's privileges, and behind it the model vendor, the tool authors and anyone whose text the agent reads. Name all of them in the AG row.

How fast can it be fixed? Discovery and patch drafting now take minutes for code you own. Exploitation of public flaws takes days or less on Mandiant's numbers. Your T2 and T3 did not change by themselves. The gap between the two clocks is the risk.

What does AI change here? This chapter is the answer. In short: it can shorten discovery and attack work on the rows it reaches, it adds an AG row with its own permissions and stop, and it rewards the companies that can ship a fix on their own clock.

Business implications

Security. Halbrook treats its agent as a privileged identity, whatever app hosts it: separate account, narrow tools, approvals at the irreversible step. Corvane keeps agents off its kiosk image entirely. Larkfield lets AI draft fixes for its own code and keeps a person at the merge.

Cost. AI triage saves analyst time for everyone, but it cuts the cost of a fix most where you can ship it. Larkfield's cost per fix falls; Halbrook's and Corvane's fall only on the rows they own, which is why the cheaper investment for them is a shorter T3, not a better scanner.

Visibility. Agent actions need their own audit trail, kept with the same retention as admin logs. Rate and pattern are among the signals, as GTG-1002 showed; a log that records only the final action misses it.

Value. AI-found bugs reward companies with a short T1 to T3. Larkfield can turn that into a sales point: a published median days from report to fix on customers' desktops.

Monday rule: give every agent in your company a row in the Trust Ledger with its own identity, its tool list, the irreversible actions it may not take without a person, and a tested way to switch it off.

Our view, as of November 2026

The rows that matter most over the next three years are the slow ones. AI-assisted discovery will keep producing more reported flaws, and exploitation will keep starting before or near the patch. T3 will decide more of the outcome than it did, so patch telemetry and rings should get more of the budget that scanners got before. Agents will become a standard Ledger row with its own identity class in the operating systems, and prompt injection will be handled the way the industry handled untrusted input before: by limiting what the reader is allowed to do, not by hoping it reads safely.

Chapter Seventeen

The Next Trust Migration: Memory Safety, Attestation and Post-Quantum Keys

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsIN RED: THE ROWS THIS CHAPTER OPENS

On 27 October 2026, NIST published the final version of its report on the move to post-quantum cryptography, NIST IR 8547. Its tables give the same two dates for every quantum-vulnerable signature and key-establishment scheme in its standards, at 112-bit security and above: "Deprecated after 2030", "Disallowed after 2035". Most companies will read that as a cryptography problem for later. This chapter reads it as a Trust Ledger problem for now, together with two other migrations already under way: memory safety and attestation. Each changes who can be trusted on which row, and each rewards the fleets that know their keys, their code and their evidence. The decision this chapter changes is the inventory: what you list today decides how much of the next migration you can do on your own clock.

Three migrations, one question

The book has asked one question of every layer: who can change it, how fast, and how do you know. The three migrations change the answer in different places.

None of the three is a product to buy. Each is a change in what you must ask of the authorities you already rent, and in what you must own yourself: the list.

Memory safety: classes, not bugs

A memory-safety bug is code reading or writing memory it should not: past the end of a buffer, after the memory was freed, through a pointer of the wrong type. On 16 July 2019 Microsoft's Security Response Center wrote that "~70% of the vulnerabilities Microsoft assigns a CVE each year continue to be memory safety issues". On 13 November 2025 Google's Android team reported that memory-safety vulnerabilities fell "below 20% of total vulnerabilities for the first time" in 2025, after years of writing new platform code in Rust. It estimated about 0.2 vulnerabilities per million lines of its Rust code, from about five million lines and a single potential flaw caught before release, against "closer to 1,000" memory-safety vulnerabilities per million lines in its historical C and C++ data, and said Android's 6.12 Linux kernel carries its first production Rust driver.

Read the Android result carefully. The share fell because new code was written in Rust while old C and C++ code aged and was fixed. It is a statement about a codebase and its new code, not about a language making software correct. Logic bugs, configuration mistakes, stolen keys and every identity case in Chapter Six are untouched. The right wording for a board paper is the one Google uses for its own numbers: fewer memory-safety vulnerabilities in the code written in a memory-safe language.

On 24 June 2025 NSA and CISA published a joint information sheet, "Memory Safe Languages: Reducing Vulnerabilities in Modern Software Development", asking software makers to adopt memory-safe languages and publish roadmaps. CISA and the FBI's Product Security Bad Practices guidance (version 2, January 2025) is more specific: new product lines in memory-safe languages, and for existing products a published memory safety roadmap "by the end of 2025". For a buyer that turns into a contract question for each rented row: what share of the code that parses untrusted input is memory safe, and what is the plan for the rest?

Hardware is the second front. Memory tagging gives each piece of memory and each pointer a small tag and lets the processor stop an access whose tags do not match. Android added platform support for Arm's Memory Tagging Extension (MTE) in Android 13, and the first listed devices are Pixel 8 and later, which shipped with Android 14; it is off by default for apps and offered as a developer option on some phones. Apple went further on 9 September 2025 with Memory Integrity Enforcement (MIE) in all iPhone 17 models and iPhone Air. Apple describes it as "always-on memory safety protection", built on Enhanced MTE (a specification Apple says it worked on with Arm, released in 2022) in synchronous mode, and covering the kernel and "over 70 userland processes". Apple's stated aim is to make mercenary spyware chains "immensely more expensive and difficult to develop and maintain". The research line underneath is CHERI, a Cambridge and SRI International project funded by DARPA since 2010 that adds hardware capabilities to processors; Arm's Morello prototype boards began shipping to researchers in January 2022.

Memory-safety leverWindowsmacOSiOSLinuxAndroid
Vendor's own published measureAbout 70% of Microsoft's CVEs per year were memory safety (2019)Apple publishes design goals (MIE, 2025), not a shareNo single owner; per subsystemBelow 20% of vulnerabilities in 2025 (Google, November 2025)
Memory-safe code in the platformNo published share (np)No published share (np)Rust support in the kernel (Chapter Five); drivers by choiceNew platform code largely in Rust; first production Rust kernel driver in Android's 6.12 kernel
Firmware and silicon: hardware memory taggingDepends on the CPU; not a platform defaultNot stated for Macs in Apple's MIE postMIE on A19 and A19 Pro (iPhone 17, iPhone Air)Supported on Arm hardware with MTE, by configurationMTE on select devices (Pixel 8 and later), opt-in

Sources for the table: MSRC (16 July 2019); Apple Security Research (9 September 2025); Google (13 November 2025); Android Developers, "Arm Memory Tagging Extension". Checked 18 November 2026.

Attestation and its limits

Remote attestation is a device or service proving to someone else what software it is running. The IETF's architecture for it, RFC 9334 (January 2023), names the parts. An Attester (the device) produces Evidence, "a set of Claims" about itself, usually measurements of what booted, signed by a key rooted in hardware. A Verifier checks that Evidence against Reference Values (what good looks like, usually from the maker) and Endorsements (the maker vouching for the hardware key), and produces an Attestation Result. A Relying Party (your access gateway, your MDM, a key service) acts on that result.

Chapter Sixteen showed attestation as a trust gate: Apple's Private Cloud Compute devices send data only to nodes whose measurements match a release in a public transparency log. Used this way it is powerful. It also has limits that a CTO should write into the Ledger next to each use.

Figure 17.1
Attestation is a chain of parties, and each link has its own way to fail
Remote attestation roles and failure pointsThe Attester (a device with a hardware-rooted key) sends Evidence to the Verifier. The Endorser (usually the maker) sends Endorsements and the Reference Value Provider sends Reference Values to the Verifier. The Verifier sends an Attestation Result to the Relying Party, such as an access gateway. Failure points: a measured but vulnerable build still attests; evidence can be stale; reference values can be out of date; the verifier can be compromised or down; evidence can identify devices.WHO VOUCHESTHE EVIDENCE PATHWHERE IT BREAKSEvidenceResultEndorsementsReference valuesENDORSERmaker vouches for the keyREFERENCE VALUE PROVIDERwhat good looks likeATTESTERdevice, hardware-rooted keyVERIFIERappraises the evidenceRELYING PARTYgateway, MDM, key service1 A measured butvulnerable buildstill attests2 Evidence canbe stale:set a freshness limit3 Reference valueslag a new fix4 Verifier compromisedor down: fail openor fail closed?5 Evidence canidentify a device:purpose, retention
RFC 9334's roles, with the five places a CTO should write a limit into the Ledger: measured is not benign, freshness, reference values, the verifier itself, and privacy.
Author's diagram based on IETF RFC 9334, Remote ATtestation procedureS (RATS) Architecture (January 2023).

Post-quantum keys: a window, not a cliff

A large enough quantum computer would break the public-key schemes in use today, RSA and elliptic-curve cryptography, which sign code, firmware, certificates and tokens and set up most encrypted connections. Nobody has published such a machine. The migration starts anyway, for two reasons. Data recorded today under quantum-vulnerable key exchange can be decrypted later if such a machine arrives while the data still matters, and keys that sign firmware and software live as long as the devices that trust them.

The standards and the dates are now published.

For US national security systems, NSA's CNSA 2.0 advisory (September 2022) sets dates per category. Software and firmware signing: "support and prefer CNSA 2.0 by 2025, and exclusively use CNSA 2.0 by 2030". Web browsers, servers and cloud services: prefer by 2025, exclusive by 2033. Traditional networking equipment such as VPNs and routers: prefer by 2026, exclusive by 2030. Operating systems: prefer by 2027, exclusive by 2033. NSA expects the whole transition complete by 2035. Halbrook, Corvane and Larkfield are not national security systems, but their vendors sell to them, so these dates set vendor roadmaps. Two civilian calendars point the same way. The EU's coordinated roadmap (NIS Cooperation Group, 23 June 2025) asks Member States to start by the end of 2026, move high-risk systems by 2030 and as many others as feasible by 2035; it reaches Corvane's EU properties and Halbrook's Irish subsidiary. The UK's NCSC (20 March 2025) sets discovery and a plan by 2028, priority migration by 2031 and completion by 2035.

Figure 17.2
Post-quantum migration on the ID and MU rows: dated targets across a decade, not one cliff
Timeline of post-quantum cryptography standards, targets and vendor defaults, 2022 to 2036NIST published FIPS 203, 204 and 205 on 13 August 2024, chose HQC on 11 March 2025 and finalized IR 8547 on 27 October 2026, which deprecates quantum-vulnerable schemes after 2030 and disallows them after 2035. NSA's CNSA 2.0 (September 2022) asks national security systems to prefer quantum-resistant signing for software and firmware by 2025 and use it exclusively by 2030; browsers, servers and cloud prefer by 2025 and operating systems by 2027, exclusive by 2033, with the whole transition complete by 2035. Executive Order 14412 and OMB M-26-15 (June 2026) set 2030 for key establishment and 2031 for signatures on the most sensitive federal systems. Vendor defaults: OpenSSH 9.0 hybrid key exchange (April 2022), Chrome 131 ML-KEM (November 2024), Apple OS 26 hybrid TLS (September 2025), Windows ML-KEM and ML-DSA generally available (November 2025). The customer's own inventory of keys is not collected.202220232024202520262027202820292030203120322033203420352036NIST standardsFIPS 203 to 205HQC chosenIR 8547 finaldeprecated after 2030disallowed after 2035CNSA 2.0code, firmwareannouncedprefer by 2025exclusive by 2030CNSA 2.0OS, web, cloudweb, cloud: preferOS: preferexclusive by 2033all done by 2035US federalEO 14412EO 14412, M-26-15key establishmentsignaturesVendor defaultsconnectionsOpenSSH 9.0Chrome 131 ML-KEMApple OS 26Vendor APIssignaturesWindows ML-DSA, ML-KEMYour ID andMU rowsnc: your key inventory2011 Secure Boot certs expire (Ch 4)DisclosedFix releasedOn devicesStopped or exploitednp: not published
Standards, government targets and vendor defaults are published; the lane that is not is your own inventory of keys and signatures. Year targets are drawn at the start of the year named.
Source: NIST CSRC (13 August 2024); NIST news (11 March 2025; 27 October 2026); NIST IR 8547 (October 2026); NSA CNSA 2.0 advisory (September 2022); OpenSSH release notes; Chrome 131 release notes; Apple support 122756; Microsoft Security blog (18 November 2025).

Vendors have already moved the defaults on connection keys, where hybrid schemes combine a classical and a post-quantum algorithm. OpenSSH 9.0 (8 April 2022) made a hybrid exchange its default; OpenSSH 10.0 (9 April 2025) switched the default to mlkem768x25519-sha256. Chrome 131 (12 November 2024) switched its hybrid TLS key exchange from Kyber to ML-KEM. Apple's iOS 26 (released 15 September 2025) and macOS Tahoe 26 advertise a hybrid ML-KEM exchange in TLS 1.3 by default. On 18 November 2025 Microsoft made ML-KEM and ML-DSA generally available in Windows 11 (24H2 and 25H2) and Windows Server 2025 through its cryptography libraries. The connection layer is moving on vendors' clocks. The signature layer, where firmware, code, certificates and tokens live, is the slow part, and it is the part you need your own inventory of.

That is why cryptographic agility, the ability to change an algorithm or a key without rebuilding the system, is the real project. It has three steps, all on the ID and MU rows: list every key and certificate, with its algorithm, owner and expiry; find which ones are hard-coded in firmware, apps and appliances; and make the replacement path a tested process. Kernel-mode security products moving out of the kernel is the other migration in this period; Chapter Five covers it.

How it got this way

Each of these migrations took longer than its first announcement suggested. Hardware capabilities for memory safety were a research topic for over a decade: CHERI work has been funded by DARPA since 2010, Arm's Morello boards reached researchers in January 2022, the Enhanced MTE specification came in 2022, and Apple shipped always-on tagging in a phone in 2025. Microsoft put a number on memory-safety bugs in 2019, and Google reported its own share falling below 20% six years later. In cryptography, NSA published CNSA 2.0 two years before NIST finished the standards it relies on. The pattern is the same each time: standards first, defaults in a few large platforms next, the long tail of firmware and appliances last.

What hasn't changed: the code that draws most web pages is still overwhelmingly C and C++. In Chromium's source tree at commit 16c0007869ad (17 November 2026), excluding third_party and vendored directories, the author counted 327 Rust files (.rs) against 110,380 C and C++ files (.c, .cc, .cpp, .cxx, .h, .hpp), using git ls-files. File counts are a rough signal, not a share of code size or of the code attackers reach. Memory-safe code is arriving at the edges of large codebases, not replacing their centres. Measured 18 November 2026.

The unseen angle

The fleets that struggled with the 2026 Secure Boot certificate move (Chapter Four) are the preview of the post-quantum key migration. That move asked one question, "which devices trust which signing certificate, and can we update it?", for one set of keys on one platform, with dates known years ahead. The post-quantum move asks the same question for every key that signs firmware, code, certificates and tokens, across every platform and appliance. A team that cannot yet report its 2023 CA status per device will not be able to report its signature algorithms per device either. Fix the first report and you have built the second. Sources: Chapter Four's certificate calendar; NIST IR 8547 (October 2026).

Memory safety removes classes, not bugs. Attestation proves what runs, not that it is good. Post-quantum is a window, not a cliff.

These rows in the Trust Ledger

Corvane Hotels adds the three migrations to the rows of its kiosk fleet and property network. The optional "root of trust" column is folded into the component cell.

ComponentWho can change itExposure and blast radiusPatch clockStop, revoke, recoverWho can see itSupport endDecision and owner
FW Kiosk firmware signing keys and Secure Boot certificates (root: OEM and Microsoft keys)OEM and firmware vendor sign; Microsoft holds the UEFI CAEvery kiosk's boot path; about 3,000 kiosks2023 CA move: to measure. Post-quantum firmware signatures: vendor roadmap, npCertificate update through Windows and OEM firmware; field visit as fallbackD: attestation where enabled. U: signature algorithm per deviceOEM firmware support endRent; Own the per-device report of keys and algorithms. Head of property IT
ID Kiosk device certificates and back-end TLS (root: Corvane's private CA)Corvane's PKI teamEvery kiosk-to-backend connectionCertificate renewal: to measureRevoke and reissue; algorithm change tested in one propertyO: PKI inventoryPer certificateOwn; inventory every key with algorithm and expiry by 2027. CISO
EX Property VPN appliancesAppliance vendorInternet-facing; 300 propertiesPost-quantum key exchange: vendor roadmap, npReplacement at support endD: vendor statementsVendor support endRent; buy only models with a dated post-quantum roadmap. Head of network
ID Attestation verifier for kiosk health (root: TPM endorsement keys)MDM vendor runs the verifier; Corvane sets the policyDecides which kiosks reach payment servicesReference values move with each OS updateFail-closed for payments, fail-open for check-in; drilled yearlyO: attestation resultsPer contractRent the verifier; Own the fail mode and freshness limit. CISO
SI Front-desk tablets: hardware memory taggingChip and device makersStaff tablets; 300 propertiesn/aReplacement cycleD: maker specificationsMaker's stated update periodRent; prefer devices with memory tagging at next refresh. Head of property IT
Security lens

Who can change it? The same authorities as today, with new duties: chip makers decide memory tagging, OS vendors decide memory-safe code and connection defaults, verifier operators decide what "trusted" means, and every key owner decides when an algorithm changes. You own the inventory.

How fast can it be fixed? These are migrations measured in years, with published dates: 2030 and 2035 for NIST deprecation and disallowance, 2030 to 2033 for most CNSA 2.0 categories. The fast part (connection key exchange) is already moving on vendors' clocks. The slow part (signing keys in firmware and appliances) moves at the speed of your hardware refresh.

What does AI change here? Our view (as of November 2026): AI-assisted bug finding (Chapter Sixteen) makes memory-safety bugs cheaper to find in old C and C++ code, which raises the value of the classes that memory-safe code and tagging remove. It also helps a team build its key inventory from code and configuration, if someone checks the result.

Business implications

Security. Larkfield can ask of its own code, and of every library it bundles, what share of the input-parsing code is memory safe. Halbrook prefers memory-tagged phones for its staff at the next refresh. Corvane's priority is the inventory of firmware keys.

Cost. Post-quantum migration is a key and certificate inventory project before it is a cryptography project. The 2026 CA move is the rehearsal. Budget the inventory now; the replacement is spread over hardware refreshes Corvane already plans.

Visibility. Attestation turns "trust me" into evidence only if someone checks it, keeps the reference values current, and decides what happens when the verifier is down.

Value. Verifiable claims about what ships become a sales feature. Larkfield can offer customers a signed statement of what it ships (build provenance, signing algorithm, memory-safe share) and the date of its post-quantum signing move, before its customers' procurement teams ask.

Monday rule: start a register of every signing key and certificate your critical system depends on, with algorithm, owner, expiry and whether it can be changed without new hardware; the 2026 CA report is its first page.

Our view, as of November 2026

The three migrations will not finish in five years, and a CTO should not try to time them. The hedge is the same for all three: own the inventory, rent from authorities that publish dated roadmaps, and isolate what cannot move. Memory tagging will spread from flagship phones to other device classes as chips gain it, and buyers will start asking for it in specifications. Attestation will become a common gate for access to sensitive services, which makes the verifier one of the most important rented rows in the Ledger. Post-quantum connection keys will be the default in major browsers, operating systems and remote-access tools well before 2030, with appliances and embedded devices later; post-quantum firmware and code signatures will lag by a hardware generation, and the fleets with an inventory will be the ones that finish first.

Closing

Epilogue

The Last Authority Is You

SIsiliconFWfirmwareHVhypervisorKNkernelDRdriversSPservicesLRlibrariesFRthe frameIDidentityMUmanagementAGagentsSILICONSCREEN AND AGENTS

This book started at a power button and followed every authority that could change a teller's desk in the four minutes before a payment was approved: the chip and its microcode, the firmware and its keys, the hypervisor, the kernel, the drivers and their content, the identity provider and its help desk, the five channels that push code overnight, the runtimes, the frame, and the agents. Most of those authorities do careful work. None of them answers to the bank for the whole stack. One party is left that answers for all of it: the company that runs the system, deciding row by row whom it trusts, how fast it expects a fix, and how it gets back up.

What the stack looks like now

A stack used to look like layers of technology. Read through the Trust Ledger, it looks like a list of people and organizations, each with a key, a channel and a clock. Some sign. Some push. Some can stop a push and some cannot. Some publish their clocks and some publish nothing. The cases in this book were not failures of one layer. They were moments when an authority on one row could change many rows at once, and nobody downstream could see it coming or stop it in time.

Seeing the stack this way changes the questions a leadership team asks. "Are we secure?" becomes "which authorities can change this system without us knowing, and how many devices does one of their actions reach?" "Are we patched?" becomes "how many days from a vendor's fix to 90% of our fleet, and which devices are in the last 10%?" "Do we have a backup?" becomes "how long, measured in a drill, from a bad push to a working branch?"

You do not have to own the stack. You have to know who does, how fast they can fix it, and how you recover when they cannot.

The Monday list

None of these five steps needs a new platform. Each needs a named person and a date. Together they take one critical system from "trusted" to "accounted for".

StepWhat it takesWho decides
1. Fill one Trust LedgerPick the system whose failure costs the most in a day: a payment approval, a check-in, a release pipeline. Write the header block (Chapter One), then one line per row from SI to AG. Any cell you cannot fill in 20 minutes gets "np", "nc" or "U". Those marks are the first findings.Chief architect, with the system's business owner
2. List every authority that can push to itOperating system updates, firmware tools, the EDR console and its content channel, the management console, remote-support tools, app updaters, package managers and agents. Count them. For each, write who holds the account and how a push is stopped (Chapter Seven).Head of end-user computing, with the CISO
3. Put three numbers on every row that has themT3, the measured days to reach 90% of the fleet with a fix, from your own telemetry (Appendix D); the support end, with its source; and, for each priced scenario the row appears in (Chapter Fourteen), the recovery time, measured in a drill, not estimated (Chapter Nine).Head of end-user computing
4. Drill one stopChoose the channel that reaches the most devices with one action. Pause it, on a test ring, and time how long the pause takes to hold. Then drill one recovery of a device that cannot boot. Write both times into the Ledger.CISO, with operations
5. Write one decision per row, and its clauseOwn or Rent; Pin only with an end date; Isolate only with a named boundary and a test. Put the matching clause into the next renewal of every rented row (Chapter Fifteen, Appendix H).CTO, with procurement

The fifth step is the one that lasts. A Ledger without decisions is an inventory. A Ledger with decisions, owners and review dates is a control, and it becomes the page a board reads instead of a colour on a heat map.

Where the three companies landed

Halbrook Bank filled its first Trust Ledger for the branch payment-approval desk. It found five authorities that could push code to every branch PC overnight and could drill a stop for only two of them. It now owns the ring schedule across all five, after its EDR vendor's contract and console added customer rings, with a 50-PC canary and a one-hour hold for EDR content. It moved its help-desk reset path to a callback to a directory number with manager approval, or an in-person check, gave its advisor-assist agent a separate identity with no power to send or pay without an advisor's approval, and reports one number to its audit committee every quarter: the slowest T3 among its critical rows.

Corvane Hotels rebuilt its kiosk plan around dates. Its kiosks are pinned to an operating system channel with a published support end, and its next purchase order specifies the image that fits the depreciation schedule. Every privileged push now lands first in three canary properties. It keeps agents off the kiosk image entirely, keeps an offline recovery kit at each property, and has started the register of firmware keys and certificates that the 2026 certificate move showed it was missing. It now prices a bad push in field visits, not in tickets.

Larkfield Software accepted that it is an authority for 400,000 desktops. It owns its signing key in a hardware module with dual control, its update channel with staged rollout and a server-side stop, and its build pipeline, isolated from developer laptops. It lets AI draft fixes for its own code and keeps a person at every merge. It meets its 24-hour duty to report actively exploited vulnerabilities under the Cyber Resilience Act, and it publishes a figure its customers can hold it to: the median days from a vulnerability report to the fix on their desktops.

None of the three owns the whole stack. Each now knows who does, and has written down what it will do when one of them fails.

The last authority

Book 1 of this series ended at the human eye. Book 2 ended at the last pixel a system controls. This book ends at the last authority a system answers to. Vendors, maintainers, regulators and agents will keep changing the layers under your screens, most of the time for the better. What they cannot do is decide, for your company, which of them to trust with which row, how long to wait for them, and what to do when they are wrong. That decision does not come with any product. It stays with you.

One step further: the jc10 runtime

For one row of my own stack, I made the decision this book asks most companies not to make lightly: I own it. I build and run my own runtime under the jc10 name. I built it by asking it the questions this book asks of every layer: who can change it, how fast a fix reaches it, and how it recovers when something goes wrong. Owning it means I answer those questions myself, every day, on my own clock.

A later book in this series goes deeper into how it is built. This book stays with the decision. You can follow the work at https://jc10.ai/.

Appendices

Appendix A

Glossary

These are the technical terms this book uses, in plain words and in alphabetical order. Each entry is a short definition and names the place where the term first appears; that chapter, or the one it points to, tells the full story with dates and sources. Where a definition depends on a version or a date, it is as of November 2026.

A to C

TermMeaningFirst used
A/B system updatesAn Android update method that writes the new system image to a second slot, so a device whose new image fails to boot falls back to the old one.Chapter Nine
Advanced ProtectionAndroid 16's single switch for people at high risk, which among other things turns on hardware memory tagging for supported apps.Chapter Ten
AgentAny AI system or automation that acts with a user's or a service's privileges (reads, writes, sends, clicks or calls tools); it has its own Trust Ledger row, AG.Chapter One
AGESAAMD's firmware package for client processors, which PC makers build into their BIOS; a silicon fix delivered in AGESA reaches a device only after its maker ships a new BIOS.Chapter Three
App Control for BusinessThe Windows feature that lets an organization decide which applications and drivers may run.Chapter Two
App IntentsApple's framework through which apps expose actions to Apple Intelligence, Siri, Spotlight and Shortcuts.Chapter Sixteen
AppFunctionsAndroid's experimental framework (Android 16 and later, limited access) through which apps declare functions an agent may call.Chapter Sixteen
AttestationA device or service proving to a verifier, with signed evidence and a fresh challenge (a nonce) so an old proof cannot be replayed, what state it is in; on the devices in this book the evidence is rooted in hardware, and it proves measurements, not good behavior.Chapter One
Attester, Verifier, Relying PartyThe three roles in the IETF's attestation architecture (RFC 9334): the device that produces evidence, the service that checks it against reference values, and the system that acts on the result.Chapter Seventeen
auidThe Linux audit ID of the user who first logged in, kept through su and sudo, so audit records name the person behind a process.Appendix G
AuthorityAny party that can change a layer of your systems: by writing, building, signing, publishing, pushing or configuring it, or by exploiting it.Chapter One
Automated Device Enrollment (ADE)Apple's service that enrolls company-owned devices in the company's MDM at first start and makes them supervised.Chapter Seven
Background Security ImprovementsSmall Apple security fixes delivered between releases (from iOS, iPadOS and macOS 26.1); a user can remove them only all at once.Chapter Two
BasebandThe processor and firmware that run the cellular radio in phones and some laptops.Chapter Three
Baseboard management controller (BMC)A separate processor on a server that gives remote console access below the operating system.Chapter One
Binding Operational Directive (BOD)An order from CISA that binds US federal civilian agencies, such as BOD 26-04 on patch deadlines and BOD 26-02 on end-of-support edge devices.Chapter One
BitLocker recovery keyThe 48-digit password that unlocks a Windows disk when the TPM will not; recovery from a boot failure often needs it.Prologue
Blast radiusHow many devices, users or tenants one action on a row can reach.Chapter One
BlastDoorA tightly sandboxed iOS service, from iOS 14, that parses almost all untrusted data arriving in iMessage.Chapter Ten
Boot ROMCode fixed in the chip at manufacture that starts the chain of trust on Apple devices; it cannot be updated.Chapter Two
BootkitMalware that runs during boot, before the operating system and its defenses start.Chapter Four
Break-glass pathAn emergency way in, such as a sealed offline list of recovery keys or a hardware-key admin account, kept for when the normal path has failed.Chapter Six
Bring your own vulnerable driver (BYOVD)An attack in which someone with admin rights installs a legitimately signed driver with a known flaw and uses the flaw to act in the kernel.Chapter Five
Bug bountyA published reward for a vulnerability reported so that it can be fixed, paid by the vendor or by a platform or fund that runs the program.Chapter Twelve
CaliptraAn open-source design, hosted by the CHIPS Alliance, for a root-of-trust block inside data-center chips.Chapter Three
Canary deploymentSending a change first to a small group of devices, so that a fault shows there before it reaches the rest.Chapter Five
CERT/CCThe CERT Coordination Center at Carnegie Mellon University, which coordinates vulnerability disclosure and publishes vulnerability notes numbered VU#.Chapter Four
Certificate authority (CA)An entity whose certificate others trust to vouch for keys; Microsoft's UEFI CA, for example, signs third-party boot code.Chapter Two
Channel FileThe file in which CrowdStrike delivers Rapid Response Content to its sensor; Channel File 291 carried the 19 July 2024 fault.Chapter Five
CHERIA research project of Cambridge and SRI International, funded by DARPA since 2010, that adds hardware capabilities to processors to enforce memory safety.Chapter Seventeen
CI/CD pipelineThe automated system that builds, tests and publishes software; whoever can change it can change what ships.Chapter Seven
CISAThe US Cybersecurity and Infrastructure Security Agency, which runs the KEV catalog and issues directives to federal agencies.Chapter One
CNSA 2.0NSA's suite and timetable for moving US national security systems to post-quantum algorithms, by category, with the transition expected complete by 2035.Chapter Seventeen
Code-signing keyThe private key whose signature makes an operating system accept a program as coming from its publisher.Chapter Six
Component-based servicing (CBS)The Windows servicing stack that installs packages such as cumulative updates; Get-HotFix lists only what it installed.Appendix D
ConcentrationFor one authority, the share of revenue it can interrupt with one approved action through its normal channel.Chapter Fourteen
Content (security content)Rules and configuration data a security sensor reads to decide what to watch and block; it can change privileged behavior without a new release.Prologue
Content Interpreter, Content ValidatorIn CrowdStrike's sensor, the code that tests live data against content criteria, and the check that validates new content before it ships.Chapter Five
Cross-signing, trust overlapIn PKI, one certificate authority signing another's certificate, as Microsoft cross-signed kernel driver signatures (Chapter Five); Chapter Nine also uses the word for the overlap in which a new key is trusted alongside the old one, so devices can move before the old one is withdrawn.Chapter Five
Cryptographic agilityThe ability to change an algorithm or a key without rebuilding the system.Chapter Seventeen
CSAFCommon Security Advisory Framework: an OASIS standard for machine-readable security advisories, which Red Hat and others publish.Appendix D
CVECommon Vulnerabilities and Exposures: the public identifier given to one vulnerability, such as CVE-2014-0160.Chapter One
CVE Numbering Authority (CNA)An organization allowed to assign CVE identifiers; the Linux kernel became its own CNA in February 2024.Chapter Five
CVSSThe Common Vulnerability Scoring System, which rates severity from 0 to 10.Chapter Eight
Cyber Resilience Act (CRA)Regulation (EU) 2024/2847: security duties for makers of products with digital elements sold in the EU, with reporting from 11 September 2026 and most obligations from 11 December 2027.Reader's Brief
Cyber Safety Review Board (CSRB)A US board that reviewed major incidents, including Log4j (2022) and Storm-0558 (2024); its members were dismissed in January 2025.Chapter Six

D to K

TermMeaningFirst used
Data-independent timing (DIT)A processor mode that cryptographic code can turn on so that timing does not depend on secret data; on M3 chips it disables the prefetcher GoFetch abused.Chapter Three
db (allowed signature database)The UEFI store of certificates and hashes of boot code that may run.Prologue
dbx (forbidden signature database)The UEFI store of signatures and hashes of boot code that must not run; adding an entry revokes it.Prologue
Declarative device management (DDM)Apple's MDM model in which the device applies declarations on its own and reports status items back to the server.Appendix D
DeferralA policy that holds an update back for a set number of days after release.Chapter One
DFU modeThe iPhone's device firmware update mode, used to restore a device over USB when its boot chain fails a check.Chapter Four
Digital Operational Resilience Act (DORA)Regulation (EU) 2022/2554, in application from 17 January 2025, with incident reporting clocks for EU financial entities.Reader's Brief
Direct memory access (DMA)A device reading and writing the computer's memory directly, without the CPU, as Thunderbolt, USB4 and PCIe devices can.Chapter Three
dm-verityA Linux and Android kernel feature that checks each block of a read-only partition against a signed hash tree as it is read.Appendix G
DriverKit, system extensionsApple's frameworks, from macOS 10.15, that let drivers and security tools run in user space instead of the kernel.Chapter Two
Early Launch Antimalware (ELAM)A Windows driver class started before other boot drivers, so security software can judge the drivers that follow.Prologue
eBPFSmall programs loaded into the Linux kernel after a verifier checks them; more constrained than a kernel module, not risk free.Chapter One
Edge applianceA device at the network boundary, such as a VPN gateway or firewall, that decides who reaches internal systems; one kind of EX row (external dependencies).Chapter Eleven
EFI System Partition (ESP)The disk partition from which UEFI firmware loads boot code; BlackLotus and LogoFAIL both used it.Chapter Four
Emergency Directive (ED)A CISA order to US federal civilian agencies to act on an urgent threat by a set date, such as ED 21-01 on SolarWinds.Chapter One
End of supportThe date after which a component's owner no longer commits to fix it; the component may keep working.Chapter One
Endpoint detection and response (EDR)A security product with a sensor on each device and a console that can isolate, kill and run scripts; on Windows the sensor commonly uses a kernel driver.Prologue
Endpoint Security frameworkApple's user-space interface through which security tools watch and block system events on macOS.Chapter Two
Enterprise mobility management (EMM)A product that manages Android devices through Android Enterprise, as a fully managed device or a work profile.Chapter Two
Entity ListA US Commerce Department list that restricts exports to named organizations; it is not a criminal finding.Chapter Seven
Entra IDMicrosoft's cloud identity provider, formerly Azure Active Directory, which signs users in, holds BitLocker recovery keys and keeps sign-in and audit logs.Chapter Six
Evidence tags (O, D, C, I, U)The marks on Ledger evidence, used most in column 6: observed on your fleet, documented by the vendor, contracted, inferred or unknown.Chapter One
Exploit brokerA company that buys working exploits and sells them on, usually to clients it does not name.Chapter Twelve
ExposureWhich untrusted inputs reach a component (network, files, messages, USB, a help-desk call, a console login), and with what privilege.Chapter One
Extended Security Updates (ESU)Microsoft's paid security updates after end of support; for Windows 10, $61 per device in year one, doubling each year, for up to three years.Chapter Eleven
Fail open, fail closedWhat access does when a check (such as an attestation service) is down: allow and continue unchecked, or deny and stop.Chapter Seventeen
FIDO, WebAuthn, CTAPThe standards behind passkeys: FIDO is the alliance, WebAuthn the browser interface, CTAP the protocol between devices.Chapter Six
FileVaultmacOS disk encryption; its personal recovery key can be escrowed with the device management service.Chapter Nine
FIPS 203, 204, 205NIST's first post-quantum standards (13 August 2024): ML-KEM for key establishment, ML-DSA and SLH-DSA for signatures.Chapter Seventeen
FirmwareThe code that starts the hardware and finds the operating system, and the code inside other chips on the board.Prologue
Form 8-KThe report a US public company files with the SEC to disclose a material event, including a material cybersecurity incident.Reader's Brief
Frame LedgerBook 2's worksheet for how one critical screen is drawn, hop 0 to hop 10; in this book it collapses to the FR row.Chapter One
fwupd and LVFSThe Linux firmware update client and the Linux Vendor Firmware Service it draws from; coverage depends on each device maker taking part.Chapter One
Gatekeeper, notarizationOn macOS, the check that software from outside the App Store is signed by a registered developer and has been checked (notarized) by Apple.Chapter Two
Generally available (GA)Released for production use, as opposed to a preview.Chapter Two
Generic Kernel Image (GKI)Google's common Android kernel, from Android 12 with kernel 5.10, with chip and board support moved into loadable vendor modules.Chapter Two
Golden imageA known-good system image that can be laid down on a device to rebuild it.Chapter Nine
HAR fileA browser recording of web traffic, uploaded for troubleshooting, that can contain session tokens.Chapter Six
Hardware security module (HSM)A tamper-resistant device that stores private keys and signs with them, so the key never leaves it.Chapter Six
Help-desk reset pathThe procedure by which support staff reset a password or move an MFA method; whoever can talk them into it can become the user.Prologue
HotpatchWindows updates applied without a restart; Microsoft plans eight hotpatch months and four baseline months a year.Chapter Nine
Hybrid key exchangeA connection key exchange that combines a classical and a post-quantum algorithm, such as mlkem768x25519.Chapter Seventeen
HypervisorSoftware that runs below operating systems and isolates them from each other; Windows uses one for VBS.Prologue
iBoot, Low-Level Bootloader (LLB)The Apple boot stages that follow the Boot ROM and load the kernel.Chapter Two
Identity provider (IdP)The service, such as Microsoft Entra ID or Okta, that signs users in, holds policies and issues tokens for business systems.Prologue
Independent BIOS vendor (IBV)A company, such as AMI, Insyde or Phoenix, that writes most of the UEFI firmware a PC maker customizes and signs.Prologue
Integrity Measurement Architecture (IMA)A Linux kernel subsystem that measures files as they are opened or run and can extend those measurements into the TPM.Appendix G
IntuneMicrosoft's cloud device-management service (MDM and UEM) for Windows, Apple and Android devices.Prologue
IOMMU, Kernel DMA ProtectionThe IOMMU limits which memory each device may touch; Kernel DMA Protection is the Windows feature that uses it against external peripherals.Chapter Three
IsolateA Ledger modifier: contain a row by naming what it is isolated from and how you prove the isolation holds.Reader's Brief
KB articleMicrosoft's Knowledge Base number for an update or support topic, such as KB5025885.Prologue
KernelThe part of the operating system that runs with full hardware privilege over memory, devices and every process.Prologue
Kernel Integrity Protection (KIP)Apple's hardware-enforced protection that locks the kernel's code in memory once the kernel finishes initializing, so it cannot be changed.Chapter Five
Kernel lockdownA Linux feature, merged in 5.4 (November 2019), that limits how far even root can change the running kernel.Chapter Two
Kernel page table isolation (KPTI)The Linux kernel's Meltdown mitigation, in Linux 4.14.11 (2 January 2018).Chapter Three
Key Exchange Key (KEK)The UEFI key store whose keys may update db and dbx; Microsoft's KEK CA 2011 expired on 24 June 2026.Prologue
Known Exploited Vulnerabilities (KEV) catalogCISA's list of vulnerabilities known to be exploited in the wild, created in November 2021.Chapter One

L to P

TermMeaningFirst used
Least privilegeSaltzer and Schroeder's 1975 principle that every program and user should run with the least privilege the job needs.Chapter One
Linux Security Module (LSM)A kernel framework for access-control policies such as SELinux, AppArmor and Landlock.Chapter Five
LivepatchFixing critical Linux kernel functions by redirecting calls, without a reboot, where a distribution offers it.Chapter Nine
LocalPolicy (Full, Reduced, Permissive Security)The per-installation boot policy on a Mac with Apple silicon, set from recoveryOS; third-party kernel extensions need Reduced Security.Chapter Two
Lockdown ModeAn Apple setting, from iOS 16 and macOS Ventura, that narrows the attack surface for people at high risk.Chapter Two
LockfileA file that pins the exact versions of every dependency a build installs.Chapter Eight
Long-term servicing channel (LTSC)Windows editions for fixed-function devices with long fixed support dates, such as Windows 11 IoT Enterprise LTSC 2024, supported to 10 October 2034.Chapter Two
Machine Owner Key (MOK)A key the owner of a Linux PC enrolls in shim so that code signed with it will boot.Chapter Two
Mainline modulesCore Android components, from Android 10, that Google updates directly through Google Play system updates.Chapter Two
Managed service provider (MSP)A company that runs other companies' computers, often through an RMM tool.Chapter Seven
Management engineA separate processor beside the main CPU, such as Intel's ME or AMD's PSP, that runs its own firmware before and alongside the OS.Chapter One
Measured bootRecording a measurement of each boot stage in the TPM, so that later software or a remote verifier can ask what booted.Prologue
Memory integrity (HVCI)The Windows feature that moves the decision about which kernel code may run into the isolated VBS environment.Prologue
Memory Integrity Enforcement (MIE)Apple's always-on hardware memory tagging, announced 9 September 2025 for iPhone 17 models and iPhone Air.Chapter Ten
Memory safetyCode never reading or writing memory it should not (past a buffer, after it was freed, through a wrong pointer type); memory-safe languages remove these bug classes in their safe code, though unsafe blocks and calls into C or C++ can bring them back.Chapter Five
Memory Tagging Extension (MTE)An Arm feature that tags memory and pointers so the CPU faults on mismatched accesses.Chapter Ten
Mercenary spywareSurveillance tools that companies build and sell to governments.Chapter Twelve
MFA fatigue (push bombing)Flooding a user with sign-in approval prompts until one is accepted.Chapter Six
MicrocodeThe processor's own internal program, patched by the CPU vendor after the chip ships and loaded at each start from firmware or the OS.Prologue
Mobile device management (MDM), unified endpoint management (UEM)Products that set policy, deploy apps and scripts and can wipe devices remotely.Chapter One
MMIO registersHardware registers reached through memory addresses; Operation Triangulation used undocumented ones to bypass Apple's page protection.Chapter Ten
Model Context Protocol (MCP)An open standard, introduced by Anthropic on 25 November 2024, for connecting AI assistants to tools and data.Chapter Sixteen
Multi Admin ApprovalAn Intune rule that requires a second administrator to approve sensitive changes such as wipes, scripts and role changes.Chapter Seven
Multi-factor authentication (MFA)Signing in with more than one kind of proof, such as a password and a phone approval.Chapter Six
n-dayA vulnerability exploited after its fix is published, against devices that have not applied it.Chapter Eleven
np, nc, naThe Ledger's marks for "not published", "not collected" and "not applicable"; they are findings, not gaps to hide.Chapter One
NPUA neural processing unit for AI workloads, with its own driver and firmware and so its own row.Chapter Three
OEMOriginal equipment manufacturer: the company that builds and brands a device and ships its firmware, such as a PC or phone maker.Chapter Three
Option ROMFirmware on an add-in card, such as a graphics or network adapter, that UEFI runs at boot.Chapter Two
Out-of-bounds readCode reading past the end of a buffer; the Channel File 291 crash was one.Chapter Five
Own, RentThe Ledger's decision axis: your people hold the authority to change the row, or another party does under a contract.Reader's Brief
Page Protection Layer (PPL), SPTM, TXMApple mechanisms beside the kernel that police page tables and code signing; SPTM with TXM replaces PPL on A15 and M2 or later.Chapter Two
PasskeyA FIDO sign-in credential bound to one site or app and unlocked like the device; synced passkeys are copied across a user's devices, device-bound ones never leave one device.Chapter Six
Patch clock (T0, T1, T2, T3, tail)T0 the earliest of vendor aware, public or known exploited; T1 fix available for this device class; T2 and T3 fix running on 50% and 90% of your fleet; the tail is what remains.Chapter One
Patch TuesdayMicrosoft's monthly security release, on the second Tuesday of each month since October 2003.Chapter One
PinA Ledger modifier: freeze a version or configuration on purpose, always with an end date.Reader's Brief
Pixel Bill of Materials (PBOM)Book 1's list of what is on the box, one row per component from the processor to the lit pixel.Chapter One
pKVMAndroid's protected KVM-based hypervisor, part of the Android Virtualization Framework (Android 13), where the chip supports it.Chapter Two
Platform Configuration Register (PCR)A TPM register that accumulates boot measurements; PCR7 changes when Secure Boot keys change.Chapter Four
Platform Key (PK)The top UEFI key, normally held by the PC maker, that controls changes to the KEK store.Prologue
Platform profileThe exact OS release, hardware class and management state a Ledger covers.Chapter One
Play Integrity APIGoogle's service that tells Android apps whether a device and app look genuine, with verdicts returned from Google's servers.Chapter Seven
PlutonA security processor designed by Microsoft and built into chips by partners; Microsoft writes its firmware and ships it through Windows Update.Chapter One
Post-quantum cryptographyPublic-key algorithms designed to resist a large quantum computer, which would break RSA and elliptic-curve schemes.Chapter Four
Prompt injectionText in an agent's input written to change what the agent does.Chapter Sixteen
ProvenanceA signed record of where and how a binary was built.Chapter Eight

Q to Z

TermMeaningFirst used
Quick Machine RecoveryA Windows 11 feature (24H2, July 2025) that lets a device that cannot boot fetch a fix from Windows Update through WinRE; off by default on Enterprise.Chapter Five
Rapid Response ContentCrowdStrike detection content delivered from the cloud between sensor releases.Chapter Five
Rapid Security ResponseApple's earlier form of between-release security fixes, replaced by Background Security Improvements.Chapter Nine
RCSRich Communication Services: the carrier messaging standard that succeeds SMS.Chapter Ten
Recovery clock (R0, R90)R0 is when a failure is noticed; then stop, revoke, restore; R90 is when 90% of the fleet works again.Chapter One
Reference monitorAnderson's 1972 name for the core that decides access: tamper proof, always invoked, small enough to verify.Chapter One
Remote monitoring and management (RMM)Software that gives a technician a remote shell, script runner and file transfer on every enrolled machine.Chapter Seven
RevocationTelling every verifier that something it used to accept (a boot manager, a key, a certificate, a token) is no longer acceptable.Chapter One
RingsGroups of devices that receive a change in order, so a fault shows on a few before it reaches all.Chapter One
Root of trust (hardware)The component everything above it relies on because nothing below it checks it, such as immutable boot code or a security processor (a TPM, Pluton, the Secure Enclave or Titan M2); it measures, stores, reports or verifies what runs.Chapter One
RowhammerCorrupting memory by repeatedly activating the same DRAM row so nearby rows flip bits.Chapter Three
RustA memory-safe programming language now used in parts of the Linux and Android kernels.Chapter Five
SBATSecure Boot Advanced Targeting: revocation of Linux boot components by generation number instead of by hash, first in shim 15.3 (March 2021).Chapter Two
SBOMSoftware bill of materials: a list of the components inside a product.Chapter Eight
Secure BootThe UEFI check that runs only boot code whose signature or hash is allowed in db and not listed in dbx.Prologue
Secure EnclaveApple's dedicated security subsystem with its own boot ROM, integrated into its chips.Chapter One
Secure version number (SVN)A counter carried in signed boot code; once the minimum is raised, older versions with a lower number are refused, which blocks rollback to flawed code.Chapter Four
Security debtThe work owed because a component outlived its support or was never updated.Chapter Eleven
SELinux, AppArmorLinux mandatory access-control policies; Red Hat Enterprise Linux enforces SELinux by default, Ubuntu loads AppArmor.Chapter One
shimA small first-stage Linux boot loader signed under Microsoft's third-party UEFI CA, which checks the next stage against the distribution's key.Chapter One
Side channelA leak through timing or another physical effect rather than through a broken permission check.Chapter Three
Signed System VolumeThe cryptographically sealed macOS system volume, from macOS 11.Chapter Two
SLSAA framework for build provenance; version 1.0 (April 2023) states it does not address source threats such as an insider's change.Chapter Eight
Software supply chainThe chain of authors, builders, signers and publishers through which software reaches a device.Chapter Eight
Speculative executionA processor running guessed instructions before it knows the guess is right; wrong guesses can leave traces in caches.Chapter Three
Staged rolloutReleasing a change to growing shares of devices, with a chance to halt between stages.Chapter Five
StrongBoxAn Android Keystore backed by a separate secure element with its own CPU, storage and random-number generator, on some devices with Android 9 or later.Chapter Six
Supervised deviceA company-owned Apple device enrolled so that tighter MDM restrictions apply.Chapter Two
Support periodUnder the CRA, the period a manufacturer must handle vulnerabilities; at least five years unless expected use is shorter.Chapter Eleven
Template Type, Template InstanceIn CrowdStrike's sensor, predefined fields compiled into the sensor, and the criteria for one type delivered in a Channel File.Chapter Five
Time to exploit (TTE)Mandiant's average time taken to exploit a vulnerability before or after a patch is released.Chapter Sixteen
Titan M2Google's discrete security chip in Pixel phones from the Pixel 6, working with the Trusty TEE.Chapter One
TokenA credential an app presents to prove a sign-in or a grant of rights, until it expires: often a signed statement (such as a JWT), sometimes an opaque string that only its issuer can check.Chapter Six
Trust LedgerThis book's one-page record of the authorities, dependencies, evidence and exit paths for one critical system (Appendix B).Reader's Brief
Trusted computing baseThe set of components a device must trust to be secure.Chapter Seven
Trusted execution environment (TEE)An isolated area of a processor for sensitive code and keys, such as Trusty on Pixel.Chapter Three
Trusted Platform Module (TPM)A Trusted Computing Group standard security chip, or firmware, that holds keys and records boot measurements; TPM 2.0 is required for Windows 11.Prologue
UEFIThe firmware specification PCs follow, maintained by the UEFI Forum, with its key stores PK, KEK, db and dbx.Prologue
Update build revision (UBR)The number after the build in a Windows version (for example 26100.UBR), raised by each cumulative update.Appendix D
Verified Boot (AVB)Android's check of each partition against the device maker's key, with rollback protection.Chapter One
Veto pointThe place where the customer can say no to an authority's change: audit, provenance check, key refusal, mirror, rings, console control.Chapter One
VEXVulnerability Exploitability eXchange: a statement, delivered with an SBOM, that says whether a listed flaw actually affects the product.Chapter Eight
Virtual desktop (VDI)A desktop that runs on a server or cloud host and is shown on the user's device.Chapter Three
Virtualization-based security (VBS)An isolated environment Windows builds with its hypervisor, designed on the assumption that the kernel can be compromised.Prologue
Vulnerable driver blocklistMicrosoft's list of signed drivers Windows refuses to load, on by default since the Windows 11 2022 update.Chapter Two
War exclusionAn insurance clause excluding losses from hostile or warlike action, or from state-backed cyber attacks.Chapter Twelve
Windows endpoint security platformMicrosoft's user-mode interfaces for security products, generally available on Windows 11 from 17 November 2026.Chapter Five
Windows Hello for BusinessWindows sign-in with a private key protected by the device's security module plus a PIN or biometric.Prologue
WinPE, WinREThe Windows Preinstallation and Recovery Environments, small Windows systems used to repair a machine that will not start.Chapter Five
Zero-clickAn attack that needs no action from the victim: the device parses a message on its own, and the parser is the target.Chapter Ten
Zero-dayA vulnerability exploited before a fix exists.Chapter Ten

Appendix B

The Trust Ledger, Blank

This is the worksheet the book fills chapter by chapter. Copy it, one per critical system. The header block is written once; the twelve rows and eight core columns follow. Eight columns do not fit across an A4 page with room to write, so the core sheet is printed in two halves with the same rows; in a spreadsheet, keep them as one sheet. Write the system name, the assessment date and the sheet version at the top of each half, so printed halves cannot be mixed up. Chapter One explains every part, Chapters Fourteen and Fifteen show filled examples, and one filled row closes this appendix.

Header: one per system

FieldFill in
System and business service
Platform profile (exact OS release, hardware class, management state; Chapter Two)
Fleet denominators: devices eligible for fixes, and all devices in scope, including unsupported and not reporting (Appendix D)
Business value at stake; cost of one day down (lost plus paid, not the day's revenue; Chapter Fourteen)
Regulator clocks that apply, and what starts each one
Loss scenario this Ledger protects against (priced once, here, not per row)
Assessment date; next review
Accountable executive

Core sheet, first half: columns 1 to 4

Rows run from silicon (SI) to agents (AG), with EX for what sits outside the device but on the attack or recovery path. A row that does not apply gets "na" and a reason, not a blank.

Row1 Component2 Who can change it3 Exposure and blast radius4 Patch clock (T0 to T3, tail)
SI Silicon and microcode
FW Firmware and boot
HV Hypervisor and isolation
KN Kernel
DR Drivers and third-party kernel code
SP Services and policy
LR Libraries and runtimes
FR The frame (Book 2)
ID Identity and keys
MU Management and update channels
AG Agents
EX External dependencies (add when an outside service can stop, authorize or recover the system)

Core sheet, second half: columns 5 to 8

Row5 Stop, revoke, recover6 Who can see it (O, D, C, I, U)7 Support end8 Decision and owner
SI Silicon and microcode
FW Firmware and boot
HV Hypervisor and isolation
KN Kernel
DR Drivers and third-party kernel code
SP Services and policy
LR Libraries and runtimes
FR The frame (Book 2)
ID Identity and keys
MU Management and update channels
AG Agents
EX External dependencies (add when an outside service can stop, authorize or recover the system)

What goes in each column

ColumnWhat goes in it
1 ComponentThe real component and version, its update policy (evergreen, pinned, tied to the OS, bundled) and how many devices run it.
2 Who can change itThe named authorities, split by power where they differ: writes, builds, signs, publishes, pushes, configures. A vendor's content channel counts.
3 Exposure and blast radiusWhich untrusted inputs reach it (network, files, messages, USB, a help-desk call, a console login) or "local admin only"; its privilege; how many devices or tenants one action reaches.
4 Patch clockT0 (earliest of vendor aware, public, known exploited), T1 (fix available for this device class), T2 and T3 (fix running on 50% and 90% of your fleet), and the tail with a count and a reason, for the last one to three critical cases. Measured on your fleet (Appendix D).
5 Stop, revoke, recoverThe pause switch, the revocation path (dbx, blocklist, key rotation, token invalidation), the rollback, the date of the last drill and the measured time to R90. Add what the stop or revocation itself breaks (devices that will no longer boot, users signed out, an old version that brings a fixed flaw back) and what "works again" means for this service: a user signed in and a business transaction completed, not only a device checking in.
6 Who can see itTelemetry, attestation or logs, or "nothing", each with an evidence tag: O observed on your fleet, D documented by the vendor, C contracted, I inferred, U unknown (Appendix G).
7 Support endThe date the owner stops fixing it, the source of that date, and the lead time to replace it (Chapter Eleven).
8 Decision and ownerOwn or Rent, plus Pin (with an end date) and Isolate (from what, and the proof it holds); a one-line reason; a named person; the next review date (Chapter Fifteen).

Optional columns

Add them when a chapter or an audit needs them: root of trust (what the row verifies against), yearly cost of control, who pays on failure, AI exposure flag, link to the Pixel Bill of Materials or Frame Ledger row (Appendix C), and contract clause reference (Appendix H).

Rules for filling it

One filled row

This is the SI row of Corvane Hotels' kiosk Ledger, as Chapter Three fills it, set out column by column so the density and the marks show. Note how much of it is a mark rather than a number: that is a normal first Ledger.

ColumnCorvane kiosk, SI row (Chapter Three)
1 ComponentKiosk x86 CPU and microcode; one OEM model in 2 BIOS versions
2 Who can change itCPU vendor writes; OEM ships in BIOS; Microsoft ships via Windows Update
3 Exposure and blast radiusLocal code only; one flaw reaches all 3,000 kiosks
4 Patch clockLast case to measure: Downfall (T0 public 8 Aug 2023); T2, T3 nc
5 Stop, revoke, recoverMicrocode is reloaded each boot; a bad revision is replaced by shipping an older or newer one (the January 2018 pattern)
6 Who can see itU: effective revision not collected
7 Support endOEM hardware support date, from the purchase contract
8 Decision and ownerRent, Pin the hardware model to contract end; owner: end-user computing lead; review quarterly

Appendix C

The Five-OS Trust Reference Table

Every row of the Trust Ledger on Windows, macOS, iOS, Linux and Android, collected from the chapters' side-by-side tables. Each cell says what its chapter says, for the platform profiles fixed in Chapter Two; the chapter tells the story and gives the sources. Use it to fill column 2 (who can change it) and column 5 (stop, revoke, recover) of a first Ledger. Facts are as of November 2026.

How to read it

Below the operating system (SI, FW, HV)

RowWindowsmacOSiOSLinuxAndroid
SI Root of trustTPM 2.0 (required for Windows 11); Pluton on supported chips, firmware by Microsoft through Windows UpdateSecure Enclave with its own boot ROMBoot ROM plus Secure EnclaveTPM 2.0 where the hardware has oneVaries by maker; Pixel: Titan M2 and Trusty TEE
SI Microcode pathOEM BIOS, or Windows Update; the newer one wins at bootApple, with the OSApple, with the OSOEM BIOS, or the kernel's early loader from the distribution's packageNo field-loaded microcode as on x86; CPU and SoC fixes ride in the maker's firmware image (FW row)
SI Running revision visible?Not in most fleet reports; collect itThrough the OS buildThrough the OS build/proc/cpuinfo; old_microcode flag for Intelna as microcode; the security patch level is the maker's claim of what the image contains
FW Who holds the boot keysPC maker (PK); Microsoft (KEK, db entries)Apple (boot ROM key); owner sets LocalPolicyApplePC maker (PK); Microsoft (KEK, third-party CA); distribution (shim's key); owner may add MOKsMaker; Pixel adds a user-settable root of trust
FW What the customer can changeSecure Boot on or off; custom PK and db on many PCs; apply dbx and 2023 certificates on Microsoft's scheduleFull, Reduced or Permissive Security, from recoveryOSNo boot policy choice; a DFU restore reinstalls Apple-signed software onlyAs Windows, plus Machine Owner Keys in shimLock or unlock (wipes data) where allowed
FW Revocation pathdbx and boot manager SVN, staged by Microsoft (KB5025885); not reversible with Secure Boot onApple signing; personalized signatures in Full SecurityApple signingdbx and SBAT generationsAVB rollback index
FW 2026 certificate exposureKEK, UEFI CA and Windows Production PCA 2011 all expired (24 Jun, 27 Jun, 19 Oct 2026)Not affectedNot affectedUEFI CA 2011 (shim) and KEK 2011Not affected
FW How firmware arrivesOEM tool or Windows Update (UEFI capsules)Inside Apple's OS updatesInside Apple's OS updatesfwupd and LVFS where the OEM publishes; otherwise the OEM toolThe maker's over-the-air image
HV Layer below the kernelVBS and memory integrity, where hardware, drivers and policy allowKernel Integrity Protection; SPTM and TXM on M2 or laterPPL on older chips; SPTM and TXM on A15 or laterUsually none; defenses are in-kernel LSMs and lockdownpKVM where the chip vendor supports it

The operating system (KN, DR, SP)

RowWindowsmacOSiOSLinuxAndroid
KN Who signs the kernelMicrosoftAppleAppleThe distribution, or youGoogle releases the Generic Kernel Image with a Google-inserted certificate; the maker adds its vendor modules and signs the device image, and its Verified Boot key roots the chain
KN Who ships the OS fixMicrosoftAppleAppleThe distribution, or youGoogle publishes a monthly bulletin; each maker ships
DR Third-party kernel codeMicrosoft-signed drivers; vulnerable driver blocklist on by default; EDR sensors and their contentKexts only after Reduced Security with admin approval; tools in user spaceNoneSigned modules when Secure Boot is on; out-of-tree modules; eBPF programsChip vendor and maker modules
DR Where an EDR sensor runsKernel driver today; user-mode platform GA on Windows 11 from 17 Nov 2026, vendor dates varySystem extension in user spaceNo kernel sensor; apps and MDMKernel module or eBPFNo kernel sensor; apps and EMM
DR Who can stop a bad pushThe vendor; you, only if contract and console give you content ringsThe vendor; you, through MDM approval of extensionsAppleYour distribution and you, through package pinningGoogle and the maker
SP Decide what apps may runApp Control for BusinessMDM and Gatekeeper policyMDM restrictions; Apple reviews and signs App Store apps, and EU alternative distribution is notarizedYour repositories and policy; fapolicyd allowlisting on RHEL. SELinux (RHEL) and AppArmor (Ubuntu) confine what a program may do once it runsEMM policy; sideloading block on managed devices
SP Who must vouch for an appNo signature needed to run; Authenticode and SmartScreen shape warningsDeveloper ID signature and notarization, checked by GatekeeperApple signs App Store apps; EU alternative distribution still notarizedThe distribution signs its repository; each added repository brings its own keyThe developer signs; with Play App Signing, Google holds the key for Play delivery

Above the kernel (LR, FR, ID)

RowWindowsmacOSiOSLinuxAndroid
LR Where bundled libraries hideInside each installer and app folderInside each app bundleInside each app, statically linkedShared system packages, plus containers, Snaps, Flatpaks and vendor tarballsInside each APK
LR Memory-safety share of vulnerabilities (vendor's own figure)About 70% of Microsoft's CVEs per year (2019)Not published; Apple publishes design goals (MIE, 2025)No single owner; per subsystemBelow 20% of Android vulnerabilities in 2025 (Google)
LR Memory-safe code and hardware taggingShare of memory-safe code not published (np)Share not published (np)Share not published (np); MIE on iPhone 17 models and iPhone AirRust support in the kernel since 6.1; drivers by choiceNew platform code largely in Rust; first production Rust kernel driver in the 6.12 kernel
FR Who parses messages before you clickEach messaging and mail app, and the preview handlers it callsMessages and its parsing services, plus each appMessages through BlastDoor (iOS 14 on), plus each appEach app and the libraries the distribution shipsThe SMS and RCS app, each messaging app, the media stack
FR One switch for at-risk usersNo single named modeLockdown ModeLockdown ModeNo single modeAdvanced Protection (Android 16)
ID Where device keys liveTPM 2.0; Windows Hello for Business prefers the TPM and falls back to software keys only when no usable TPM exists and the "Use a hardware security device" policy is offSecure EnclaveSecure EnclaveTPM where present; depends on distribution and toolingTEE-backed Keystore; StrongBox on some devices with Android 9 or later
ID Disk key escrow for recoveryBitLocker key in Entra ID or AD DSFileVault personal recovery key escrowed to MDMHardware-bound; not a key the company escrowsNo built-in escrow: store a LUKS recovery key yourself; Clevis with Tang servers or a TPM2 binding (systemd-cryptenroll) unlocks without oneHardware-bound; not a key the company escrows

Control planes and the future rows (MU, AG)

RowWindowsmacOSiOSLinuxAndroid
MU Built-in management channelThe OS's MDM interface (Intune and other UEM); Group Policy and Configuration ManagerApple's MDM protocol; supervision through Automated Device EnrollmentApple's MDM protocol; supervision through ADE or Apple ConfiguratorNo MDM protocol in the OS; vendor fleet tools are optional (Red Hat Satellite and Insights, Canonical Landscape), plus configuration tools and repositoriesAndroid Enterprise through an EMM
MU Delay OS updatesDefer quality updates up to 30 days, pause up to 35; feature updates up to 365 days1 to 90 days, with a deadline1 to 90 days, with a deadlineAs long as you choose: you run the repositoriesPostpone once for 30 days, or freeze up to 90 days
MU Fix without a full OS updateHotpatch (Enterprise 24H2): eight months a year without restartBackground Security Improvements (26.1 on)Background Security Improvements (26.1 on)Kernel livepatch where the distribution offers itMainline modules through Google Play system updates
MU Roll back a shipped changeUninstall the update; Quick Machine Recovery from WinRE where enabledRemove all Background Security Improvements at onceRemove all Background Security Improvements at oncePackage downgrade; image rollback on image-based systemsA/B fallback if the new slot fails to boot
MU Two-person rule for mass actionsIntune Multi Admin Approval, if configuredDepends on the MDM productDepends on the MDM productDepends on your toolingDepends on the EMM product
MU Support end published?Yes, per edition; LTSC and IoT LTSC run longestNo; inferred from history (tag I)No; inferred from history (tag I)Kernel: projected per longterm release; distributions publish their ownPer maker and model; absent for many devices
AG What an agent runs asA separate agent account in its own session, after an admin turns the setting on (experimental)The host app, under the user's permissions (App Intents)The host app, inside its sandbox (App Intents)The user or service account that starts itA caller holding EXECUTE_APP_FUNCTIONS (AppFunctions, experimental)
AG What it can reach by defaultOn request, the six known folders, with consent per agentWhat the user grants the host appOnly what each app's intents exposeEverything that account can reachOnly the functions each app declares

Sources: the side-by-side tables of Chapters One to Seventeen and their source notes in Appendix E. Preview features (AG rows) change often; record the build you checked.

Row mapping across the series

Book 1's Pixel Bill of Materials lists what is on the box by layer; Book 2's Frame Ledger follows one screen from hop 0 (source) to hop 10 (glass and readers), plus an input row and a capture row. The Trust Ledger keeps the same stack and asks who controls each part. Link rows; do not copy them.

Trust Ledger rowBook 1: Pixel Bill of Materials layerBook 2: Frame Ledger hops
SI Silicon and microcodeSilicon and boot (Book 1, Chapter 1)None directly; the GPU and display hardware under hops 6 (raster) and 9 (scanout)
FW Firmware and bootSilicon and boot (Book 1, Chapter 1)None
HV Hypervisor and isolationNo separate layer; Silicon and boot and The kernel (Book 1, Chapters 1 and 2)None
KN KernelThe kernel (Book 1, Chapter 2)None directly; kernel display drivers under hop 9
DR Drivers and third-party kernel codeDrivers, storage and network (Book 1, Chapter 3)Hop 9 (display driver and scanout)
SP Services and policySecurity, identity and the trusted pixel (Book 1, Chapter 4)The "process and sandbox" column of every hop
LR Libraries and runtimesRuntimes and languages; Toolchain and distribution (Book 1, Chapters 5 and 8)The libraries inside hops 1 to 6 (parsers, shaping, font and image libraries, the 2D graphics library)
FR The frameGraphics and text; Browser engine; Pixel (Book 1, Chapters 6 and 7)Hops 0 to 10, plus the input and capture rows
ID Identity and keysSecurity, identity and the trusted pixel (Book 1, Chapter 4)None directly; the input row records who touches the glass
MU Management and update channelsToolchain and distribution (Book 1, Chapter 8)The "who patches, channel, typical delay" column of every hop
AG AgentsAI moves the seams (Book 1, Chapter 13)Hop 10 (glass and readers: the accessibility tree agents read)
EX External dependenciesNoneNone

Appendix D

Measuring the Patch and Recovery Clocks

Column 4 and column 5 of the Trust Ledger hold two clocks that only your own telemetry can measure. This appendix gives the definitions from Chapter One, a recipe per platform that a fleet team can run this week, and the rules for marking what nobody published. Report names, tables and fields are as Microsoft, Apple, Jamf, Google and the Linux projects document them in November 2026; check them against the current documentation before you build on them.

The definitions

MarkDefinitionWho owns it
T0The earliest of three moments: the vendor learns of the flaw, the flaw becomes public, or it is known to be exploited. Record the three separately, each with its source; where one is not public, mark it np and take T0 from the earliest known one, saying so.Nobody; it is a fact to record
T1The day a fix is available for this device class, which may be weeks after the first fix for another class.The vendor (and, for firmware and Android, the device maker)
T2The day the fix is running on 50% of your eligible devices.You
T3The day the fix is running on 90% of your eligible devices.You
TailThe devices still exposed after T3, counted, with a reason for each group: not reporting, failed install, waiting for restart, unsupported.You
R0The moment a failure or an exploitation is noticed.You
Stop, revoke, restoreThe three recovery actions in order: stop the channel, ring or content; revoke what must no longer be trusted; restore by rollback, repair or rebuild.You and the channel's owner
R90The moment 90% of the affected fleet works again for the people who use it, reported to the day.You

Three rules from Chapters One and Nine apply to every recipe. Two denominators: T2 and T3 are shares of the eligible population, the devices that should receive this fix; report beside them the exposure across all devices in scope, so unsupported devices (a Chapter Eleven finding), devices offline by design such as seasonal kiosks, and devices not reporting stay visible in the tail instead of dropping out of the count. Installed is not running: count a fix only after the restart or process restart that activates it. Not reporting is unknown, not patched and not unpatched; it is the tail.

Read each date from the device's own timestamps, not from the day a report showed it: cloud reports refresh on their own schedules, stated in their documentation, and a curve read off a stale report runs late.

Five numbers per fix

For each of the last one to three critical cases on a row, record: the eligible population; the share running the fix at 24 hours, 7 days and 30 days after T1; the share installed but waiting for a restart; failed installs with the error; and devices not reporting. T2 and T3 are read off that curve (Figure 9.1).

Windows: Intune and Windows Update for Business reports

Windows: WSUS and the device itself

On one Windows device, in PowerShell: the running build revision, and the newest update that component-based servicing recorded.

(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion').UBR
(Get-HotFix | Sort-Object -Property InstalledOn)[-1]

macOS and iOS: MDM, declarative status and Jamf

Android: the Android Management API or your EMM

Linux: package timestamps

On one Linux host, in a shell: one package's install time on RPM systems, its upgrades on Debian and Ubuntu, and whether a reboot is still needed.

rpm -q --qf '%{NAME} %{VERSION}-%{RELEASE} %{INSTALLTIME:date}\n' openssl
zgrep -h " upgrade " /var/log/dpkg.log* | grep " openssl"
uname -r; needs-restarting -r; echo $?

Collect the output from every host through your configuration tool, keyed by host and date, and build the same curve as on the other platforms.

Below the operating system: firmware, Secure Boot and livepatch

The SI, FW and DR rows have clocks too, and the OS build does not show them. Collect these per device, keyed by host and date, and build the same curve.

The recovery clock

How to mark what is missing

MarkUse it whenExample
npNot published: the authority holds the date but has not made it public.A tablet maker's release date for the monthly patch; the BlackLotus enforcement date in KB5025885
ncNot collected: the data exists in your reach but you do not gather it yet.Effective microcode revision per kiosk; EDR content version per device
naNot applicable to this row, with a one-line reason.No agents on the kiosk image
UUnknown: nobody can say, including the vendor.Who can see a firmware parser flaw before an advisory

In every timeline in this book, an np interval is drawn as a labeled gap, never as a bar, because a bar implies a measured duration. Use the same rule in your own charts. The fill rule from Chapter One holds here: a cell you cannot fill in twenty minutes on the first pass gets one of these marks (Appendix B).

Appendix F

Case File Index

Every case the book tells, in the order it first appears, with the Trust Ledger rows it crossed, the identifiers the chapter names, the key dates and one source: the advisory, record or original research write-up the chapter relied on. The chapter listed first is the case's narrative home; the others give it a sentence and a pointer. Each chapter's full source list is in Appendix E. Where a chapter names no CVE, this index does not add one.

How to use it

The index

CaseRows crossedIdentifiersKey datesChapterSource
Spectre and MeltdownSI, HV, KNCVE-2017-5753, CVE-2017-5715, CVE-2017-5754Reported 1 Jun 2017; public 3 Jan 2018 (planned 9 Jan); Intel told customers to stop deploying its microcode 22 Jan 2018Threehttps://googleprojectzero.blogspot.com/2018/01/reading-privileged-memory-with-side.html
DownfallSICVE-2022-40982Reported 24 Aug 2022; INTEL-SA-00828 8 Aug 2023Threehttps://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00828.html
ZenbleedSI, FWCVE-2023-20593Reported 15 May 2023; AMD-SB-7008 24 Jul 2023; client firmware to OEMs 21 Nov 2023 to 20 Mar 2024, embedded 15 Apr 2024Threehttps://lock.cmpxchg8b.com/zenbleed.html
GoFetchSI, LRNone named in the chapterDisclosed to Apple 5 Dec 2023; public March 2024Threehttps://gofetch.fail/
Rowhammer and PhoenixSI, FWCVE-2025-6202 (Phoenix)ISCA 2014 paper; Phoenix published September 2025Threehttps://comsec.ethz.ch/research/dram/phoenix/
ThunderspySI, FWNone named in the chapterPublished 2020; no software fix for affected designsThreehttps://thunderspy.io/
Intel Management Engine flawsSI, FWINTEL-SA-00086Advisory 20 Nov 2017; fix through each system makerThreehttps://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00086.html
AMI MegaRAC BMC authentication bypassSI, FW, EXCVE-2024-54085Added to CISA KEV 25 Jun 2025Threehttps://www.cisa.gov/known-exploited-vulnerabilities-catalog
Microsoft 2011 Secure Boot certificate expiryFW, IDNone (certificate expiry)KEK CA 2011 24 Jun 2026; UEFI CA 2011 27 Jun 2026; Windows Production PCA 2011 19 Oct 2026Fourhttps://support.microsoft.com/en-us/topic/windows-secure-boot-certificate-expiration-and-ca-updates-7ff40d33-95dc-4c3c-8725-a9b95457578e
BlackLotusFW, HV, KNCVE-2022-21894, CVE-2023-24932Patch 11 Jan 2022; ESET analysis 1 Mar 2023; KB5025885 from 9 May 2023; enforcement date np as of 30 Sep 2026Four, Ninehttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-24932
LogoFAILFWVU#811862Announced 29 Nov 2023; details and CERT/CC note 6 Dec 2023; fix per OEM firmwareFourhttps://kb.cert.org/vuls/id/811862
PKfailFW, IDVU#455367Binarly report 25 Jul 2024; CERT/CC note 30 Aug 2024Fourhttps://kb.cert.org/vuls/id/455367
BootHoleFWCVE-2020-10713Published 29 Jul 2020; SBAT first shipped in shim 15.3, March 2021Fourhttps://eclypsium.com/blog/theres-a-hole-in-the-boot/
CrowdStrike Channel File 291MU, DR, KN, IDNone (not an exploited vulnerability)Content published 19 Jul 2024 04:09 UTC, reverted 05:27 UTC; PIR 24 Jul 2024; RCA 6 Aug 2024; Delta suit filed 25 Oct 2024Five, Thirteenhttps://www.crowdstrike.com/wp-content/uploads/2024/08/Channel-File-291-Incident-Root-Cause-Analysis-08.06.2024.pdf
StuxnetDR, ID, KN, EXMicrosoft Security Advisory 2286198; four Windows flaws, not itemizedEarliest sample June 2009; reported 17 Jun 2010; certificates revoked 16 and 22 Jul 2010Thirteen, Fivehttps://docs.broadcom.com/doc/security-response-w32-stuxnet-dossier-11-en
Bring your own vulnerable driver (Dell dbutil_2_3.sys)DR, KNCVE-2021-21551Abused autumn 2021; ESET report 30 Sep 2022Fivehttps://www.welivesecurity.com/2022/09/30/amazon-themed-campaigns-lazarus-netherlands-belgium/
Storm-0558IDNone (a key and a validation gap)Access from 15 May 2023; detected 15 and 16 Jun 2023; MSRC 11 Jul 2023; CSRB report dated 20 Mar 2024, released 2 Apr 2024Six, Ninehttps://www.cisa.gov/sites/default/files/2025-03/CSRBReviewOfTheSummer2023MEOIntrusion508.pdf
Uber contractor accountIDNoneSeptember 2022; update revised through 19 Sep 2022Sixhttps://www.uber.com/newsroom/security-update/
MGM ResortsIDNoneSeptember 2023; Form 8-K 5 Oct 2023Sixhttps://www.sec.gov/Archives/edgar/data/789570/000119312523251667/d461062d8k.htm
Okta support systemIDNone28 Sep to 17 Oct 2023; reported 20 Oct; root cause 3 Nov 2023Sixhttps://sec.okta.com/articles/2023/11/unauthorized-access-oktas-support-case-management-system-root-cause
Kaseya VSAMU, EXCVE-2021-30116Reported 6 Apr 2021; SaaS fix 26 Jun; attack 2 Jul; on-premises fix 11 Jul 2021Sevenhttps://csirt.divd.nl/cases/DIVD-2021-00011/
ConnectWise ScreenConnectMUCVE-2024-1709Reported 13 Feb 2024; bulletin 19 Feb; CISA KEV 22 Feb 2024Sevenhttps://www.connectwise.com/company/trust/security-bulletins/connectwise-screenconnect-23.9.8
StrykerMU, IDNone in the public recordIncident 11 Mar 2026; CISA alert 18 Mar; Form 8-K/A 9 Apr 2026Sevenhttps://www.cisa.gov/news-events/alerts/2026/03/18/cisa-urges-endpoint-management-system-hardening-after-cyberattack-against-us-organization
Kaspersky Final DeterminationMUNoneAnnounced 20 Jun 2024; updates barred from 29 Sep 2024Sevenhttps://www.federalregister.gov/documents/2024/06/24/2024-13532/final-determination-case-no-icts-2021-002-kaspersky-lab-inc
SolarWinds SUNBURSTLR, MU, IDNone named in the chapterBuild compromise from Sep 2019; injection from 20 Feb 2020; ED 21-01 13 Dec 2020; Form 8-K 14 Dec 2020Eighthttps://www.sec.gov/Archives/edgar/data/1739942/000162828020017451/swi-20201214.htm
xz-utils backdoorLR, MUCVE-2024-3094First patch to the mailing list 29 Oct 2021; first commit by the account merged 7 Feb 2022; 5.6.0 released 24 Feb 2024; found 29 Mar 2024Eighthttps://www.openwall.com/lists/oss-security/2024/03/29/4
Log4ShellLRCVE-2021-44228Reported 24 Nov 2021; 2.15.0 public 10 Dec 2021; ED 22-02 17 Dec 2021Eighthttps://www.cisa.gov/sites/default/files/2023-02/CSRB-Report-on-Log4j-PublicReport-July-11-2022-508-Compliant.pdf
3CX desktop appLR, MU, IDNone named in the chapterReported 29 Mar 2023; Mandiant findings 20 Apr 2023Eighthttps://cloud.google.com/blog/topics/threat-intelligence/3cx-software-supply-chain-compromise
Shai-Hulud npm wormLR, IDNoneCISA alert 23 Sep 2025Eighthttps://www.cisa.gov/news-events/alerts/2025/09/23/widespread-supply-chain-compromise-impacting-npm-ecosystem
CircleCI secrets rotationID, MUNoneDisclosed 4 Jan 2023; tokens rotated by 7 Jan 2023Ninehttps://circleci.com/blog/january-4-2023-security-alert/
Apple Rapid Security Response 16.5.1 (a) and (c)MU, FRNone named in the chapterShipped 10 Jul 2023; replaced 12 Jul 2023Ninehttps://support.apple.com/en-us/106354
Operation TriangulationFR, LR, KN, SI, HVCVE-2023-41990, CVE-2023-32435, CVE-2023-32434, CVE-2023-38606Fixes 23 Jan, 27 Mar, 21 Jun, 24 Jul 2023; first report 1 Jun 2023; full chain 27 Dec 2023Tenhttps://securelist.com/operation-triangulation-the-last-hardware-mystery/111669/
FORCEDENTRY sandbox escapeFR, SPNone assigned for the escapeCitizen Lab 13 Sep 2021; Project Zero 31 Mar 2022Ten, Thirteenhttps://projectzero.google/2022/03/forcedentry-sandbox-escape.html
TridentFR, KNCVE-2016-4655, CVE-2016-4656, CVE-2016-4657Citizen Lab 24 Aug 2016; iOS 9.3.5 25 Aug 2016Ten, Thirteenhttps://citizenlab.ca/2016/08/million-dollar-dissident-iphone-zero-day-nso-group-uae/
Edge appliances (Citrix, Fortinet, Ivanti, Cisco)EXCVE-2023-4966, CVE-2024-21762, CVE-2023-46805, CVE-2024-21887KEV 18 Oct 2023, 9 Feb 2024, 10 Jan 2024; ED 24-01 19 Jan 2024; ED 25-03 25 Sep 2025Elevenhttps://www.cisa.gov/news-events/directives/ed-24-01-mitigate-ivanti-connect-secure-and-ivanti-policy-secure-vulnerabilities
HeartbleedLRCVE-2014-0160OpenSSL advisory 7 Apr 2014Twelvehttps://www.openssl.org/news/secadv/20140407.txt
NotPetyaMU, KN, IDNone named in the chapter27 Jun 2017; attributed 15 Feb 2018; indictment announced 19 Oct 2020; Merck appeal ruling 1 May 2023Thirteen, Twelvehttps://www.cisa.gov/news-events/alerts/2017/07/01/petya-ransomware
Pegasus record (BLASTPASS; WhatsApp v. NSO)FR, KNNone listed in this bookEntity List 4 Nov 2021; BLASTPASS 7 Sep 2023; liability ruling 20 Dec 2024; verdict 6 May 2025; injunction 17 Oct 2025Thirteenhttps://citizenlab.ca/2023/09/blastpass-nso-group-iphone-zero-click-zero-day-exploit-captured-in-the-wild/
GTG-1002, AI-orchestrated espionageAG, IDNoneDetected mid-September 2025; report 13 Nov 2025Sixteenhttps://assets.anthropic.com/m/ec212e6566a0d47/original/Disrupting-the-first-reported-AI-orchestrated-cyber-espionage-campaign.pdf
Big Sleep and SQLiteLRCVE-2025-6965First find 1 Nov 2024; CVE-2025-6965 announced 15 Jul 2025Sixteenhttps://blog.google/technology/safety-security/cybersecurity-updates-summer-2025/

Appendix G

The Visibility Map

This book tracks five events that change who controls a system (a help-desk reset or a firmware setting change can too): kernel code loads, firmware changes, a token is issued, a management channel pushes a policy, and an agent acts. This map shows which record each platform keeps for each event, and who can read it. Use it to fill column 6 of the Trust Ledger, "Who can see it". Mechanisms are as of November 2026, checked against vendor documentation and kernel sources; full URLs are in Appendix E.

How to read it

Kernel code, firmware and boot (events 1 and 2)

EventWindowsmacOSiOSLinuxAndroid
1 Driver or kernel code loadCodeIntegrity/Operational log: unsigned driver attempts (3001), App Control blocks (3077) and audit-mode would-blocks (3076). Sysmon event 6, "Driver loaded", with hash and signature, once you install Sysmon (optional Sysinternals tool). Security event 4697, "A service was installed in the system", when its audit subcategory is onEndpoint Security ES_EVENT_TYPE_NOTIFY_KEXTLOAD, and AUTH_KEXTLOAD to allow or deny; seen only by an ES client, such as your EDRKernel code comes from Apple alone (Chapter Five). Apple documents Endpoint Security for macOS onlyauditd rule on init_module and finit_module (key module-load in the sample rules); tracepoint module:module_load for eBPF tools. eBPF programs do not pass through init_module: the kernel writes an audit record of type BPF (op=LOAD, op=UNLOAD) from Linux 5.6Kernel and modules come from Google, the chip vendor and the device maker. The security log has no module-load event; it logs app starts (TAG_APP_PROCESS_START)
2 Firmware write or boot measurementIntune compliance through Device Health Attestation: Secure Boot, code integrity and BitLocker state, measured at boot. Measured Boot logs (the TCG log) in C:\Windows\Logs\MeasuredBoot; API Tbsi_Get_TCG_Log; decode with TBSLogGenerator or PCPToolManaged Device Attestation to the MDM (macOS 14, Apple silicon): signed device properties and the Secure Enclave OS versionManaged Device Attestation (iOS 16, A11 chip or later). Fresh attestations limited to one per device every seven daysTPM event log at /sys/kernel/security/tpm0/binary_bios_measurements; IMA list ascii_runtime_measurements if IMA is on; fwupdmgr get-history for updates fwupd appliedSecurity log TAG_OS_STARTUP: Verified Boot state (green, yellow, orange) and dm-verity mode. Key attestation and Play Integrity verdicts go to the app's own server
Firmware and siliconThe TPM holds PCR values; the firmware's event log, in the format of the TCG PC Client Platform Firmware Profile, says what was measured into them. The log is evidence only when a verifier replays it against a signed TPM quote. On Apple devices and Android, the mechanisms above report results (attestation, verdicts, a boot-state field), not a raw boot log. Limits of attestation: Chapter Seventeen.

Sign-ins, pushes and agents (events 3 to 5)

EventWindowsmacOSiOSLinuxAndroid
3 Token issuance or sign-inSecurity log 4624 on the device; Entra ID sign-in logs in the cloudES ES_EVENT_TYPE_NOTIFY_AUTHENTICATION and ..._LOGIN_LOGIN; the identity provider's logThe identity provider's sign-in logauditd USER_AUTH and USER_LOGIN records; records carry auid, the ID the user logged in withSecurity log TAG_KEYGUARD_DISMISSED and TAG_KEYGUARD_DISMISS_AUTH_ATTEMPT; tokens in the identity provider's log
4 Configuration or policy pushIntune audit log: actor, target, changed properties; cannot be disabled. On the device: DeviceManagement-Enterprise-Diagnostics-Provider/AdminMDM command Status (Acknowledged, Error, NotNow) on the MDM server; ES ES_EVENT_TYPE_NOTIFY_PROFILE_ADD on the MacMDM command Status, kept by the MDM serverNo OS management channel: the configuration tool's own log, plus auditd -w watches on the files it changesSecurity log admin events (TAG_USER_RESTRICTION_ADDED, TAG_PASSWORD_COMPLEXITY_SET, TAG_REMOTE_LOCK) with the admin package; EMM console log
5 AI agent or automation actionWhat the agent's account does: Security log, Sysmon process events. Cloud calls: Microsoft Graph activity logs, which include AI clientsES ES_EVENT_TYPE_NOTIFY_EXEC for processes it starts, under the host app; identity and API logsService-side identity and API logs, under the user's identityauditd syscall records, tagged with the auid of the user who started itTAG_APP_PROCESS_START (process, APK hash); network logging of DNS lookups and TCP connections per app
Three cells that change decisions

The agent row has no agent column. None of the operating-system mechanisms above has an event class for "an agent did this". They record an account, a process or an API call. Where the platform gives the agent its own account, as Windows does in its agent workspace (Chapter Sixteen), the logs can tell agent from user. Elsewhere the agent acts as the user, and the record says the user did it. Cloud API logs can name the client app that made a call, as Microsoft Graph activity logs do, and a process record names the binary; but neither says whether a person or the agent inside that app decided. Give each agent its own identity, or in most device logs its actions are indistinguishable from the user's.

The firmware row is mostly a result, not a log. On Windows and Linux you can read the raw measurement log. On Apple devices and Android you receive a result: a signed attestation or verdict, or a boot-state field. Both are useful; they are different evidence, and the Ledger cell should say which one you hold.

The Android row depends on your EMM. Security logging is called by the device owner, or by the profile owner of an organization-owned work profile, which sees less. Network logging needs Android 8 for a device owner and Android 12 for a work profile. When an unaffiliated user or profile exists, device-wide logs pause, and full buffers are discarded.

The identity layer keeps most of the record

Three of the five events leave their best record in the cloud, and that record has a clock. Entra ID keeps sign-in and audit logs for seven days on the free tier and 30 days on P1 and P2. Microsoft Graph activity logs, an audit trail of every Graph API request with app, user, IP address and token details, need P1 or P2 and are kept only if you stream them to Log Analytics, storage or Event Hubs. Microsoft's own rough estimate for a 1,000-user tenant is about 14 GiB of storage a month. The Okta System Log keeps a 90-day sliding window. The Intune audit log can be read through Graph for two years. Microsoft Purview Audit keeps Microsoft 365 records, MailItemsAccessed among them, for 180 days in Audit (Standard) and one year in Audit (Premium); MailItemsAccessed is the log the State Department case turned on.

These numbers are why Chapter Fourteen calls visibility a cost line, and why the State Department case in Chapter Six turned on a log the customer had paid for. Export each log to a store that the console's own administrators cannot delete, as Chapter Seven recommends for every push channel: write-once or append-only storage under a separate administrator, with synchronized clocks on every source, and an alert when an export stops.

How to use it in the Ledger

A mechanism that exists is documented. A record you have seen arrive is observed. Only the second belongs in column 6 as O.

Appendix H

Annotated Contract Clauses

Chapter Fifteen named seven clauses that carry a Trust Ledger decision into a contract. This appendix gives each one as text a buyer can put in a request for proposal, with the case behind it and the Ledger column it fixes. The wording is a starting point for your counsel, not legal advice; adapt the numbers to your own clocks. After the seven come the standard supplier terms Chapter Fifteen puts beside them, and a short table of the related asks that other chapters made.

How to use the clauses

Clause 1. Patch SLA to T1

Text. "For any vulnerability in the Product that the Supplier knows to be exploited, the Supplier will make a fix available for each device class the Customer runs within [N] days of becoming aware of the exploitation, by severity as set out in Schedule [X]. Each quarter the Supplier will report its actual time from awareness to fix availability for its last three critical cases."

Why. Edge appliances and firmware fixes arrive on the slowest clocks in the book (Chapters Four and Eleven), and the first fix for one device class can come weeks before the fix for yours. The report turns a promise into a dated record.

Column fixed. 4, Patch clock (the T0 to T1 part). Rows: FW, DR, LR, EX.

Clause 2. Staged rollout and customer rings for content

Text. "Every update to the Product, including every content, rule or configuration update that changes the behavior of components running with kernel or administrator privilege, will be deployed first to a canary group before general release. The Customer may assign its devices to deployment rings and choose where and when content updates are deployed to each ring."

Why. On 19 July 2024 one content update reached every Windows host running sensor 7.11 or later that was online between 04:09 and 05:27 UTC, with no customer ring in its way (Chapter Five). CrowdStrike's root cause analysis then listed staged deployment of template instances and customer control over where and when Rapid Response Content is deployed. Content is not code, but it can change privileged behavior as much as a release can.

Columns fixed. 3, Exposure and blast radius (one push no longer reaches every device), and 5, Stop, revoke, recover. Rows: DR, MU.

Clause 3. Pause and kill switch

Text. "The Supplier will provide a documented means for the Customer to pause each update and content channel to the Customer's devices within one hour, and will maintain the ability to stop a faulty release globally. Both will be tested jointly at least once a year, and the Supplier will record the measured time from the decision to stop until no further device received the release."

Why. A stop that has never been drilled is not a stop (Chapter Nine). The vendor's global stop protects new devices; only the customer's pause protects the customer from a release the vendor still thinks is good.

Column fixed. 5, Stop, revoke, recover (the stop, and the date of the last drill). Rows: MU, DR, AG.

Clause 4. Recovery support

Text. "If a Supplier release or content update leaves Customer devices unable to start or unreachable by the Supplier's console, the Supplier will provide recovery tools, technical staff and a recovery procedure that works without the Product's console and without network access to the device, and will commit to the recovery target stated in Schedule [X]. The Supplier will name a recovery contact available at all hours."

Why. Recovery from a boot loop was often hands on keyboard, device by device, with a BitLocker recovery key for each (Chapters Five and Nine). The vendor's revert stopped new failures in 78 minutes; the recovery clock ran for days.

Column fixed. 5, Stop, revoke, recover (the restore step and the time to R90). Rows: KN, DR, FW.

Clause 5. Support end date

Text. "The Supplier will state in this Agreement the date until which it will provide security fixes for the Product, for its firmware and for every component it bundles, and will give the Customer notice of any change to those dates no less than [one replacement cycle, in months] in advance."

Why. A support end that is not written down is found during an incident (Chapter Eleven). For products placed on the EU market, the Cyber Resilience Act sets a support period of at least five years unless the product is expected to be in use for less (Article 13(8)), so many vendors will have to state this date anyway.

Column fixed. 7, Support end. Rows: all.

Clause 6. Firmware support

Text. "For each hardware model supplied, the Supplier will state who builds, signs and ships firmware fixes, the channel through which they are delivered (such as Windows Update, the Linux Vendor Firmware Service or the Supplier's own tool), and the period after the model's last sale during which firmware fixes will be provided, including updates to Secure Boot certificates and keys."

Why. Fixes for firmware flaws come from the firmware supply chain, not from a revocation list (Chapter Four): LogoFAIL was fixed only by each maker's new firmware, and some makers updated the 2023 Secure Boot certificates only on platforms still in service.

Columns fixed. 2, Who can change it (the named builder, signer and channel), and 7, Support end. Rows: SI, FW.

Clause 7. Notification clocks

Text. "The Supplier will notify the Customer within [N] hours of becoming aware of an exploited vulnerability in the Product or of a breach of the Supplier's own systems that could affect the Customer, and will provide the logs and artifacts the Customer needs to investigate, retained for at least [period]."

Why. The Customer's own regulator clocks start from the Customer's awareness (Chapter Fourteen), so a late notice from a supplier spends the Customer's hours. CISA's Secure by Design Pledge (May 2024) asks vendors to give customers evidence of intrusions; under the CRA, a manufacturer selling in the EU must send an early warning of an actively exploited vulnerability to its national CSIRT and ENISA within 24 hours from 11 September 2026 (Article 14(2)), and must inform the users affected, with any mitigations or corrective measures (Article 14(8)). Article 14(8) is the model for this clause's duty to the customer; Article 14(2) is the model for its clock.

Column fixed. 6, Who can see it, and the header's regulator clocks. Rows: ID, MU, LR.

The seven clauses on one page

ClauseLedger column it fixesRowsCase behind it
1 Patch SLA to T14 Patch clockFW, DR, LR, EXEdge appliances, firmware (Chapters Four, Eleven)
2 Staged rollout and customer rings3 Exposure and blast radius; 5 Stop, revoke, recoverDR, MUChannel File 291 (Chapter Five)
3 Pause and kill switch5 Stop, revoke, recoverMU, DR, AGUntested brakes (Chapter Nine)
4 Recovery support5 Stop, revoke, recoverKN, DR, FWBoot loops recovered by hand (Chapters Five, Nine)
5 Support end date7 Support endAllThe long tail; CRA Article 13(8) (Chapter Eleven)
6 Firmware support2 Who can change it; 7 Support endSI, FWLogoFAIL, the 2026 certificates (Chapter Four)
7 Notification clocks6 Who can see it; header regulator clocksID, MU, LRRegulator clocks (Chapter Fourteen); CRA Article 14(2) and 14(8)

Standard supplier terms beside the seven

The seven clauses carry the Ledger decision; they are not the whole contract. Chapter Fifteen lists the standard terms that belong beside them, and the book's cases add three of their own. For Halbrook's Irish subsidiary the first group is not optional: DORA Article 30 requires terms such as audit and access rights and exit strategies in contracts for ICT services that support critical or important functions. Contracts vary by jurisdiction; this is not legal advice.

TermWhat to ask forWhy (chapter)Column
Software bill of materialsAn SBOM with each release, and an exploitability statement (VEX) where a listed flaw does not affect the productA bundled library is a row you cannot see without it (Chapter Eight)1 Component; 4 Patch clock
Audit rightsAudit and access rights, or independent assurance reports, covering the build, signing and update systemsThe build and the push channel are authorities (Chapters Seven, Eight); DORA Article 302 Who can change it; 6 Who can see it
Sub-processorsNotice of sub-processors and subcontractors that run or reach the service, and of changes to themAn outside console or support system can be the way in (Chapters Six, Seven)2 Who can change it; EX row
Liability and indemnityLiability caps with carve-outs for the failures this book records, and indemnityWho pays when a push fails is decided before it fails (Chapters Twelve, Thirteen)Optional "who pays on failure"
Exit and termination assistanceData export, a transition period and help moving to a replacement, at a stated priceA supplier can fail, be sold or be barred by a dated order (Chapters Seven, Fifteen); DORA Article 307 Support end; 8 Decision and owner
Signing-key custodyWhere release and update signing keys are held (for example in an HSM), who can approve a signature, and how a compromised key is revokedStolen keys and compromised builds produced signed malware in Stuxnet, SolarWinds and 3CX (Chapters Eight, Thirteen)2 Who can change it; 5 Stop, revoke, recover
Security logs in the base priceThe sign-in, admin and data-access logs column 6 needs, included without a premium tier, exportable through an API, kept for a stated periodThe State Department saw Storm-0558 only because its license tier included the log (Chapter Six)6 Who can see it
Pre-release ringAccess to each release, content update included, in a test tenant or early ring before general releaseCustomer rings are the stop a customer owns (Chapters Five, Nine)5 Stop, revoke, recover

Related asks from other chapters

AskWhy (chapter)Column
Host-patch notice and maintenance windows for a rented virtual-desktop hostThe provider patches the silicon under your sessions on its own clock (Chapter Three)4 Patch clock; 6 Who can see it
The console's administrator list and login logs from each managed service provider and SaaS console vendorWhoever controls the console controls the fleet (Chapter Seven)2 Who can change it; 6 Who can see it
Which components still run in kernel mode, how content is staged by default, and how to pause it, in writingThe move of Windows sensors to user mode runs on vendor dates (Chapter Five)2 Who can change it; 5 Stop, revoke, recover
Build provenance and the build platformSigned is not safe: the build is an authority (Chapter Eight)2 Who can change it
A dated post-quantum roadmap for signing and connection keysFirmware and appliance signatures lag by a hardware generation (Chapter Seventeen)7 Support end; 8 Decision and owner
For an AI agent: the model is rented, but the identity, the tool list and the approval for irreversible actions stay with youAn agent is an authority with its own row (Chapter Sixteen)2 Who can change it; 5 Stop, revoke, recover

Method reference: NIST SP 800-161 Revision 1 (May 2022, updated November 2024) is the practice of cybersecurity supply chain risk management behind these clauses; the Trust Ledger is the one-page view that points to it (Chapter Fifteen).

Appendix E

Reading List and Sources

Part 1 is a short shelf of primary sources behind the whole book: standards, vendor security guides, incident reports, court and government records and original papers. Part 2 lists the sources each chapter relied on, taken from the source notes kept with every chapter, so a reader can check any claim at its origin. Sources were checked in November 2026; web pages change, so check the date on anything you rely on.

Part 1: Primary sources for the whole book

SourceWhy read itWhere
W. H. Ware (ed.), "Security Controls for Computer Systems", Defense Science Board Task Force report, RAND R-609-1 (1970, reissued 1979)The first official study of shared computers and who controls them.https://www.rand.org/pubs/reports/R609-1.html
J. P. Anderson, "Computer Security Technology Planning Study", US Air Force ESD-TR-73-51 (October 1972)Where the reference monitor idea comes from.https://csrc.nist.gov/files/pubs/conference/1998/10/08/proceedings-of-the-21st-nissc-1998/final/docs/early-cs-papers/ande72a.pdf
J. H. Saltzer and M. D. Schroeder, "The Protection of Information in Computer Systems", Proceedings of the IEEE (1975)The design principles, such as least privilege, that every chapter tests.https://www.cs.virginia.edu/~evans/cs551/saltzer/
K. Thompson, "Reflections on Trusting Trust", Communications of the ACM (August 1984)Why you cannot fully trust code you did not build yourself.https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_ReflectionsonTrustingTrust.pdf
NIST SP 800-193, Platform Firmware Resiliency Guidelines (May 2018)Protect, detect and recover for the firmware under the OS.https://csrc.nist.gov/pubs/sp/800/193/final
UEFI Forum, UEFI Specification 2.10, Secure Boot and Driver SigningHow Secure Boot keys and signature databases work.https://uefi.org/specs/UEFI/2.10/32_Secure_Boot_and_Driver_Signing.html
Microsoft Support, Windows Secure Boot certificate expiration and CA updatesThe 2011 Secure Boot certificates that expire in 2026, and the move to new ones.https://support.microsoft.com/en-us/topic/windows-secure-boot-certificate-expiration-and-ca-updates-7ff40d33-95dc-4c3c-8725-a9b95457578e
Microsoft, KB5025885, Boot Manager revocations for CVE-2023-24932 (BlackLotus, May 2023)How a boot loader is revoked and why it takes years.https://support.microsoft.com/kb/5025885
Apple, Apple Platform Security guideApple's own account of the Secure Enclave, boot chain and OS integrity.https://support.apple.com/guide/security/welcome/web
Android Open Source Project, Verified BootHow Android checks each stage of boot and shows the device state.https://source.android.com/docs/security/features/verifiedboot
NIST SP 800-40 Rev. 4, Guide to Enterprise Patch Management Planning (April 2022)Patching as routine maintenance, the basis of the patch clock.https://csrc.nist.gov/pubs/sp/800/40/r4/final
CISA, Known Exploited Vulnerabilities CatalogWhich flaws are exploited in the wild, with federal fix deadlines.https://www.cisa.gov/known-exploited-vulnerabilities-catalog
CrowdStrike, Channel File 291 Incident Root Cause Analysis (6 August 2024)The vendor's own account of the 19 July 2024 outage.https://www.crowdstrike.com/wp-content/uploads/2024/08/Channel-File-291-Incident-Root-Cause-Analysis-08.06.2024.pdf
Cyber Safety Review Board, Review of the Summer 2023 Microsoft Exchange Online Intrusion (March 2024)How a stolen signing key opened cloud mail (Storm-0558).https://www.cisa.gov/sites/default/files/2025-03/CSRBReviewOfTheSummer2023MEOIntrusion508.pdf
Cyber Safety Review Board, Review of the December 2021 Log4j Event (July 2022)Why one open source library became a long tail of risk.https://www.cisa.gov/sites/default/files/2023-02/CSRB-Report-on-Log4j-PublicReport-July-11-2022-508-Compliant.pdf
CISA, Emergency Directive 21-01, SolarWinds Orion Code Compromise (December 2020)The government order that followed a signed, poisoned update.https://www.cisa.gov/news-events/directives/ed-21-01-mitigate-solarwinds-orion-code-compromise
A. Freund, "backdoor in upstream xz/liblzma leading to ssh server compromise", oss-security list (29 March 2024)The first report of the xz-utils backdoor.https://www.openwall.com/lists/oss-security/2024/03/29/4
IETF, RFC 9334, Remote ATtestation procedureS (RATS) Architecture (January 2023)How a device proves its state to someone else.https://www.rfc-editor.org/rfc/rfc9334.html
NIST, FIPS 203, 204 and 205 approved (August 2024)The first post-quantum standards for key exchange and signatures.https://csrc.nist.gov/news/2024/postquantum-cryptography-fips-approved
Regulation (EU) 2024/2847, Cyber Resilience Act (October 2024)The EU law that makes makers patch and report for a support period.https://eur-lex.europa.eu/eli/reg/2024/2847/oj/eng

Part 2: Sources by chapter

Reader's Brief

Prologue: One Power Button, One Approval

Chapter 1. Who Controls It: Authorities, Clocks and the Trust Ledger

Chapter 2. Five Platforms, Five Trust Models

Chapter 3. Silicon and the Computers Inside the Computer

Chapter 4. Firmware and Boot: Keys with End Dates

Chapter 5. Privileged Code: Kernels, Hypervisors, Drivers and the Morning of 19 July 2024

Chapter 6. Identity and Keys: Who Can Sign, Who Can Log In

Chapter 7. The Management Plane: Everyone Who Can Push

Chapter 8. The Software Supply Chain: Signed Is Not Safe

Chapter 9. When Trust Must Be Withdrawn: Stop, Revoke, Roll Back, Recover

Chapter 10. Zero-Click: From the Screen to the Silicon

Chapter 11. The Long Tail: End of Support, Edge Appliances and Security Debt

Chapter 12. Who Pays for Security: The Market

Chapter 13. The Record: Spyware, Sabotage and the Outage

Chapter 14. The Cost of Trust: Control, Concentration and a Day Down

Chapter 15. Own, Rent, Pin, Isolate: The Decision and the Contract

Chapter 16. AI on Both Sides of the Stack

Chapter 17. The Next Trust Migration: Memory Safety, Attestation and Post-Quantum Keys

Epilogue: The Last Authority Is You

Appendix C. The Five-OS Trust Reference Table

Appendix D. Measuring the Patch and Recovery Clocks

Appendix G. The Visibility Map

Appendix H. Annotated Contract Clauses

The Series

Every Pixel Matters

One book for the whole stack, then one book for each layer that decides what your customers see. The companion series, GDCD in Code, covers how to govern the layers you choose to own.

Book 1From Bit to Pixel: the whole stack, history, own or rent
Book 2From Code to Glass: the rendering layer, from code to glass (this book)
Book 3From Silicon to Screen: security from the chip to the screen
Book 4Data in Motion: storage, networking, distributed systems
Book 5The Owned Stack: toolchain, IDE, building an owned system
Book 6The Pixel Runtime: building our own runtime (planned)
Juan Cardena
Enterprise AI & Agentic Systems Architect · blog.jcardena.com

Download the latest edition at blog.jcardena.com/en/ebooks/from-silicon-to-screen.

Every Pixel Matters · Book 3 · From silicon to screen.