SELinux Sandbox for Untrusted Programs
The security framework SELinux is set to offer a Sandbox in which applications deemed insecure can be partitioned off from other system areas.
Red Hat colleagues Dan Walsh and Eric Paris have designed an additional security tool. SELinux project leader Walsh describes the functionality and development of this tool in a detailed blog entry. The main idea: for SELinux to limit the actions an application can perform and to confine untrusted binaries. This way, users should be able to work with programs and data that are not considered 100% secure.
The developers were inspired to create a sandbox to execute these security measures using the SELinux policies via a query on the Linux core list. Walsh describes: "The bug report talked about confining grep, awk, ls ... The idea was couldn't we stop the grep or the mv command from suddenly opening up a network connection and copying off my /etc/shadow file to parts unknown.“ Regarding further application areas, Walsh sees GRID jobs as potential danger, they might become Spam Bots or attack systems in some other form.
According to Walsh, only 10 clicks were needed to write the policy with the GUI program from Fedora 11. He delivers interested parties precise instructions. In addition to the policy, the “usr/bin/sandbox” tool was written in order to route contents into the Sandbox. One issue with the current version has not yet been fully dealt with: “My current intention with sandbox is not to handle X Apps, since these apps want to write all over the home directory ~/.gconf, ~/gnome., ~/.config ... and all over /tmp, along with use privs to talk to the X Server. I have some ideas on this for the future that I hope to experiment with.”
In a message on the Linux kernel list, Eric Paris introduces a simple application example and invites users to share their experiences. “Check it out, SELinux confinement made easy."
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
-
Endless OS 6 has Arrived
After more than a year since the last update, the latest release of Endless OS is now available for general usage.
-
Fedora Asahi 40 Remix Available for Macs with Apple Silicon
If you've been anticipating KDE's Plasma 6 for your Apple Silicon-powered Mac, then you're in luck.
-
Red Hat Adds New Deployment Option for Enterprise Linux Platforms
Red Hat has re-imagined enterprise Linux for an AI future with Image Mode.
-
OSJH and LPI Release 2024 Open Source Pros Job Survey Results
See what open source professionals look for in a new role.
-
Proton 9.0-1 Released to Improve Gaming with Steam
The latest release of Proton 9 adds several improvements and fixes an issue that has been problematic for Linux users.
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.