Re:My VM is lighter (and safer) than your container (2017)
by OrvalWintermute on Thursday September 08, 2022 @09:38PM
(#32774304)
I thought that presentation was a little like looking at a hobby OS of a type, then attempting to draw security conclusions for all of that type.
The NanoVMs unikernel for example, is pretty small, DoD supported, and has:
ASLR
Stack Randomization
Heap Randomization
Library Randomization
Executable Randomization
Page Protections Stack Execution off by Default
Heap Execution off by Default
Null Page is Not Mapped
Stack Cookies/Canaries
Rodata no execute
Text no write
STIG
In short - not a fundamental limitation - just that kernels (even if they are small) have a ton of work that goes into them. Nanos for instance has page protections, ASLR, virtio-rng (if on GCP), etc.