Firejail is my new favorite tool!
I don't know if I am just late to the party but if you ever want to do anything where security could be a bit dicey: visiting naughty websites; using windows apps with wine; emulating ROMS in retroarch/emulator of your choice firejail is a really quick easy way to increase security.
to amp up security you need apparmor and some kernel params- but you get a security boost right out of the box
to open up an incognito in your favorite browser with a tmp home directory:
firejail --private firefox --private-window
About this post
- Posted
- Archived
- Score
- 9 · 92% up
- Kind
- Text
- ID
- gsdirp
18 comments
That's also a good
solutionmitigation to the Zoom spyware some of us have to use to watch university lectures during the lockdown.Why would using a Windows app with WINE be a security issue? If the Windows app isn't sketchy, it shouldn't be a security risk, should it? Unless you're talking about privacy, in which case the issue is still the specific to the app you're running and not the fact that it is a Windows app in WINE... Or am I missing something?
what i meant to say is you can force wine to always open in firejail - so that you
can't getseverely mitigate chances of malware running loose on your computer - such as ransomware that can encrypt your hard drive.edited to clarify
Ah, I guess I'm just being a nitpicker then, sorry about that.
Deleted before we saved it.
AFAIK wine app can also access all your system. So if there was a spyware in a windows app that you opened using wine, it can do all the spying stuff it could on windows.
I personally use firefox and thunderbird permanently in firejail. They run completely normal but are restricted to the rights they need. If there is a zeroday in for example firefox it is really harder for an attacker to escape from this additional sandbox. Additionally I use firejail to quickly spin up a fresh temporary browser to use for online banking. Another really nice thing is the possibility to specify a dns server for the jail. This allows me to have a bash alias wich starts arbitrary programs in a firejail which enforces usage of my pihole. Its a really nice tool, but it is important to note that it is only an additional security layer on top of your regular security measures.
It's really nice and really cool and all, and I'm not here to hate on anybody or any given software. I just like to remind people that chasing the paper tiger of cool easy security software: it can and it will lead to you getting completely blindsided with a security breach.
what are your security concerns with firejail?
None specifically with this or any given product. My concern is the excitement, the feeling of finding a new kind of pancea, or a new sharp knife for your toolbelt. And the thing about playing that game is the grass is always greener, and new tools are always shiny and cool.
This can very quickly cloud your judgement about how you're viewing your whole security stack and approach, and end up leaving you with blindspots because you're riding this confident high of your new awesome easy to use thing.
https://www.cvedetails.com/vulnerability-list.php?vendor_id=16191&product_id=0&version_id=0&page=1&hasexp=0&opdos=0&opec=0&opov=0&opcsrf=0&opgpriv=0&opsqli=0&opxss=0&opdirt=0&opmemc=0&ophttprs=0&opbyp=0&opfileinc=0&opginf=0&cvssscoremin=0&cvssscoremax=0&year=0&cweid=0&order=1&trc=14&sha=d244c5262e26dc2a9f709379c88db8695f3f5318