by Sohcahtoa82 · 4y ago · 0 comments
When I attended Infiltrate a few years ago, there was a talk about unikernels. The speaker showed off how incredibly insecure many of them were, not even offering support for basic modern security features like DEP and ALSR.
Have they changed? Or did the speaker likely just cherry-pick some especially bad ones?
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.
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