Avoid Non-Freedom Software

From Whonix

(Redirected from Nonfree)


Ambox warning pn.svg.png For system privacy, freedom and security it is strongly advised to not install proprietary [archive], non-freedom [archive] software. Instead, use of Free Software [archive] is recommended [archive]. As Free Software pioneer Richard Stallman [archive] puts it:

  • "... If you run a nonfree program on your computer, it denies your freedom; the main one harmed is you. ..."
  • "Every nonfree program has a lord, a master -- and if you use the program, he is your master.“
  • "To have the choice between proprietary software packages, is being able to choose your master. Freedom means not having a master. And in the area of computing, freedom means not using proprietary software."

Or as the GNU project [archive] puts it [1]:

  • Proprietary Software Is Often Malware [archive]

  • Nonfree (proprietary) software is very often malware (designed to mistreat the user). Nonfree software is controlled by its developers, which puts them in a position of power over the users; that is the basic injustice [archive]. The developers and manufacturers often exercise that power to the detriment of the users they ought to serve.

  • This typically takes the form of malicious functionalities.

  • Some malicious functionalities are mediated by backdoors.

  • Backdoor: any feature of a program that enables someone who is not supposed to be in control of the computer where it is installed to send it commands. (Note by editor: "Most times without user awareness or consent.")

The GNU project created a list with examples of Proprietary Backdoors [archive]. The Electronic Frontier Foundation [archive] (EFF) has other examples of the use of backdoors [archive].

Open Source software [archive] like Qubes, Linux [archive] and Whonix ™ [archive] is more secure than closed source [archive] software. The public scrutiny of security by design [archive] has proven to be superior to security through obscurity [archive]. This aligns the software development process with Kerckhoffs' principle [archive] - the basis of modern cipher [archive]-systems design. This principle asserts that systems must be secure, even if the adversary knows everything about how they work. Generally speaking, Freedom Software projects are much more open and respectful of the privacy rights of users. Freedom Software projects also encourage security bug reports, open discussion, public fixes and review.

Possible risks associated with using non-freedom software:

  • Vendor lock-in and abandonware: Your data is saved in obfuscated formats that depend on a closed software package. If the company goes out of business or they decide to change the format down the line, you are held hostage to these companies and need to pay up to access it. In contrast, FLOSS (Free/Libre and Open Source Software) uses open, documented file formats and popular abandoned software projects have a much higher chance of finding a new developer.
  • DRM: Publishing companies treat their customers like thieves and severely limit what they can do with media they purchased.
  • Malware: Potential advanced malware in the software itself that is not easily reversed or discovered.
  • Freedom Restrictions and Privacy Invasion: No ability to change or disable undesirable privacy violating features like telemetry because of licensing restrictions and absence of source code. It is extremely rare that anti-features are added by FLOSS developers because it is antithetical to the community culture and easily remedied if discovered by others who can fork the software and fix it.
  • Privacy Breaches: Proprietary software is notorious for harvesting user data and monetizing it with advertisement networks which themselves have been used as malware delivery networks by malicious customers.
  • Third Party Dependencies: Software that depends on third party servers could access identifying information for payments or logins linked to real identity.
  • More defects per line: While FLOSS software isn't automatically security bug free, it objectively has less defects per lines of code compared to proprietary software.[2]

Even as a non-developer, a user's attention, suggestions and testing is a valuable public service and further strengthens the libre alternatives which will stay available to everyone indefinitely. It is in the user's interest to support FLOSS and decentralization to keep free computing alive and to curtail abusive monopolist practices and influence. Even if the FLOSS package's functionality is lacking in the short-term (this is very rare nowadays with FLOSS leaving proprietary in the dust), these can always be improved, but the drawbacks of proprietary software listed above are intrinsic to their mode of development and is not something that can change for the better.

For more information on installing third-party Libre software [archive] consult the Install Software page.

See also: Is It Ever a Good Thing to Use a Nonfree Program? [archive]

Related: Why Whonix ™ is Freedom Software

Table: Finding Backdoors in Freedom Software vs Non-Freedom Software

