Hardware Trust in Modern Computing
Security researcher and Qubes founder, Joanna Rutkowska, has noted that modern computing and networking security relies upon a critical foundation - trusted hardware and firmware domains. Even high-security operating systems have an security upper bound, since that is defined by the trustworthiness of hardware components that are ideally placed to compromise the entire system if bugs or backdoors are present: 
... for years we have been, similarly, assuming the underlying hardware, together with all the firmware that runs on it, such as the BIOS/UEFI and the SMM, GPU/NIC/SATA/HDD/EC firmware, etc., is all. . . trusted.
But isn’t that a rational assumption, after all?
Well, not quite: today we know it is rather unwise to assume all hardware and firmware is trusted. Various research from the last ten years, as discussed below, has provided enough evidence for that, in the author’s opinion. We should thus revisit this assumption. And given what’s at stake, the sooner we do this, the better.
Rutkowska has concluded the following hardware components and mechanisms are all vulnerable to exploitation and often flawed in their implementation, making them easy to "backdoor": 
- x86 boot security (BIOS implementation).
- Vt-d (CPU-enforced sandboxing of networking).
- Graphics cards (GPUs) and sub-systems.
- USB controllers.
- Disk controllers (SATA etc.).
- Embedded controllers (for keyboard operation, battery charging etc.).
- Audio cards.
- Peripheral devices.
- Intel Management Engine (ME) and AMD Security Processor (embedded microcontrollers).
- Built-in speakers, microphones and cameras.
This is particularly true for privileged, out-of-band hardware components like Intel ME's AMT which can read or write any of the host computer's memory, without any constraints - the perfect, undetectable rootkiting infrastructure.  In short, it appears that modern computing architectures are impossible to secure properly, especially since popular, proprietary hardware options (Intel and AMD) dominate the market. 
Open-source Hardware Alternatives
People who are motivated to avoid proprietary hardware solutions are in a bind. There are few options available that are truly "free" (as in freedom), affordable and which provide suitable processing power to run "secure" operating systems like Qubes-Whonix ™, because specific hardware requirements like VT-d and VT-x are necessary for compatibility with future software releases.
Open-source hardware is also not perfectly secure since it is not "stateless". Meeting this standard requires there be no persistent storage at all.  Further, "free" hardware does not really exist, since by definition it requires that hardware is free at all levels, including: licensing, the chip and circuit board designs, the field-programmable gate array, source code, relevant repositories and so on. Also, proprietary "soft cores" which are often incorporated in various hardware circuits need to be purged to meet the necessary criteria.  
ARM architecture dominates smartphone and tablet markets, providing a good level of performance. However, an open-source "ARM processor" is non-existent, because only the specifications and other intellectual property (IP) are released to manufacturers under specific licenses. This leads to NVIDIA, Samsung and others combining the ARM IP with their own, leading to the actual, customized processors called System-on-Chips (SoCs).  ARM SoCs also often have a TrustZone extension, with implementation providing similar functionality to Intel's ME. There is nothing special in ARM architecture that prevents the possible introduction of backdoors.
Unfortunately, a fully open-source, Linux-capable based processor (SoC) [archive] is not yet available, with the design still being finalized. While this project will eventually allow a 64-bit RISC-V instruction set architecture (ISA) and the development of low-cost boards, the wait may be lengthy (many years) and it is not clear such processors will perform well enough for typical desktop workflows like watching movies, running browsers, using office suites and so on. It is also unknown whether this design will allow for security technologies like IOMMU and memory virtualization.  
Another initiative related to this topic is the OpenPOWER Foundation [archive], which was established in 2013. The foundation has a number of influential partners, including IBM, Google, NVIDIA, Samsung Electronics and Canonical. Critically, IBM is "...opening up technology surrounding their Power Architecture offerings, such as processor specifications, firmware and software with a liberal license, and will be using a collaborative development model with their partners."   The initiative will also include opensource software, firmware, the KVM hypervisor and a little endian Linux operating system.  OpenPOWER code can be found on GitHub [archive].
Final Hardware Purchase
The Free Software Foundation (FSF) makes a number of relevant recommendations: 
- Find devices which support fully free distributions of GNU/Linux.
- Purchase hardware:
- Check the FSF criteria [archive] for hardware certification requirements.
- If looking for a single-board computer (SBC), check the list [archive] of available (flawed) hardware. 
- Check the list of motherboards [archive] that are compatible with coreboot. 
A list of suppliers selling or providing Libreboot [archive] pre-installed on laptops, desktops, servers and motherboards can be found here [archive]. Readers interested in purchasing hardware with Coreboot pre-installed can start their search here [archive].
Based on the preceding information and links, those seeking an open-source solution need to make a compromise. Since an open source LowRISC processor based on the RISC-V ISA -- which can support a fully-fledged operating system -- does not yet exist,  the closest thing available is single-board computers (SBCs) [archive], which are delivered as one circuit board that are powerful enough to run a real operating system. These systems generally contain a SoC with an ARM processor, with options like Novena [archive] and PandaBoardES [archive] falling into this category. However, they still have a number of closed-source binary blobs and the FSF also notes "severe flaws" in these products due to proprietary design concerns.
Purism [archive] also seek to remove as many proprietary blobs as possible, for example by using coreboot in place of the standard BIOS implementation. Unfortunately, this solution is expensive and still relies on an Intel processor. Despite the claims that ME is "neutralized", the ME still poses potential security threats to the user as highlighted in Rutkowska's research.
The following options may be suitable, depending on user requirements:
- Low-end computers: Check this list [archive] from the FSF, as they are certified "RYF" (Respects Your Freedom hardware product certification).
- High-end computers: Options like VKGS-WORK-D16 [archive] are compatible with Coreboot/Libreboot BIOS and are capable of booting Qubes OS. It also has no proprietary software or firmware blobs.
- Worthy mention: Raptor Computing Systems [archive] have built their processors based on IBM OpenPOWER technology.
- It is unclear if OpenPOWER is merely source available or whether foundation members can freely modify and release processors based on remixes of the ISA.
- Available user guides  appear to at least partially meet opensource hardware principles [archive]. 
- Unfortunately it is not compatible with Qubes OS, but it will run Linux. It is possible to run the Whonix ™ KVM version as it is documented in the Raptor Computing Systems Wiki [archive], but this is unsupported by Whonix ™ developers. For further information, see footnotes.  
In the coming years when open-source processors and hardware designs further mature and the necessary functionality is provided for virtualization, reasonable and fairly-priced alternatives to proprietary architectures will start to emerge.
Open-source hardware [archive] is not affected by the non-free firmware updates issue described in the previous chapter. Such hardware might be more trustworthy, but open-source firmware can be just as insecure as a proprietary one. Fortunately, open source firmware increases the chances of actually making it secure, with options like coreboot appearing to be a promising solution. 
- https://blog.invisiblethings.org/papers/2015/x86_harmful.pdf [archive]
- AMD-based x86 platforms have analogous hardware mechanisms to Intel, so they are not theoretically safer.
- https://www.wired.com/2015/03/richard-stallman-how-to-make-hardware-designs-free/ [archive]
- https://www.wired.com/2015/03/need-free-digital-hardware-designs/ [archive]
- https://www.lowrisc.org/about/ [archive]
- https://en.wikipedia.org/wiki/OpenPOWER_Foundation [archive]
- Primarily the Power8 chip technology, but previous designs will also be available for licensing.
- Firmware to boot Linux was released in 2014.
- https://www.fsf.org/resources/hw [archive]
- None of these options are completely free in their design.
- Some motherboards still require proprietary CPU microcode.
- The LowRISC FAQ [archive] notes the rough processor speed that is expected:
The clock rate achieved will depend on the technology node and particular process selected. As a rough guide we would expect ~0.5-1GHz at 40nm and ~1.0-1.5GHz at 28nm.
- For example, see the T2P9D01 Mainboard document [archive].
- This requires:
... that information about the hardware is easily discerned so that others can make it – coupling it closely to the maker movement. Hardware design (i.e. mechanical drawings, schematics, bills of material, PCB layout data, HDL source code and integrated circuit layout data), in addition to the software that drives the hardware, are all released under free/libre terms.
- https://www.fsf.org/blogs/licensing/support-the-talos-ii-a-candidate-for-respects-your-freedom-certification-by-pre-ordering-by-september-15 [archive]
- https://twitter.com/Whonix/status/1190634591045865472 [archive]
This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.
Copyright (C) 2012 - 2021 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee [archive] of the Open Invention Network [archive]. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)
The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.