mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1022] hybrid isolation approaches #699
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#699
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xahare on GitHub (Jan 5, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1022
this isnt an issue, this is just the best forum i can think of to discuss hybrid isolation approaches.
for my own, im using virtual machines and firejail. sometimes in qubes-os, and sometimes my own scripted maze of virtualbox, packer, and ansible. a previous version did this with vmware, but virtualbox does a better job with usb device isolation. qubes-os is far better, but only some hardware can run it.
virtual machines drop the mic (sorry, couldnt resist), cameras and other devices (mute the mic in the host os. suspend all other VMs when you need that mic). this extends into protecting the host from malicious usb devices.
they also allow for typing into apps on vms that dont run x11. wayland, mac/windows vms etc. this is mostly for password keepers.
so the model is 4 vms. 1 usb canary that gets snapshotted / reset at each use, 1 package cache and "router", 1 password keeper, and the main one running firejail for everything else. the rest of the system is free for vagrant, whonix, disposable vms etc. ive tried the "router" taking a usb wifi device, leaving the host os either without network access and just routing through that vm. both have worked pretty well, except on a mac where you cant pci pass devices and the available usb wifi cards are weak compared to onboard ones.
the clipboard of the password keeper is either typed into the target vm, or copied to its clipboard.
the virtualbox python module messes up some non alphanumeric characters like ` and ~, and ive had a little trouble with xdotool in python, though i had no problems doing that through pure shell scripts. xdotool only works with x11 so i have little interest in taking the time to fix it. theres also vncdotool for vmware/kvm, and qemus built in send_key. has anyone here tried those?
has anyone here tried intels clear containers?
@netblue30 commented on GitHub (Jan 5, 2017):
That's the best feature of VMs, pure sandboxing will never be able to do it.
I am open to any kind of new developments in this area, something like starting a VM with firejail the same way we start today xpra or xephyr for x11. VMs and sandboxes will have to merge at some point.