Actions

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 VM (NetVM), which substantially reduces the attack surface.
  • Future separation of the GUI (graphical) domain [archive] from dom0 is planned.

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.
  • By default, Qubes OS is firewalled and no incoming ports are open.
  • No networking is present in the administrative domain (dom0). Even dom0 upgrades are done in a dedicated UpdateVM (currently set by default to firewallvm), before those are verified and installed in dom0.
  • All TemplateVM and dom0 updates can be easily fetched over Tor via the Whonix-Gateway ™ ProxyVM (commonly called sys-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]

  • DisposableVMs [archive] are available to open untrusted applications, links, attachments and documents. [3]
  • ServiceVMs can be configured as a Static DisposableVM [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.
  • 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). [6] It is easy to distinguish which window belongs to each VM. [7]

Performance[edit]

  • VMs boot up much faster, because fewer services need to be started.
  • AppVMs therefore also use much less RAM.
  • AppVMs use far less disk space because they can share the root image of the TemplateVM in read-only mode. Separate disk storage is only used for the user's directory and per-VM settings (read more: Template Implementation [archive]).
  • Standalone VMs 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 (besides sys-net and sys-firewall).

Security[edit]

  • Multiple Whonix-Workstation ™s AppVMs can easily use the same Whonix-Gateway ™ ProxyVM without being able to make contact with one another. [8]
  • Downloads of Whonix ™ TemplateVM 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 ™ DisposableVM.
  • Various operations can be securely performed in Qubes-Whonix ™ VMs which are not available in Non-Qubes-Whonix ™, like:
    • Secure copy / paste operations between VMs.
    • Secure copying and transfer of files between VMs.
    • Sanitization of PDFs and images.

Usability[edit]

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).
  • 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).

Footnotes[edit]

  1. Disable_TCP_and_ICMP_Timestamps#Disable_TCP_Timestamps
  2. Disable_TCP_and_ICMP_Timestamps#Disable_ICMP_Timestamps
  3. From Qubes R4.0, disposable Whonix-Workstation ™ VMs are now available, as well as multiple DisposableVMs for other platforms.
  4. sys-net, sys-firewall and sys-usb can be configured as static DisposableVMs. This option was first made available in Qubes R4.
  5. Right-clickConvert to Trusted PDF
  6. http://www.howtogeek.com/171145/use-virtualboxs-seamless-mode-or-vmwares-unity-mode-to-seamlessly-run-programs-from-a-virtual-machine/ [archive]
  7. https://www.qubes-os.org/doc/GettingStarted/ [archive]
  8. This issue for Non-Qubes-Whonix ™ is documented on the Multiple Whonix-Workstation ™ wiki page.
  9. Post_Install_Advice#Network_Time_Syncing
  10. https://phabricator.whonix.org/T71 [archive]
  11. Whonix ™ VirtualBox issues: VLC / Video Player Crash
  12. Whonix ™ KVM Video issue: https://www.whonix.org/old-forum/index.php/topic,1768.0.html [archive]
  13. Whonix ™ VirtualBox: Duplicate sound settings exist within VMs.
  14. Whonix ™ KVM: https://www.whonix.org/old-forum/index.php/topic,1767.0.html [archive]


Want to get involved with Whonix ™? Check out our Contribute [archive] page.

https [archive] | (forcing) onion [archive]
Follow: Twitter.png Facebook.png 1280px-Gab text logo.svg.png Rss.png 1024px-Telegram 2019 Logo.svg.png Discourse logo.svg

Donate: Donate Bank Wire Paypal Bitcoin accepted here Monero accepted here Contriute

Whonix donate bitcoin.png

Share: Twitter | Facebook

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.

Copyright (C) 2012 - 2019 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?)

Whonix ™ is a derivative of and not affiliated with Debian [archive]. Debian is a registered trademark [archive] owned by Software in the Public Interest, Inc [archive].

Whonix ™ is produced independently from the Tor® [archive] anonymity software and carries no guarantee from The Tor Project [archive] about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.

Monero donate whonix.png