How to run programs in a Sandbox

emulationsandboxwine

I have been using PlayOnLinux to run windows programs on Linux.
PlayOnLinux creates a virtual drive for each program installed and every VD represents a different Windows XP computer.

Any changes made by the program stay within its own VD only. So if I run a program with a virus I can simply delete the program's VD and all is well.

Is there a similar program that allows Linux programs to be run in a virtual drive? i.e. I want PlayOnLinux/Wine minus the windows emulation.

Best Answer

I want to share Firejail, Sandboxie like software for Linux, GUI included.

Take a look here: https://firejail.wordpress.com/ and download from https://sourceforge.net/projects/firejail/ or https://pkgs.org/debian-sid/debian-main-amd64/firejail_0.9.38-1_amd64.deb.html (change to your system)

Easy to use; just run firejail on top of your command/software, in that case firejail wine program.exe

In case you want to inspect those programs before running them, you can chain them all together using firejail wine winedbg --gdb program.exe to run wine debugger jailed.

Maybe you're thinking of how much good it can be. Take a look on how to fully run a firejailed wordpress installation, as example of a complex sandboxing. https://www.digitalocean.com/community/tutorials/how-to-use-firejail-to-set-up-a-wordpress-installation-in-a-jailed-environment

Never trust a piece of binary blob (exe).

Related Question