Security
Secure by design, from the factory to the field
XorOS protects devices that stand in public places: against changes at run time, against tampering through the screen, the keyboard or the drive, and against anyone who would like to pass for one of them.
At a glance
Four protections on every device
- System
Read-only system
A compressed image that cannot be changed at run time. Updates replace it as a whole and are verified.
- Onboarding
Encrypted setup
A Noise protocol handshake keyed by the one-time secret in the QR code, with no unencrypted fallback.
- Connection
Mutual TLS
Device and backend authenticate each other with certificates on every connection.
- Apps
Locked-down containers
A fixed policy that no app can change: no privileges, no hardware, no network of the host.
Practices
How XorOS keeps devices safe
The system
The operating system never changes while it runs, and production images are locked down.
- Verified updates
- Every update is checked with SHA-256 checksums, and can be signed with ECDSA so a device accepts only the publisher’s builds.
- Separated data
- Configuration, app data and the device identity live on separate partitions with their own rules.
- Locked-down images
- On production images the administrator account is locked, the kiosk cannot be left, and remote login accepts keys only.
The boot process
Nobody at the device can change how it starts without the administrator password.
- Protected boot menu
- Without the password, entries can be started but not edited, and there is no boot command line.
- No interruption
- On Raspberry Pi, the boot loader prompt cannot be reached from the keyboard.
- Automatic fallback
- A system that does not start is not retried forever. The device returns to the working slot or the rescue system.
Apps
Apps run in containers under a fixed policy that an app cannot change.
- No privileges
- No added capabilities, privilege escalation disabled, and no access to devices or the container runtime.
- Isolated
- No access to the host’s network, processes or inter-process communication, and a read-only root file system.
- Contained
- The app’s port is open to the device itself only, with memory and CPU limits and capped logs.
Identity and communication
Each device has its own keys, and the backend decides when a device is enrolled.
- Keys never leave the device
- The operational key is created on the device. The backend sees only the certificate request, and the phone never handles a private key.
- Certificates renewed
- Certificates are valid for 90 days and renewed automatically, well before they expire.
- Signed trust
- The servers and signing keys a device trusts are versioned, and changes to them must be signed. Secrets never appear in logs.
At rest
Protected even with the drive out
- Secure Boot
- The device only starts software that is signed, so it cannot be started from another medium.
- Disk encryption
- Data on the drive cannot be read when the drive is removed.
- Hardware key storage
- Device keys are kept in a TPM or secure element, so they cannot be copied off the drive.
- Alerts on factory keys
- The backend raises an alert whenever a factory key is used to enroll or to renew a certificate.
Questions from your security team?
The documentation describes every protection in detail. For anything else, write to us.