Skip to content

S12-04 - Guest Operating Systems

Purpose: What differs per guest operating system.

What differs per guest OS is confined to wb-guestd and to image building:

Concern macOS guest Linux guest Windows guest
Image source Apple restore image Ubuntu LTS cloud or server image user-supplied Windows 11 installation media
Unattended install Wraith Box installer flow automated install with a seed unattended answer file
wb-guestd runs as root LaunchDaemon root systemd unit SYSTEM service
Per-project users (internal/platform/guestusers) local accounts, through dscl local accounts local accounts
PTY Unix PTY Unix PTY ConPTY
Toolchain manifest (FR07-toolchain-manifestFR07-toolchain-manifest: Declared toolchainA project's toolchain is declared host-side (on macOS guests, a Brewfile) and reconciled automatically before a session starts.) Brewfile package list (apt) package list (winget)
CA trust (S09-policy-credentials-auditS09-policy-credentials-audit: Policy, Credentials, Certificates and AuditWhere policy comes from, how secrets are held, how TLS inspection is trusted, and what is recorded.) trust files + toolchain variables. Not the system keychain, which refuses the CA without a user (X04-tls-inspectionX04-tls-inspection: Inspection compatibilityGo-based, Swift-based, and Xcode clients accept a CA that only the guest trusts., I185I185 (closed): Decide how wb-guestd makes a macOS guest trust the per-VM CAX04-tls-inspection (#18) found that a root daemon in a macOS 27 guest can't make the system trust a CA without a user to confirm:) system trust store + toolchain variables machine certificate store + toolchain variables
Guest confinement (S13-guest-confinementS13-guest-confinement: Guest ConfinementControls inside the guest that narrow what a project user's processes can do, and tell the host which program opened each connection.) Seatbelt profiles; Network Extension flow labels (X14-flow-attributionX14-flow-attribution: Guest flow attributionA Network Extension transparent proxy in a macOS guest (S13-guest-confinement): can it be approved during the image build without MDM?); Endpoint Security (X15-endpoint-securityX15-endpoint-security: Endpoint Security entitlementRequest the Endpoint Security entitlement from Apple.) Landlock and seccomp, as in OpenShell’s sandbox runtime (X16-openshell-linuxX16-openshell-linux: OpenShell for Linux guestsCould OpenShell's VM driver (libkrun, guest without a network device, egress over vsock) run Linux guests for Wraith Box on macOS and Linux hosts instead of a VMM chosen in X10-linux-hypervisor?) not designed in V1V1-initial: Initial versionThe first version: what it delivers, what it leaves out, and the milestones that get there.

Windows 11 requires a TPM 2.0 and Secure Boot. A host that can’t provide a virtual TPM to the guest can’t run Windows guests (spikes X11-windows-hostX11-windows-host: Windows host through HCSOn Windows 11 Home with only the Virtual Machine Platform feature: can a standard user create, start, save, and restore a VM through HCS?, X13-windows-guestsX13-windows-guests: Windows guests on a macOS hostCan the Virtualization framework boot Windows 11 for Arm in a supported way, including TPM and Secure Boot requirements and usable display and network drivers?).

Status: Draft