Re:ZeroVM: lightweight containers based on Google Native Client
by mcartyem on Saturday March 24, 2012 @11:23AM
(#3749575)
How secure is the VM given a binary that can dynamically modify itself to bypass the inspection of the VM?
[ Parent
| on HN ]
Re:ZeroVM: lightweight containers based on Google Native Client
by camuel on Saturday March 24, 2012 @12:23PM
(#3749742)
I assume by VM you mean ZeroVM. Well, ZeroVM currently doesn't allow self modifying code at all. Nice try.... We haven't touched Google's provided validator in order not to break anything security-related. And if you think you have a good idea for vulnerability then you can claim some Google prizes.
If you meant more practical uses for it then unfortunately modern JIT would be difficult to support efficiently as they constantly recompile and with ZeroVM it is not only recompilation but also validation. However, JIT that recompile only once, on loading, is easy to support. In fact, next version of NaCl dumps GNU toolchain in favor for JITy LLVM, but then recompilation is happening only once.