Dev/Operating System

From Whonix

< Dev(Redirected from Operating System)


This chapter applies to the host(s), Whonix-Gateway ™ and Whonix-Workstation ™.

Whonix ™ Example Implementation is currently based on Debian. There were development discussions about switching to BSD, Alpine Linux or other secure operating systems.

Whonix ™ can't protect against malicious code inserted into upstream operating system infrastructure. Debian ensures some chain of trust as it requires contributors to sign commits.

Why not Use a Live CD/DVD as the Whonix-Workstation ™ Operating System?[edit]

This option was previously discussed in depth and it was decided that Live CD/DVDs are not suitable for Whonix-Workstation ™.


  • Often actively maintained.
  • Stabilized.
  • Hardened GNU/Linux distribution.
  • Advanced features.


  • No timely security updates.
  • Limited persistence.
  • Inflexible design.

Another serious disadvantage of Live CD/DVDs in the context of an anonymity-oriented OS is that they often have their own method of Tor enforcement included. In Whonix ™, this would result in a Tor over Tor scenario.

Why don't you use <your favorite most secure operating system> for Whonix ™?[edit]


Why do you use Debian, and not...

The operating system must have

  • acceptable usability
  • must be somewhat popular, because only that leads to sufficient public scrutiny and enough available documentation.
  • For redistribution of Whonix ™, there are no legal/trademark issues such as with Ubuntu, see #Ubuntu Legal Issues chapter below for details.
  • Must have a secure operating system updater (package manager), i.e. must not fall through the TUF Threat Model [archive] (w [archive]). Not having a secure updater is very dangerous [archive] (w [archive]).
  • Source based distributions take a long time for upgrading and installation of packages, which users complain about. The same or even better security characteristics can be reached with deterministic (reproducible) builds.

Debian is a good compromise of security and usability.

By the way, this chapter won't only include examples which fall through Whonix ™ threat model.


Ubuntu Introduction[edit]

Ubuntu is not used as Whonix-Gateway ™/Workstation operating system for legal reasons (see below) and was lately negatively perceived due to privacy issues[1], so it is recommended against to use it as host operating system as well.

Whonix ™ 0.4.4 and above based on Debian. Previously Whonix ™ was based on Ubuntu. From technical perspective, Ubuntu was a good choice, see About Ubuntu if you are interested. The switch was due to Ubuntu Trademark issues, see below.

Ubuntu Legal Issues[edit]

About Ubuntu Trademark [archive] and Ubuntu terms [archive] generally are complicated. Since Whonix ™ changes are beyond a remix (as defined by Ubuntu Licensing), Whonix ™ would either to have to ask for a license, which they reserve to revoke. Such a legally insecure state is not acceptable. Or Whonix ™ would have to rebrand Ubuntu. It would be possible in theory, but in practice it would require a lot work to remove all Ubuntu strings. Even new apt mirrors would be required [archive], which is much beyond the manpower of the Whonix ™ project.


Debian is much more Libre without any legal issues. According to Debian project leader Stefano Zacchiroli (in private mail), there are no trademark issues as long as the derivative does not claim to be Debian. This is also clarified in Debian trademark policy [archive] which is easy to comply with.

Derivatives of Debian are even encouraged to use Debian infrastructure, see Derivatives/Guidelines [archive]. Debian even supports derivatives. There is a lot documentation, see Derivatives [archive] and even a debian-derivatives mailing list [archive].

Mac OS X[edit]

Mac OS X can not be used for legal reasons. Even if that were not a problem, it is still a proprietary, closed source operating system, We don't like their attitude and how they (not) communicate with the security community. Also see: Apple Took 3+ Years to Fix FinFisher Trojan Hole [archive].


Fedora yet did not fall through Whonix ™ threat model and could be considered as host and future or alternative Whonix-Gateway ™/Workstation operating system. Also Qubes OS, an operating system focusing on security by isolation, is based on Fedora. Started considering it, help welcome, see Dev/Fedora.

phone home issue (says closed but is unfixed): [archive]


Implemented as Qubes-Whonix ™.

Gentoo / Hardened Gentoo[edit]

