by amiircoal · 4y ago · 0 comments
Since it is immutable, restarting the VM will clear all files back to a clean slate.
macOS has app sandboxing built-in, but it is not as good as a VM.
I’m curious why this isn’t a more popular setup? Running a browser in an isolated VM seems like it should be a best practice. Does anyone else run a similar setup?
But if you're that careful, what is the VM really doing for you, and why the hell are you even exposing yourself that much? Just use Lynx or something.
The real solution is this: Install Firefox, install noscript to nuke all javascript, install ublock too, and get a password manager. Selectively allow any webpage interactivity, as necessary. The world isn't a Tom Clancy novel so you don't actually need to do anything more than this to be very secure and on top of almost all active threats.
Ultimately to achieve what we all actually want (strong isolation guarantees that would prevent a full browser exploit from both A) your SSH keys from getting stolen and B) also your gmail spool from being attacked, and let's be honest, B is the worst case scenario) requires a rethinking of the fundamental software stack from OS to user-visible applications. No amount of Browsers-in-a-VM are a substitute.
Yes running a VM won’t protect against this threat.
Running a VM will pretty much eliminate that 0-day from infecting the host OS, where it could become a persistent threat and have access to a range of sensitive data.
This is not security theatre. You just have incomplete threat modelling here.
https://www.securityweek.com/chrome-sandbox-escape-vulnerabi...
Web browser sandbox escape just by viewing a HTML page. Not common, but it happens.
Security is about risk management and levels of protection. Saying locking your door is useless because someone might drive a car through is not going to help anything.
[1] https://nakedsecurity.sophos.com/2020/06/12/facebook-paid-fo...
Maybe I'm missing something, but I'd love to know why this doesn't make good sense. Each VM is isolated from the others and also from the host OS.
Obviously I'm not saying 2FA isn't good, and doesn't mitigate some clearly related attacks like raw credential theft (whether or not the browser is exploited, obviously.) My position is just that browsers-in-VMs is a mostly roundabout threat model whose actual benefits (such as some semblance of filesystem isolation) can be achieved other ways. The things these approaches can not fix are otherwise systematic issues that require major redesigns to achieve.
What other ways would you recommend for filesystem isolation better than simply immutable VM running a web browser?
Qubes is super cool. It's just a pity that it also imposes a bit too many constraints (especially related to USB keyboard... For security reasons) and performance penalties to make it a realistic alternative for me
Downloads are a primary usage in the browse for me, and copy/paste is too.
Do you not find that this and the ‘control v’ versus ‘command v’ thing drives you mad?
How do these (relatively minor) things get solved? Key remapping might do the latter.
Downloads -> writable storage, e.g. network directory or local mutable disk.
Same can be down for the browser profile directory, if that doesn't weaken your local security goals.
And one that most people never deal with? At least from a browser exploit…
> WebKit: Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited.
Take it with a grain of salt though as they ship their own VM now too :) https://www.openbsd.org/faq/faq16.html
TLDR: P(non-root-vm-breakout-not-requiring-app-breakout) < P(app-breakout) and P(non-root-vm-breakout) < P(local-pe | system-service-exploit)
My employer requires a certain unpopular remote access client suite that installs unnecessary background services running as root. The reliance on a certain unstable audio streaming plugin for skype calls makes everything harder to work on a VM.
Performance is acceptable, even for videos and the like. I'm sure it's considerably slower, but it works for me. I also see adding a bit of a speed bump that mentally distances the web from my main computing environment as a benefit.
"Krypton" is the name of the isolated microVMs in Hyper-V, but they don't really document it at all.
I do a fair amount of upload/download of docs and images. And some of the "cookie pre-fills stuff for me" is useful. I know you can work around all that, but I'm lazy. I suspect more lazy people like me is the primary reason it's not popular.
At least they run their own servers, instead of using a public cloud provider.
e.g. the most recent iOS 15.3.1 security update for iPhone 6S and later devices, https://support.apple.com/en-us/HT213093
> WebKit: Processing maliciously crafted web content may lead to arbitrary code execution. Apple is aware of a report that this issue may have been actively exploited.