Skip to content

Does the macOS installer refuse a changed restore image?

Answered 2026-11-08. Source: I262I262 (closed): X30-installer-trust: Installer refusal of a changed restore imageS17-install-and-upgrade (#49) checks a downloaded macOS restore image against the SHA-1 that Apple's catalog (mesu.apple.com) lists, the only hash it lists., X30-installer-trustX30-installer-trust: Installer refusal of a changed restore imageDoes the Virtualization framework's macOS installer, run by wb-vmd-install, refuse a restore image that Apple didn't sign, or one with a changed or replaced component, and does the install contact Apple while wb-vmd-i…. Affects S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release. and S04-04-vm-processesS04-04-vm-processes: Per-VM ProcessesOne wb-vmd for each VM, the wb-vmd-layer entry of the Claude Code layer build, the wb-vmd-recipe entry of a named image's recipe, and wb-diskfmt, which formats a VM's new data disk.. Follow-up: I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust)..

wb-downloadimage and entrywb-hostdSHA-1 of the entryprofile: no networkwb-vmd-installinstallationApple’s servicehashes boot filessigning serverApple, internetdigests, chip IDVMrestore OSchecks system volumechanged kernel: declined by the serverchanged system volume: stopped in the VMolder build Apple still signs: passes

Figure 1. Where a changed restore image is refused. wb-hostd’s SHA-1 only ties the file to the entry that wb-download reported (S17-04-restore-and-releaseS17-04-restore-and-release: Restore Image and ReleaseThe steps by which wb-download and wb-hostd fetch and check a macOS restore image and a Claude Code release.). Apple’s installation service, which wb-vmd-install’s profile doesn’t confine, asks Apple’s signing server for a ticket over the host’s network. The restore OS in the VM checks the system volume.

No options to choose from: the installer is Apple’s, and the spike measured what it does. Approving accepts the answer and these spec changes:

SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts. kept: wb-vmd-install’s profile is unchanged, and the spike’s probe confirmed it had no network. The network use belongs to Apple’s service. SEC08-proj-isolationSEC08-proj-isolation: Per-project isolationEach project has its own guest user, state and history, and one project cannot persist into another. kept with a condition: a changed image doesn’t install. The guest OS is Apple’s, but it can be an older Apple build (I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust).).

Confidence is high for the refusals, measured once each. A finding that an install goes on without the signing server would change it.

Details and glossary

How the spike changed an image. A restore image is a zip archive. The spike wrote a copy with every entry stored uncompressed in the original order, and changed only the entries the case names. A copy with no change (c01) installed, so the zip rewrite isn’t what made the other cases fail.

Why the manifest doesn’t matter. The image’s BuildManifest.plist lists a digest for each component, but nothing signs it. The installer doesn’t trust it: it hashes the files itself and sends those digests to Apple. In the spike, the server declined every digest that wasn’t the original file’s, an Apple-signed kernel cache of another device among them. Apple documents that the boot chain then checks each component against the ticket (Apple Platform Security, on the boot process of a Mac). The spike didn’t test that part, because no changed image got that far.

Glossary

  • Restore image (IPSW): Apple’s archive that macOS installs from.
  • Signing server (TSS): Apple’s service that personalizes an install: it signs a ticket that lists the component digests for one device, here the VM.
  • Chip identity (ECID): the device identifier the ticket is bound to.
  • Restore OS: the small macOS that runs inside the VM during the install and writes the system volume.