Insecure package manager. Back then bug reports got closed down without much regard.

In this regard, Hardened Gentoo does not differ from Gentoo.

Due to the way these bug reports were handled, Gentoo was removed from the candidates of secure base operating systems.

In Patrick's opinion mortal users are unlikely to learn how to use them. [2]

Alpine Linux[edit]

Quote [archive]

Alpine Linux was designed with security in mind. All userland binaries are compiled as Position Independent Executables (PIE) with stack smashing protection. These proactive security features prevent exploitation of entire classes of zero-day and other vulnerabilities.

That doesn't sound super secure since other distributions do that too. Any other security features?

At first sight it looks like alpine's package manager suffers from the same issues as gentoo's. (Being vulnerable to indefinite freeze and downgrade attacks.) TODO research [archive]

The question to ask is "Does the package manager pass the TUF Threat Model?"

The Update Framework (TUF) - Attacks and Weaknesses:

(Made by similar people who created this research: [archive]
which resulted as far as I understand in greatly improved package manager security in many distributions.)

One can ask the TUF people, who are in my experience very friendly and helpful, for their opinion on their mailing list:!forum/theupdateframework [archive]

Arch Linux[edit]

TODO: Check its package manager security. (See above.)


Doesn't really care about the OS itself to hardenize it, It just care about Nix package manager. So to expect from them caring about OS security is sorta faraway.

They dont use MAC/Namespaces by default. (MAC: Apparmor [archive] and Namespaces: firejail [archive] are Turned OFF by default, While SElinux is unsupported [archive] yet)


They do have some care for security but they need contributors to do that (MAC/Namespaces support doesnt exist in GuixOS yet)

More: Dev/Default_Application_Policy#guix


Went into many mess and changes with short time:

- Their main developer left the project,they lost access to their resources [archive] like github, IRC, Domain..etc. (some of them regained access to only)

- Another sad lost to the project by the pass out of Jürgen Buchmüller (pullmoll) [archive] on of their main maintainers.

- After almost 6 years they switched back [archive] from libressl to openssl

- They dont sandbox their packages with MAC/Namespaces by default, Only xbps-src which is the package builder but not for sandbxoing packages within their distro.


There are several reasons why Whonix ™ has decided not to use the Subgraph project [archive] platform.

Table: Whonix ™ Rationale

Domain Reasoning
  • Future Roadmap: Basing Whonix ™ on Subgraph would tie our future to the viability of another project. It is not ideal to rely on an OS in alpha status, particularly when the Debian alternative is rock solid and has decades of development behind it.
  • Features: Subgraph has some undesirable feature additions that add no value. Whonix ™ cannot benefit from Subgraph's manpower if the goals for the development roadmap are fundamentally different.
  • Bugs: The plentiful Subgraph bugs [archive] would become Whonix ™ bugs and developers would depend on them for fixes.
  • Programming Language: Subgraph chose different programming languages (like Golang) that are unfamiliar to lead Whonix ™ developers, making customization or modification very difficult.
  • Desktop Environment: Whonix ™ Developer HulaHoop has noted that Subgraph features completely rely on the GNOME desktop environment. This is undesirable because it is visually unappealing, has an over-simplified interface and would require any "cloud integration" elements to be removed. Configuring GNOME to approach the specifications already achieved in Whonix ™ would require a lot of effort. [3]
Source Code / Software
  • Code Availability: No full source code release to date (mid-2019). [4] [5]
  • Packaging: The publicly available software exists in a form that is not easily packaged. This would pose a significant maintenance burden for the Whonix ™ team.
  • Constraints: Arbitrary limitations are in place, such as repository choices. This can of course be changed, but it is an example of wasted effort in patching the base OS to adapt to our vision.
  • Meta-packages: There is no Subgraph meta package that can be installed using "sudo apt-get install subgraph-os" / "debootstrap Subgraph OS" [archive] in order to convert vanilla Debian into Subgraph OS. [6]
Collaboration To date, there has been no cooperation from the Subgraph project developers to correct any of the issues outlined in this section.


