I have played around a bit with Metasploit to see how browser exploits work.
They basically rig a web page with exploits, and then it does what's known as "arbitrary code execution", to open up a "remote shell".
As far as I can tell.. the remote shell is running in the browser's RAM. They are essentially hi-jacking the browser's RAM, and using it to run their own remote shell.
The hacker then usually loads a file from the remote shell, onto the computer's hard drive, in order to obtain persistence... As soon as the browser tab closes, the remote shell is gone, hence why they need persistence.
So my question is about persistence.
Is it possible to simply remove the hard drive altogether from Whonix, to prevent them achieving persistence...?
I know that TAILS simply doesn't have a hard drive at all.
Would this be useful to have in Whonix..? To remove the hard drive altogether, perhaps in VM Settings in QUBES...?
Or is it possible to run a Xen exploit purely in the browser's RAM anyway...? Thus, they don't even need a hard drive because they can just run the exploit in RAM anyway...?
So the main question is really whether they can run the Xen exploit in RAM anyway.... or not.... If not, then surely removing the hard drive itself would be useful...?
Hopefully you understand my question.
Wow.
And what do you think about Selfrando..?
Is this going to fix browser exploits once and for all, or will it just fall to hackers..?
https://blog.torproject.org/blog/selfrando-q-and-georg-koppen
"Selfrando randomizes Tor browser code to ensure that an attacker doesn't know where the code is on your computer. This makes it much harder for someone to construct a reliable attack--and harder for them to use a flaw in your Tor Browser to de-anonymize you."
"While ASLR takes code and shifts the memory location in which it runs, Selfrando works by taking each code function separately and randomizing the memory address at which it runs.
If the attacker cannot predict the memory position at which pieces of code execute, then they cannot trigger memory corruption bugs that usually allow them to run rogue code inside the Tor Browser"