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)..
The picture
Section titled “The picture”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.
What approving commits to
Section titled “What approving commits to”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:
- It amends the I49I49 (closed): S10-tech-stack: installation, restore image download, upgrades and migrationsS10-tech-stack "Packaging and signing" gives the shape of the macOS app bundle. decision, “Only
wb-downloadfetches” (S17-03-downloadsS17-03-downloads: DownloadsHow wb-download fetches what an image build needs from the internet.). Apple’s installation service asks Apple’s signing server for a ticket on every install, over the host’s network. Wraith Box neither audits nor bounds that traffic (S04-08-records-and-boundsS04-08-records-and-bounds: Records, Versions and BoundsThe records daemons send wb-hostd, the build version rules between processes, the bounds on host work a guest can cause, and logs., S12-01-platform-interfacesS12-01-platform-interfaces: Platform InterfacesHow platform-specific code is isolated behind interfaces, and what each host OS uses for each.). NoSEC*control is weakened:wb-vmd-installitself still has no network, so SEC12-least-privilegeSEC12-least-privilege: Least privilege on the hostNo root or administrator rights at run time and no extra host user accounts. holds. - 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., “The trust base”, names the two checks, as measured for the kernel cache and one byte of the system volume. It marks a failed install when the server can’t be reached as assumed, not tested. It says an older build that the server still signs passes, with the follow-up I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust)..
- S04-10-vmd-installS04-10-vmd-install: Installing macOS in `wb-vmd`The wb-vmd-install entry of an image build: its install rules, the restore image it reads, the build bundle it installs into, and its Install call., “
wb-vmd-install”, says the installation service rule reaches a service that calls Apple.
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.
Evidence
Section titled “Evidence”- verified Apple’s 27.2 (26B123) image installed under the
wb-vmd-installprofile in 446 s, and the same image with every entry stored again installed in 143 s (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…, “Answer”, andresults/README.md). - verified One changed byte in the kernel cache was declined by the signing server after 9.4 s (server error 94, MobileRestore 3194). The digest the installer sent was the changed file’s, not the manifest’s (
c02-kernel-flip.summary.txt). - verified Rewriting the manifest’s kernel digests to match didn’t help (c06), and neither did a kernel cache Apple signed for a physical Mac of the same build (c04) (
c06-kernel-flip-manifest.summary.txt,c04-kernel-swap.summary.txt). - verified One changed byte in the middle of the system volume image failed the install at 48 %, after 219 s, with “failed to restore APFS image” (
c03-os-flip.summary.txt,quoted-lines.txt). - verified Apple’s installation service made five signing server requests in the unchanged install, over the host’s network, while the profile denied the calling process a TCP connection (
quoted-lines.txt,c00-original.summary.txt). - inferred The restore OS refuses the system volume because the archive’s authentication fails. The guest’s own log isn’t on the host.
- assumed An install fails when the signing server can’t be reached. The spike didn’t cut the host’s network. The log shows the installer retries on “server not reachable”.
- assumed Which older builds the server still signs for a VM. Not measured, I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust)..
What this unblocks
Section titled “What this unblocks”- The image build of V1-M7-image-buildV1-M7-image-build: Image buildwb image build downloads the restore image and the Command Line Tools, installs and provisions a VM over the build network, installs the minimal base layer, and installs Claude Code in its own top layer.: the trust base of 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. is measured.
- I618I618 (closed): X33-restore-downgrade: Restore image downgrade by a compromised wb-downloadFollow-up from #262 (X30-installer-trust).: the downgrade gap, filed from this result.
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.