3 ms·
> Sandboxing is a way to limit the potential damage a compromised process can do. Firejail is the tool I like the most for this task. Note that Firejail is a s
by matthews2 4y ago
> Sandboxing is a way to limit the potential damage a compromised process can do. Firejail is the tool I like the most for this task.
Note that Firejail is a suid binary that has had a reasonable number of vulnerabilities in it, so it may hurt more than it helps.
https://www.cvedetails.com/product/36171/Firejail-Project-Firejail.html?vendor_id=16191 https://www.cvedetails.com/product/36171/Firejail-Project-Fi...
- fonder 4y ago> it may hurt more than it helps. If we use a web browser as an example, what are the odds that a compromised website is going to try to exploit the browser itself vs. exploiting an external sandbox application? Clearly the former. Sandboxing a web browser will prevent many more classes of attack than it exposes you to. Also worth noting that the suid binary you mention will refuse to run at all if the executing user isn't in its whitelist. It's not like you can pop a shell on some ftp user and run firejail as root.
- insanitybit 4y agoYou're assuming escaping the browser sandbox wouldn't also escape the firejail sandbox. The bypasses are likely the same.