This FAQ entry addresses the suggestion that Whonix ™ should be based on OpenBSD rather than Debian. The opinion provided below is based on the perspective of Whonix ™ developers. [7]

The OpenBSD FAQ states: source [archive] (w [archive])

OpenBSD is thought of by many security professionals as the most secure UNIX-like operating system, as the result of a never-ending comprehensive source code security audit.

The landing page for OpenBSD also notes: [8]

Only two remote holes in the default install, in a heck of a long time!

To OpenBSD's credit, they have a solid reputation for taking security seriously. For example, the development team has adopted these principles: [9]

  • A strong focus on cryptographic approaches towards fixing security problems.
  • Full disclosure of security bugs and speedy fixes.
  • An auditing team of 6-12 members (including ex-corporate security researchers) continuously searches for and fixes security holes; a process underway since 1996. [10]
  • Development of new technologies, such as additional memory protections.
  • Shipping the OS in a "Secure by Default" mode with all non-essential services disabled.
  • Contributing to research -- a number of security papers have been written by OpenBSD team members.

Despite these strengths, the primary downside to adopting OpenBSD relates to the estimated size of the user base:

  • [archive] (w [archive]), suggests OpenBSD has few users. While bsdstats is not representative of the total population of OpenBSD users due to the opt-in data collection program, 9 systems at the time of writing is a very small figure. By comparison, TrueOS has over 15,000 users in 2019.
  • Although unscientific, DistroWatch [archive] also shows OpenBSD attracts far less interest than popular Linux distributions.
  • OpenBSD is estimated to have less than 10 percent of total BSD market share. [11]
  • Estimates of BSD market share across all categories (desktops, servers etc.) is tiny [archive].

One valid concern is that if a critical mass of users does not gravitate to OpenBSD, then naturally less human resources ("eyeballs") in the population will be searching for, identifying, and remedying security flaws. While the audit team is skilled, a relatively small number of people must inspect code across an entire operating system. As a result, this could potentially aid targeted attacks or other exploits. [12] [13]

In comparison, alternatives like Debian have a large user/contributor base, a similar focus on security [archive], renowned stability, and a solid reputation in security-critical environments such as web servers. [14] It is also strongly contested that BSD variants have innovative security improvements [archive] that provide greater protection than modern platforms like Qubes OS; see Qubes Security.


This FAQ entry addresses the suggestion that Whonix ™ should be based on FreeBSD rather than Debian. The opinion provided below is based on the perspective of Whonix ™ developers. [15]

It is difficult and time consuming to try and list all the disadvantages of using FreeBSD, such as highlighting non-existent security features. The onus is on FreeBSD proponents to manually search for relevant features (or lack thereof) and present an objective case for its adoption.

To avoid presenting information that will quickly become out-of-date or that may insult FreeBSD adherents, it is better to avoid definitive security statements and instead ask appropriate questions which might affect the usability, security, anonymity and wide-scale adoption of Whonix ™. For instance:

  • Does FreeBSD have a secure-by-default update mechanism?
  • By default, will every (new) user download come from an existing signed repository?
    • If not, what special settings are required?
    • Are users expected to run their own repository?
  • Does FreeBSD defend against outdated metadata; for example, can a man-in-the-middle use a roll back or freeze attack against the repository?
  • Does FreeBSD defend against various attacks on package managers? [archive] (w [archive])
  • Does FreeBSD defend against attacks on the software update process by using the TUF threat model [archive] (w [archive])?

Research which might provide a strong case for FreeBSD does not exclude the possibility of weaknesses or missing security features. The best way to determine the strength of the platform and its relative resilience is to directly ask the developers of that project. Honest replies can reasonably be expected from vibrant, open source communities.The only problem is, the Linux/BSD ecosystems have hundreds of distributions and it is a daunting prospect to rank their merits in this way.

Ultimately, the burden of proof falls on FreeBSD advocates (and not Whonix ™ developers) to prove that it is the most secure distribution available. Properly researched contributions that answer the questions above would be a good start, along with possibly approaching FreeBSD developers directly. Alternatively, research into why various aforementioned protections are not necessary to improve security would also be welcomed. Until claims about FreeBSD are substantiated, one should not take offense that it has not already been adopted.