Non-Freedom Software (precompiled binaries) Freedom Software (source-available)
Can view original source code No Yes
Compiled binary file can be decompiled into disassembly Yes Yes
Regular pre-compiled binaries. Depends. Some use binary obfuscators. Yes
Usually not using obfuscation [archive] (anti-disassembly, anti-debugging, anti-VM [3]) Depends. Some use. Yes [4]
Price for security audit looking for backdoors very high [5] lower
Difference of precompiled version versus self-compiled version unavailable [6] small or none [7]
No requirement for reverse-engineering [archive] No Yes
Assembler language skills required much more less
Always legal to decompile / reverse-engineer No [8] [9] Yes [10]
Possibility catching backdoors through observing incoming and outgoing internet connections very difficult [11] very difficult [11]
Convenience of spotting backdoors lowest convenience [12] very high convenience [13]
Difficulty of spotting a "direct" backdoors [14] [15] [16] much higher difficulty [17] much lower difficulty [18]
Difficulty of spotting a bugdoor [19] very much higher difficulty [20] lower difficulty
Third parties can legally software fork [archive], release a patched version without the backdoor No [21] Yes [22]
Third parties can possibly make (possibly legally questionable) modifications such as disabling serial key checks [23] Yes Yes
Can always modify the software No [24] Yes
Third parties can use static code analysis tools No Yes
Third parties can judge source code quality No Yes
Third parties can find logic bugs in the source code No Yes
Third parties can find logic bugs in the disassembly Yes Yes
Can benefit from worldwide wisdom of the crowd No Yes
Third parties can benefit from debug symbols [archive] during analysis Depends. Some may publish debug symbols. Yes
Display source code intermixed with disassembly No Yes [25]
Effort to audit subsequent releases almost same [26] usually lower [27]
forum discussion [archive]

Spotting backdoors is already very difficult in Freedom Software where the full source code is available to the general public. Spotting backdoors in non-freedom software, obfuscated binaries is much exponentially more difficult. [28] [29] [30] [31] [32] [33] [34] [35]

To further improve the situation in the future, the Freedom Software community is working on the Reproducible Builds [archive] project. Quote:

Reproducible builds are a set of software development practices that create an independently-verifiable path from source to binary code.

Whilst anyone may inspect the source code of free and open source software for malicious flaws, most software is distributed pre-compiled with no method to confirm whether they correspond.

This incentivises attacks on developers who release software, not only via traditional exploitation, but also in the forms of political influence, blackmail or even threats of violence.

This is particularly a concern for developers collaborating on privacy or security software: attacking these typically result in compromising particularly politically-sensitive targets such as dissidents, journalists and whistleblowers, as well as anyone wishing to communicate securely under a repressive regime.

Whilst individual developers are a natural target, it additionally encourages attacks on build infrastructure as an successful attack would provide access to a large number of downstream computer systems. By modifying the generated binaries here instead of modifying the upstream source code, illicit changes are essentially invisible to its original authors and users alike.

The motivation behind the Reproducible Builds project is therefore to allow verification that no vulnerabilities or backdoors have been introduced during this compilation process. By promising identical results are always generated from a given source, this allows multiple third parties to come to a consensus on a “correct” result, highlighting any deviations as suspect and worthy of scrutiny.

This ability to notice if a developer has been compromised then deters such threats or attacks occurring in the first place as any compromise would be quickly detected. This offers comfort to front-liners that they not only can be threatened, but they would not be coerced into exploiting or exposing their colleagues or end-users.

Several free software projects [archive] already, or will soon, provide reproducible builds.

