Subgraph OS – Adversary-resistant computing platform
Black and White
Oz also further bolsters your protection from exposed system calls through using seccomp
. For non-Linux die-hards, system calls are simply the way that an application requests a service from the OS kernel.
These can be exploited by malicious people, whereby a program is run by a normal, unprivileged user, who then spawns a root shell, giving the user full access to the system. The Semtex exploit of 2013 is an excellent example of this.
Oz assigns policies on a per-application basis. Programs are killed if they violate the policy.
If a system call within an attacker's payload (such as one that would unnecessarily require root-level privileges) is not explicitly permitted, it will not be allowed.
Oz supports both blacklist and white-list policies. For all of Subgraph's own supported apps, Oz maintains a white list, which blocks all system calls except those which are explicitly allowed.
Oz has a generic blacklist that automatically blocks more dangerous or unusual system calls, located in /var/lib/oz/cells.d/generic-blacklist.seccomp
.
The latest version of Subgraph includes a new Go seccomp-bpf library developed by the ThoughtWorks Tiger team to help create much more efficient policies for sandboxed apps. The Subgraph handbook's appendix maintains a complete list of system calls in the OS, which you can use to create your own policies if you wish.
Subpar
Subgraph's sandboxing features can cause problems for certain applications. PDFs, for instance, which are notoriously vulnerable to exploits, are opened by the built-in Evince document reader, which cannot access the Internet or any other file besides the PDF it is currently reading.
If Evince is already open, you can click on Oz's icon, which resembles a stylized zebra, at the top right of the screen and then Add File to open one or more files. Subgraph allows you to make them read-only. You can use the Oz menu to add files inside the Tor Browser in the same way (Figure 7). This is useful if you actually want to upload files. You do not need to do this for OnionShare as the process is handled automatically when you choose to share a file from within Nautilus.
Oz also makes a special exception for the Tor Browser sandbox when it comes to downloads to prevent all files being lost each time you close the browser. This is done through a shared directory located in ~/Downloads/TorBrowser
. Any files saved there while surfing will be accessible after you close down the browser.
Final Subgraph
Overall, Subgraph is an excellent proof of concept. While the developers stress it's not yet ready for privacy applications, it certainly deserves a ringing endorsement for its careful selection of privacy-related apps, Oz's ingenious sandboxing, and the crafty CoyIM.
David Ahmad was kind enough to speak to Linux Magazine about some of the upcoming features in Subgraph. Chief amongst these is an Oz sandboxed version of the Chromium Browser which can visit regular 'clearnet' websites.
Any readers who are impatient to give this new setting a try can follow the steps on the Subgraph website [8] to install the browser manually. Watch this space for further developments.
While you should rely on the above two privacy distros for now, watch this space for further developments from the Subgraph project.
Infos
- Subgraph will be Snowden's OS of choice, but it's not quite ready for humans yet: https://thenextweb.com/insider/2016/03/16/subgraph-os-will-snowdens-os-choice-not-quite-ready-humans/#gref
- Subgraph OS December 2016 ISO availability: https://subgraph.com/blog/subgraph-dec2016-iso-availability/
- Download Subgraph OS Alpha r3: https://subgraph.com/sgos/download/index.en.html
- GitHub – signature verification failed: https://github.com/subgraph/subgraph-os-issues/issues/205
- The Calyx Institute: https://www.calyxinstitute.org/projects/public_jabber_xmpp_server
- The PaX Team homepage: https://pax.grsecurity.net/
- Oz technical details: https://github.com/subgraph/oz/wiki/Oz-Technical-Details
- Clearnet Sandboxed Chromium: https://subgraph.com/sgos/documentation/clearnet-chromium/
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.