At time of writing FreeBSD had not even Address Space Layout Randomization (ASLR), see [archive]


OpenWRT [archive] is not used for the same reasons outlined above. Further, in early 2018 OpenWRT does not have signed packages [archive].


How is Whonix ™ Different from Tails?[edit]

See Comparison with Others.

Why not Merge with Tails and Collaborate?[edit]

The following is a subjective opinion by lead Whonix ™ developer Patrick Schleizer. [16] Feedback, corrections and suggested improvements are welcome.

Tails [archive] is a respected project with similar goals to Whonix ™ - improved anonymity, privacy and security. Tails has existed for many years and has multiple developers, significant experience and a complete working infrastructure. Whonix ™ and Tails developers already cooperate to some degree and discuss things of mutual interest to both projects on various developers mailing lists like whonix-devel, tails-devel and secure-os.

Whonix ™ and Tails Collaboration[edit]

Several parts of Whonix ™ are based on Tails. For example, the development of sdwdate in Whonix ™ was reliant upon Tail's invention of tails_htp. Whonix ™ also profits from Tails' previous efforts to upstream packaging and other changes in Debian, current and historical discussions in various forums, Tails research, design documents, experience, feedback and so on.

Other examples of Tails and Whonix ™ cooperation include:

  • onion-grater - a whitelisting filter for dangerous Tor control protocol commands - was developed by Tails developer anonym with Whonix ™ in mind. Whonix ™ then forked the Python code to add a few necessary improvements. [17]
  • Tails has expressed interest in using Anon Connection Wizard in the future.
Why Whonix ™ is a Separate Project[edit]

Even though Tails is highly valued by Whonix ™ developers, it may not be clear to the reader why Whonix ™ remains a separate project and not just a contributor to Tails. There are several reasons for this decision: Whonix ™ cannot be merged into Tails by the Whonix ™ team on technical, skill and political grounds; implementing features or changes in Tails is an unfamiliar process; and it is unknown when/if Whonix ™ priorities will be implemented in Tails -- but it is known how to solve these in a separate project (at least with appropriate user documentation).

Further examples are outlined in the table below. Note that some of these items are partially or nearly solved in Tails, but it is has been kept to justify the prior decision not to merge projects.

Table: Whonix ™ and Tails Design and Functionality Comparison

Tails Issue Tracker (TODO) Whonix ™ Design / Instructions
Remember installed packages [archive] By design, everything persists [18]
Applications Audit [archive] By design, protocol leaks cannot lead to deanonymization
Two-layered, virtualized system [archive] By design, this is achieved by either software compartmentalization (VMs) or Physical Isolation
VPN support [archive] VPN / Tunnel support
JonDo [archive] over Tor JonDonym
Freenet [archive] over Tor Freenet
obfsproxy [archive] [19] Bridges
Can I hide the fact that I am using Tails? [archive] Hide Tor and Whonix ™ from your ISP
I2P over Tor [archive] [20] I2P
Transparent Proxy as a fallback mechanism [archive] By design, everything not configured to use a SocksPort will automatically use Tor's TransPort
Use Tor Browser [archive] Tor Browser
Stream Isolation [archive] [21] Stream Isolation
Evaluate web fingerprint [archive] [22] Same as Tor Browser
Unsafe browser fingerprint [archive] Logging in to captive portals
Location Hidden/IP Hidden Servers [archive] Location/IP Hidden Servers
VoIP [archive] VoIP
... ...
Political and Design Considerations[edit]