See Also[edit]


  1. Changed "back door" to "backdoor".
  2. [archive]
  3. [archive]
  4. An Open Source application binary could be obfuscated in theory but depending on the application, the context (it's not an Open Source obfuscators) that would be highly suspicious. An Open Source application using obfuscators would probably be criticized in public, get scrutinized, loose user trust.
  5. Because for non-freedom software which is usually only available as pre-compiled, possibly obfuscated binary (using an anti-decompiler):
    • auditors can only look at the disassembly and cannot compare a pre-compiled version from the software vendor with a self-compiled version from source code.
    • there is no well written, well commented, easily readable by design source code.
  6. Since there is no source code, one cannot self-build one's own binary.
    • small: for non-reproducible builds (or reproducible builds with bugs)
    • none: for reproducible builds
  7. License agreements of proprietary software often expressively forbid decompilation.
  8. Skype used DMCA (Digital Millenium Copyright Act) to shut down reverse engineering of Skype [archive]
  9. Decompilation is always legal, permitted in the license agreements of Freedom Software.
  10. 11.0 11.1 This is very difficult since nowadays by default most outgoing connections are encrypted by default. At some point the content must be available to the computer unencrypted, in plain text, but accessing that is not trivial. When running a suspected malicious application, one cannot trust local traffic analyzers such as wireshark since the malicious application might have compromised the host operating system and hiding that information from the traffic analyzer or through a backdoor. An option might be running the application inside a virtual machine but many malicious applications actively attempt to detect virtual machines and if detected, avoid doing malicious things to avoid detection. Ultimately this might be possible, but very difficult.
  11. One has to decompile the binary and read "gibberish" or try to catch malicious traffic originating from the software under review. How many people decompiled for example Microsoft Office and kept doing that for every upgrade?
  12. One can:
    1. Audit the source code to be free of backdoors.
    2. Compare the precompiled binary with a self-build binary, audit the difference. Ideally, and in future, no difference (thanks to reproducible builds project) or small difference (due to non-determinism introduced during compilation such as timestamps).
  13. "direct" backdoor: Such as a hardcoded username and password or login key only known by the software vendor. No plausible deniability for the software vendor.
  14. List of “direct” backdoors in wikipedia [archive].
  15. One interesting “direct” backdoor was this bitcoin copay wallet backdoor.
  16. Requires strong disassembly auditing skills.
  17. If for example hardcoded login credentials where in the published source code, that would be easy to spot. If the published source code is different from the actual source code used by the developer to compile the binary, that difference would stand out when comparing pre-compiled binaries from the software vendor with self-compiled binaries from by an auditor.
  18. bugdoor: A vulnerability that can be abused to gain unauthorized access. Provides plausible deniability for the software vendor. See also Obfuscated C Code Contest [archive].
  19. Such issues are hard to spot in the source code but even harder to spot in the disassembly.
  20. Forbidden in license agreement. Due to lack of source code, no serious development is possible.
  21. Since source code is already available under a license that permits software forks and redistribution.
  22. This entry is to differentiate from above legally software fork. Precompiled proprietary software is often modified by third parties such as for purposes of privacy, game modding, exploitation.
  23. For example, Intel ME could not be disabled in Intel CPUs yet, neither is there a Freedom Software re-implementation of Intel Microcode at time of writing.
  24. One could review the disassembly but for subsequent releases that’s duplicating the effort. The disassembly isn’t optimized to change as little as possible or to be human understandable. If the compiled added new optimizations, compilation flags changed, that creates a much bigger diff [archive] of the disassembly.
  25. After the initial audit of a source-available binary, one can follow changes of the source code. To audit any newer releases, an auditor can compare the source code of the initially audited version with the new version. Unless there was a huge code refactoring or complete rewrite, the effort the audit subsequent versions is lower.
  26. The assembler low level [archive] programming language is more difficult than other higher level abstraction [archive] programming languages according to most people saying discussing it on the internet. Example web search terms: assembler easy, assembler easier, assembler difficult.
  27. Source code written in higher level abstraction programming languages such as C and C++ are compiled to object code [archive] using a compiler. See this article [archive] for an introduction and this image [archive]. Source code written in lower level abstraction programming language assembler is converted to object code using an assembler. See same article and this image [archive]. Given a reasonably complex program that was written in C or C++, where the source code is unavailable, reverse engineering is very difficult. That can be deducted from the high price for it. It is possible decompile (meaning re-convert) the object code back to C with a decompiler such as for example Boomerang [archive]. Quote Boomerang: Help! I've lost my source code [archive], which is putting a price tag on it:

    How much will it cost? You should expect to pay a significant amount of money for source recovery. The process is a long and intensive one. Depending on individual circumstances, the quality, quantity and size of artifacts, you can expect to pay upwards of US$15,000 per man-month.

  28. Try to solve the question of how to disassemble a binary (byte code) into assembly source code and re-assemble (convert) to binary? 1. Take a hello world assembler source code. 2. Assemble.
    nasm -felf64 hello.asm

    3. Link.

    ld hello.o -o hello

    4. objdump (optional).

    objdump -d hello

    5. Exercise for the reader: disassemble hello and re-assemble.

  29. The GNU Hello [archive] program source file hello.c [archive] at time of writing contains 170 lines. The objdump -d /usr/bin/hello on Debian buster has 2757 lines.

    Install hello.

    1. Update the package lists.

    sudo apt-get update

    2. Upgrade the system.

    sudo apt-get dist-upgrade

    3. Install the hello package.

    Using apt-get command line parameter --no-install-recommends is in most cases optional.

    sudo apt-get install --no-install-recommends hello

    The procedure of installing hello is complete.

    objdump -d /usr/bin/hello

  30. See for example how difficult it was to reverse engineer Skype. Skype Reverse Engineering : The (long) journey ;).. [archive]
    • Take all the Debian package maintainer scripts. Are these easier to review as is, most of them are written sh or bash or if these are converted to a program written in C, closed source, precompiled?
    • Do we prefer if OnionShare stays written in python, Open Source or do we prefer the project turned into a precompiled binary?
  31. salary comparison
  32. How much does a security audit cost reverse engineering vs source-available?

text=Jobs in USA
Jobs in USA

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=Avoid nonfreedom software&body= link= nonfreedom software link= nonfreedom software link= nonfreedom software%20 nonfreedom software

Want to help create awesome, up-to-date screenshots for the Whonix ™ wiki? Help is most welcome!

https link onion link

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.

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, Contact.

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.