by antiviral · 7y ago · 0 comments
One option is to use a VPC on a cloud-hosted machine to access whatever emails, links, websites someone sends you, but this can be time-consuming and costs money.
This article claims that Docker would also not be a good solution:
https://security.stackexchange.com/questions/107850/docker-a...
"...container solutions do not and never will do guarantee to provide complete isolation, use virtualization instead if you require this."
So is there any other way to create a sealed off sandbox on your own machine that would create a type of moat between your machine and your adversary?
It uses xen hypervisor to then launch separate VMs for your different applications. Not an OS for everyone but I have been running it for some time and have had a good experience with it.
For an app you could configure what filesystem and registry access was allowed and you could redirect FS access.
Implemented it as a kernel driver that hooked into the relevant system calls. It was easier to do kernel dev back then (we are talking mid 2000's) - i havent touched windows kernel coding in years.
I wonder if Microsoft has implemented a jail for processes in recent versions of windows. Running browsers in a VM can be cumbersome.
https://techcommunity.microsoft.com/t5/Windows-Kernel-Intern...
Running with javascript disabled except on a small set of sites will also help protect against many attacks.
[1] http://www.securingjava.com/chapter-two/chapter-two-2.html
It feels to me (not a security guy!) like there was something fundamentally too complex here. I wonder if part of the problem is that unlike the browser, there's no natural boundary. JavaScript is was originally built to live in a small self-contained world with specific access to the outside. Java was built with features for writing applications that could touch the filesystem, redefine classes, and everything else. It was also supposed to make everything safe, but that led to complex checks everywhere to try to distinguish privileged from unprivileged code.