There are also significant differences in political and design decisions which prohibit a merger:

  • As a code contributor to Tails, Patrick Schleizer would need to accept decisions made via internal Tails decision-making processes. Whonix ™ would lose the autonomy to simply modify anything in line with personal preferences or favored solutions. [23] At the time Whonix ™ was created, Schleizer did not favor a Live DVD/USB approach and personally found improving Tails to be far more difficult than starting a fresh project.
  • Source Code Merge Policy:
    • Whonix: A comprehensive merge policy has not yet been developed. This would be ideal, but it is not compulsory to formulate such a design or associated documentation.
    • Tails: In Schleizer's opinion, the Tails merge policy [archive] is too strict. This is not a complaint or critique. No doubt there are good reasons for that decision and it should be noted that Tails is still a popular and effective solution for many users. Anyone who does not agree has the freedom to contribute to another project or to start a new project, leading Schleizer to make use of that freedom.
  • Another major design difference is Tails' reliance on a Live DVD/USB which inherits some restrictions and limitations. Tails must fit on a DVD/USB, while Whonix ™ does not have this requirement. Whonix ™ also has higher hardware requirements, but therefore more space to implement features. As a consequence, initially fewer people are able to use Whonix ™, but this situation will improve in the future as available hardware improves. The Whonix ™ design is fluid and new designs (both theoretical and practical) are being discovered over time. Depending on user feedback and general interest, eventually a Live DVD or Blu-ray might be created in Whonix ™.
  • Schleizer has found it easier to cooperate with the security by isolation focused operating system Qubes OS [archive], which resulted in Qubes-Whonix ™.

Minimal Distribution Disadvantages[edit]

The primary reason for the large size of the images is that small/er distributions do not meet Whonix ™ requirements; namely the upstream distribution must have a proactive security policy. In addition:

  • Most minimal distributions are small projects. Consequently, there is no dedicated security team that audits packages and quickly releases security patches.
  • Whonix ™ requires a distribution that cryptographically signs all updates. [24]
  • The security of minimal distributions is premised on reducing the potential attack surface and not much else. Whonix ™ also has a small attack surface, due to only installing a few select applications and not having any network listening services by default. However, on the upside a full distribution supports MAC, kernel patches, IDS and much more.
  • Large, established projects have many users and developers - the many eyeballs on the code implies greater trustworthiness.
  • Debian has a significant number of security features [archive] that are unavailable in smaller distributions.
  • For further reading on this topic, see Operating System.

Maintenance and Usability Concerns[edit]

Since Whonix ™ is based on Debian, it is a complete, anonymity-oriented, general purpose operating system. This greatly improves usability in comparison to minimal systems which lack a host of features.

There are several other benefits of relying on Debian, rather than a minimal distribution:

  • A wider range of use cases is supported, such as hosting onion services. In contrast, small distributions usually have limited repositories.
  • Debian has comprehensive documentation about topics like security and hardening, unlike many small distributions.
  • Creating a slim system increases the maintenance burden, because it is difficult and requires significant development time. This is not and should not be the primary focus of the Whonix ™ team.
  • Minimal projects do not usually focus on anonymity, privacy and security-related matters; the core competence of the Whonix ™ project.
  • Attempts to slim down systems inevitably results in numerous "strange bugs". Users who are familiar with Debian or Ubuntu would then question why Whonix ™ is broken or lacks full functionality.

It should be noted that by increasing usability, Whonix ™ actually improves security over time. This stems from a larger user pool, a more prominent profile in the press, increased development activity and additional security audits and research. On the contrary, a slimmed down system would only attract specialists or experts. [25]

An interesting analogy is Mixminion [archive], which was once touted as an alternative to Tor. [26] Due to Mixminion being a high latency remailer, with cover traffic and protection against traffic confirmation (end-to-end correlation attacks), it should theoretically have been more secure than Tor. The only problem was that Mixminion did not attract a critical mass of users. Without a sizable population to help disguise traffic, the putative anonymity benefits were seriously degraded - making it no more or less (in)secure than Tor. [27]



Whonix ™ is based on Debian.

Reasons for being based on Debian:

Related statements from the FAQ reasoning why Debian is the base for Whonix ™ Example Implementation:

General explanation, why so many distributions are based on Debian:

Also interesting:


Debian Security[edit]

Debian isn't (a | the most) security-focused Linux distribution. Under some threat models, Debian is judged insecure. Issues with Debian then would have to be considered deeper than technical, i.e. architectural, organizational, ideological issues. To put it another way (a lot | many | most) (?) Debian Developers don't prioritize security over everything else readily compromising other things such as package availability, features, usability, etc. That shouldn't come to a surprise. Debian slogan is "the universal operating system". Not "attempting to be the most secure operating system" and therefore Debian didn't attract that mindset. Debian consists of mostly volunteers that need to attend to day jobs which might arguably not be the best for security either.

