Why use Qubes over other Virtualizers?
From Whonix
< Qubes
Why use Qubes over other Virtualizers?[edit]
The Qubes project is focused on developing the Qubes OS desktop operating system, which is based upon the principle of "Security by Isolation". It is not a general purpose operating system where the ability to install a virtualizer is just another feature. Rather, it runs a bare-metal virtualizer (Xen) and isolates hardware controllers and multiple user domains (qubes) in separate VMs that are explicitly assigned different levels of trust.
Security[edit]
Advanced Separation / Least Privilege[edit]
- The Xen hypervisor and administrative domain (
dom0
) in Qubes OS actively discourages any activity other than running VMs. - The network stack and WiFi drivers are running in a dedicated, unprivileged network qube (NetVM), which substantially reduces the attack surface.
- Future separation of the GUI (graphical) domain [archive] from
dom0
is partially implemented in Qubes4.1
.
Hardware and Protocol Protection[edit]
- Enabling VT-d/IOMMU via BIOS provides DMA protection.
- The USB stack can be isolated in a dedicated USB VM, protecting
dom0
from untrusted USB devices. - Anti Evil Maid (AEM) [archive] protection is supported.
- Yubikey [archive] multi-factor user authentication is available to enhance the security of logins, mitigate the risk of password snooping, and improve USB keyboard security.
- No microphones are attached to VMs by default.
Networking[edit]
- An additional firewall VM is used to house the Linux kernel-based firewall, providing extra protection against a compromised NetVM; see Qubes networking [archive].
- By default, Qubes OS is firewalled and no incoming ports are open.
- No networking is present in the administrative domain (
dom0
). Evendom0
upgrades are done in a dedicated UpdateVM (currently set by default tosys-firewall
), before those are verified and installed indom0
. - All Template and
dom0
updates can be easily fetched over Tor via the Whonix-Gateway ™ ProxyVM (commonly calledsys-whonix
). - TCP timestamps are disabled by default. [1]
- ICMP timestamps are disabled by default. [2]
- Protection against unintentional leaks of critical user data is possible by setting an empty NetVM field for the corresponding qube.
- Tor Traffic can be white-listed using corridor as a filtering gateway, protecting against accidental clearnet leaks.
- Availability of an experimental unikernel [archive] firewall based on MirageOS for greater security, performance and a lower resource footprint.
Other Benefits[edit]
- Disposables [archive] are available to open untrusted applications, links, attachments and documents. [3]
- Service qubes can be configured as a static Disposables [archive] to mitigate the threat from persistent malware across VM reboots. [4]
- Unforgeable, colored window borders allow easy identification of qubes with different security levels.
- PDFs can be easily sanitized via a trusted PDF converter. [5]
- Greater security of email-centric work environments is possible by using split GPG to protect private keys and limiting network connections exclusively to the chosen email server.
- Joanna Rutkowska [archive], security researcher, founder and developer emeritus of Qubes OS [archive] has completed a research paper comparing the security of software compartmentalization vs. physically separated computers [archive] (pdf). It concluded that in some cases, notably for specific, desktop-related workflows, Physical Isolation might be less secure than Qubes' compartmentalized approach.
Usability[edit]
- OS agnostic: qubes can be based upon Fedora, Debian, Ubuntu, Whonix ™, Windows, Kali Linux, CentOS and Arch Linux templates, among others.
- Lightweight minimal templates [archive] are also available for use. [6]
- All isolated qubes are integrated into a single, usable system via a unified desktop.
- Software installation and updates are centralized.
- Creating new VMs and disposing of unwanted VMs is very easy and fast.
- The VM start menu is integrated into the host's (
dom0
) start menu via Qubes VM Manager. - A secure and usable mechanism exists for copying and pasting [archive] clipboard contents and files between qubes.
- An easier backup / restore mechanism for VMs [archive].
- The keyboard layout only needs to be configured once in
dom0
. - No duplicate task bars are present.
- A default seamless mode is available for Windows (similar to VirtualBox’s Seamless Mode or VMware’s Unity Mode). [7] It is easy to distinguish which window belongs to each VM. [8]
- See also: A Usability Evaluation of Qubes OS [archive].
Performance[edit]
- VMs boot up much faster, because fewer services need to be started.
- App Qubes therefore also use much less RAM.
- App Qubes use far less disk space because they can share the root image of the Template in read-only mode. Separate disk storage is only used for the user's directory and per-VM settings (read more: Template Implementation [archive]).
- Standalones [archive] can be created for the installation of software in only specific domains.
Qubes-Whonix ™ Advantages over Non-Qubes-Whonix[edit]
Anonymity[edit]
- It is easier to tunnel the whole system -- including host (
dom0
) updates -- through Tor (besidessys-net
andsys-firewall
).
Security[edit]
- Multiple Whonix-Workstation ™ App Qubes can easily use the same Whonix-Gateway ™ ProxyVM without being able to make contact with one another. [9]
- Downloads of Whonix ™ Template images use cryptographic signatures of the
dom0
package manager (qubes-dom0-update / dnf). Without the user knowing it, this makes verification transparent. - It is simple to run Tor Browser in a Whonix-Workstation ™ Disposable.
- Various operations can be securely performed in Qubes-Whonix ™ VMs which are not available in Non-Qubes-Whonix ™, like:
- Secure copy / paste operations [archive] between VMs.
- Secure copying and transfer of files [archive] between VMs.
- Sanitization of PDFs [archive] and images. [10] [11]
Usability[edit]
- Easier installation.
- As an option during Qubes installer.
- Or later downloaded from the Qubes repository.
- Issues specific to Non-Qubes-Whonix do not apply.
- No confusing Network Manager Systray Unmanaged Devices error messages, since there is no duplicate taskbar.
- No confusion is caused by the VM timezone being set to UTC (for anonymity reasons), [12] since there is no duplicate taskbar. [13]
- Watching videos with VLC works out of the box. [14] [15]
- No duplicate sound settings are present. [16] [17]
Qubes Vulnerabilities[edit]
Qubes is not however a silver bullet - attacks are still possible against:
- The virtualization technology (VT-x, VT-d).
- The hypervisor (Xen). [18]
- Additional software used by any virtualized system, like qemu and DirectX emulation.
Further, data leaks are possible via cooperative covert channels (malware working in concert across two or more VMs), and side channel attacks (malware in one VM trying to learn about processes executed in another VM).
Qubes-Whonix Security Disadvantages - Help Wanted! [archive]
Footnotes[edit]
- ↑ Disable TCP Timestamps.
- ↑ Disable ICMP Timestamps.
- ↑ From Qubes R4.0, disposable Whonix-Workstation ™ VMs are now available, as well as multiple Disposables for other platforms.
- ↑
sys-net
,sys-firewall
andsys-usb
can be configured as static Disposables. This option was first made available in Qubes R4. - ↑
Right-click
→Convert to Trusted PDF
- ↑
The minimal templates are lightweight versions of their standard template counterparts. They have only the most vital packages installed, including a minimal X and xterm installation. When properly configured and used, minimal templates can be less resource-intensive, reduce attack surface, and support more fine-grained compartmentalization.
- ↑ http://www.howtogeek.com/171145/use-virtualboxs-seamless-mode-or-vmwares-unity-mode-to-seamlessly-run-programs-from-a-virtual-machine/ [archive]
- ↑ https://www.qubes-os.org/doc/GettingStarted/ [archive]
- ↑ This issue for Non-Qubes-Whonix ™ is documented on the Multiple Whonix-Workstation ™ wiki page.
- ↑
Qubes PDF Converter is a Qubes OS application that uses DisposableVMs and Qubes' flexible qrexec (inter-VM communication) infrastructure to securely convert untrusted PDF files into safe-to-view PDF files. This is done by using a DisposableVM to render each page of a PDF file into a very simple representation (RGB bitmap) that (presumably) leaves no room for malicious code. This representation is then sent back to the client qube which then constructs an entirely new PDF file out of the received bitmaps.
- ↑ Converting untrusted PDFs into trusted ones: The Qubes Way [archive].
- ↑ Network Time Syncing.
- ↑ https://phabricator.whonix.org/T71 [archive]
- ↑ Whonix ™ VirtualBox issues: VLC / Video Player Crash
- ↑ Whonix ™ KVM Video issue: https://www.whonix.org/old-forum/index.php/topic,1768.0.html [archive]
- ↑ Whonix ™ VirtualBox: Duplicate sound settings exist within VMs.
- ↑ Whonix ™ KVM: https://www.whonix.org/old-forum/index.php/topic,1767.0.html [archive]
- ↑ See: Xen Security Advisories [archive].
Whonix ™ is Supported by Evolution Host DDoS Protected VPS. Stay private and get your VPS with Bitcoin or Monero.
100px | |
Fosshost | About Advertisements |
Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki
Have you read our Documentation, Design and Developer Portal links yet?
Priority Support | Investors | Professional Support
Whonix ™ | © ENCRYPTED SUPPORT LP | Freedom Software / Open Source (Why?)
The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.