Why is Whonix ™ based on Debian Stable, not Debian Testing?[edit]

  • Sometimes severe bugs are introduced in Debian testing, such as the AppArmor bug [archive], which prevented Tor from starting for everyone until a workaround was applied.
  • Sometimes bugs are introduced which break Whonix ™ build script, such as this [archive] bug related to mount, which breaks grml-debootstrap and therefore Whonix ™ build script or this [archive] kpartx bug.
  • Often other disturbing bugs are introduced, such as the grub bug (not able to reproduce and report upstream yet), non-functional VirtualBox Guest Additions or issues [archive] with shared folders.
  • Sometimes packages get entirely removed from Debian testing, such as enigmail wasn't available for a while in Debian testing. This is confusing and constantly creating support requests.
  • Too often, too many packages are upgraded (not just security fixes) (costs lots of time to keep up, bandwidth, system load).
  • Quote, Debian Security FAQ [archive]:

If you want to have a secure (and stable) server you are strongly encouraged to stay with stable.

Popularity Contest[edit]

The Debian popularity-contest (popcon) package does not get installed on Whonix ™. Installing it gets prevented by the anon-banned-packages [archive] package.

popcon readme [archive] | popcon faq [archive] | popcon bugs [archive] | popularity contest mailing list [archive] | popularity contest mailing list: Drop atime and ctime for privacy reasons possible? [archive]

Some privacy considerations and reasons why it is not installed:

  • The connection would obviously need to go over its own Tor circuit (stream isolation). At the moment popcon tries to go through http and if it fails (no internet connectivity) it goes into the mail queue. (sendmail) Sendmail probably works though TransPort, but we don't know if it can be torified for proper stream isolation.
  • (From the popcon readme) "Each popularity-contest host is identified by a random 128bit uuid (MY_HOSTID in /etc/popularity-contest.conf)." - This would allow to enumerate a quite good guess about the amount number of Whonix ™ users. We are not sure if sourceforge could already have an insight about that (due to Whonix ™ News File downloads, see whonixcheck) or about any other negative implications.
  • MY_HOSTID would probably get created at Whonix ™ build time and all Whonix ™ users would have the same MY_HOSTID, which would make it useless. A new MY_HOSTID would have to be created at first boot of Whonix ™.
  • Popcon runs at a random day. Good.
  • If the machine is powered on: it runs at 6:47, which is bad, because a local adversary (ISP or hotspot) could guess popcon runs over Tor which would likely be a Whonix ™ user.
  • If the machine is powered off at 6:47, it sends the report later, only if anachron is installed. It shouldn't run instantly after powering on, also for fingerprinting reasons. The time would have to be truly randomized.
  • The transmission is not encrypted, see popularity-contest should encrypt contents [archive] and it is not planned to encrypt it. Malicious Tor exit relays could modify the transmission, but this is only a minor issue. Such malicious Tor exit relays could send fake transmissions on their own.
  • It is questionable if and if yes, how long Debian will accept popularity contest transmissions from Tor exit relays. There is potential for electoral fraud.

For these reasons it is not a good idea to add popcon to Whonix ™. If you have suggestions or a different view, please get in contact.

Criteria for Choosing a Base Distribution[edit]

The following criteria are not yet part of the following comparison table but should be added.

  • Compile time hardening flags.
  • services enabled by default or not [32]
  • secure package manager
  • onion repositories
  • This is is non-exhaustive. What else?

The following list is not sorted by any priorities or otherwise.

Debian Linux Devuan Linux (based on Debian) Void Linux
Usability "good" [33] As Devuan ?
The Update Framework (TUF) threat model [archive] [34] Pass Yes Yes (as Debian) ?
Non-systemd Init No Yes Yes
Musl Libc No No Yes
Hardened Memory Allocator No No No
Hardened Kernel No No No
Microkernel No No No
Clang CFI No No No
Rolling Release No No Yes
no packages with many unfixed high severity security issues [35] No No ?

no packages security issues which are exploited in-the-wild [36] No No ?

Tor available Yes Yes Yes[37]
vanguards available Yes Yes No
onionbalance available Yes Yes No
VirtualBox Available Yes Yes Yes
KVM Available Yes Yes Yes
EFI Booting Available Yes Yes Yes
SecureBoot supported [38] Yes Yes ?
LibreSSL [39] No No No [40]
Wayland Available Yes Yes Yes

ALSA without PulseAudio [41] Yes (with apulse) Yes (with apulse) ?
Reproducible Builds [archive] (deterministic builds) No [42] ? ?
Verifiable Builds No ? ?
Verified Boot No ? ?
stateless No No No

untrusted packages (similar to Debian proposal UntrustedDebs [archive]) No No ?
Weak Dependencies [archive] (to avoid the metapackage issue) No No ?
no legal issues (such as this) Yes Yes ?

ToDo List for Porting to another Base Distribution[edit]

Depending on base distribution:

  • make deprecation of Debian base clear to all Whonix users
  • porting deb packages to another package format
  • rewrite systemd unit files for another init system, possibly including using Bubblewrap to sandbox these
  • List non-exhaustive. What else?

Comparison of Hardening Compile Flags[edit]

Could be outdated!

Debian jessie:

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/bin/curl

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/gpg

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/bin/gpg2

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    No PIE          No RPATH   No RUNPATH   /bin/sed

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /bin/grep

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/bin/tor

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    No PIE          No RPATH   No RUNPATH   /bin/bash

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    No PIE          No RPATH   No RUNPATH   /usr/bin/gwenview

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
No RELRO        Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/lib/iceweasel/iceweasel

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Partial RELRO   Canary found      NX enabled    No PIE          No RPATH   No RUNPATH   /usr/lib/icedove/icedove

Securix (a derivative of Hardened Gentoo):

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/bin/curl

Error: Not an ELF file: /usr/bin/gpg: symbolic link to gpg2

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/bin/gpg2

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /bin/sed

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /bin/grep

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/bin/tor

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /bin/bash


RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/lib64/firefox/firefox

RELRO           STACK CANARY      NX            PIE             RPATH      RUNPATH      FILE
Full RELRO      Canary found      NX enabled    PIE enabled     No RPATH   No RUNPATH   /usr/lib64/thunderbird/thunderbird

See Also[edit]


  1. Privacy in Ubuntu 12.10: Amazon Ads and Data Leaks [archive]
  2. Examples of usability issues.
    emerge firefox
    * There is NOT at least 4 GiB disk space at "/var/tmp/portage/www-client/firefox-31.5.0/temp"

    What to do? Increase tmpfs size as per [archive].

  3. Previously, the future availability of Wayland and Flatpak in KDE was listed as a Whonix ™ advantage, however XFCE is now the default desktop environment.
  4. [archive]
  5. [archive]
  6. Subgraph is a Debian derivative.
  7. Last updated in 2019.
  8. [archive]
  9. [archive]
  10. This has resulted in the discovery of entire new classes of security problems.
  11. [archive]
  12. One example previously cited is this years old bug which remains unfixed: security vulnerability - NTP not authenticated [archive]. Possibly limited human resources has impacted this bug which affects everyone using the distribution.
  13. This bug would also impact Whonix ™ -- the suggested solution was to authenticate the connection to the NTP server, but this would not be possible for several reasons:
    • The Whonix ™ design focuses on distributing trust and not using only one NTP server.
    • Further, Whonix ™ depends on free services which are available to anyone, ruling out a solution that requires a personal server.
    • Even if Whonix ™ used authenticated NTP, it has been pointed out [archive] that the clock could not be moved more than 600 seconds. This is better than nothing, but still inadequate for adversaries who are capable of moving the clock more than 600 seconds, harming anonymity/privacy in the process (see Dev/TimeSync for further details).
  14. In fact, Debian's popularity and large contributor base has resulted in its adoption in around one-third of all Linux web servers [archive] and led to an expansive software library of over 50,000 packages.
  15. Last updated in January 2018.
  16. Last updated in September 2018.
  17. [archive]
  18. This is actually a disadvantage for anonymity because it is the opposite of an amnesic system, which many users prefer.
  19. Bridges were not natively supported by Tails when Whonix ™ was founded.
  20. The I2P feature was removed in Tails 2.11 [archive] due to the developer effort required.
  21. Tails has basic stream isolation functionality compared to Whonix ™.
  22. See also: [archive] The bundling of uncommon extensions in Tor Browser like uBlock Origin increase the likelihood of fingerprinting Tails users specifically.
  23. One major advantage of free software is developers are free to disagree about a project's direction, leading to the creation of a fork.
  24. This is always desirable, particularly when updating over untrusted exit relays.
  25. This does not mean Whonix ™ cannot be significantly hardened, customized or reduced in size by those with specialist knowledge.
  26. Consider this interesting statement from Tor developer Roger Dingledine: Mixminion vs Tor [archive].
  27. This is also the reason development was discontinued.
  28. Debian is Free. Imagine how much money that must cost proprietary competiors from whom not all of them necessarily play by the law.
  29. Not just i386, amd64 and perhaps arm. Should any platform become "evil", Debian as the universal operating system offers options and is most likely to port to new platforms.
  30. From perspective of Whonix ™.
  31. Build script won't break due to upstream repository changes.
  32. [archive]
  33. Define of usability of "Debian Linux" as "good" since it is a baseline, a starting point since Whonix ™ is currently based on it. There are Linux distributions which might have better usability such as Ubuntu, Elementary OS but also distributions which have worse usability by comparison. The definition of "good" here is not the usability of mainstream operating systems such as Android or iOS. See also Linux User Experience versus Commercial Operating Systems.
  34. w [archive]
  35. For a prolonged amount of time. [archive]
    • 104 security issues in sid high
    • 104 security issues in buster high
    • 104 security issues in bullseye
  36. For a prolonged amount of time. Debian version of Chromium reported to be exploited in the wild. Quote [archive]

    Patch Google Chrome with the latest updates – if you don't, you're vulnerable to a zero-day that is actively being exploited, the US Cybersecurity and Infrastructure Security Agency (CISA) has warned.

    Criminals are targeting users of Chrome with outdated installations, CISA said in an advisory note urging folk to update their browsers immediately.

    "Google has released Chrome version 86.0.4240.183 for Windows, Mac, and Linux addressing multiple vulnerabilities, including vulnerability CVE-2020-16009. Exploit code for this vulnerability exists in the wild," said the agency in a statement.

    Debian affected by CVE-2020-16009 at time of writing, see: [archive] [archive]

  37. [archive]
  38. for usability / hardware compatibility, not necessarily as a security feature
  39. [archive]
  40. [archive]
  41. [archive]
  42. Debian is working on it.

Fosshost is sponsors Kicksecure ™ stage server Whonix old logo.png
Fosshost About Advertisements

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix ™ Wiki

Follow: 1024px-Telegram 2019 Logo.svg.png Iconfinder Apple Mail 2697658.png Twitter.png Facebook.png Rss.png Reddit.jpg 200px-Mastodon Logotype (Simple).svg.png

Support: 1024px-Telegram 2019 Logo.svg.png Discourse logo.png Matrix logo.svg.png

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

Whonix donate bitcoin.png Monero donate Whonix.png United Federation of Planets 1000px.png

Twitter-share-button.png Facebook-share-button.png Telegram-share.png link=mailto:?subject=Dev/Operating System&body= link= System link= System link= System%20 System

Love Whonix ™ and want to help spread the word? You can start by telling your friends or posting news about Whonix ™ on your website, blog or social media.

https link onion link Priority Support | Investors | Professional Support

Whonix | © ENCRYPTED SUPPORT LP | Heckert gnu.big.png Freedom Software / Osi standard logo 0.png Open Source (Why?)

The personal opinions of moderators or contributors to the Whonix ™ project do not represent the project as a whole.

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.