Assessing Unikernel Security [pdf]
nccgroup.trust
Assessing Unikernel Security [pdf]
1–9 of 9 posts
Re: Assessing Unikernel Security [pdf]
#2Re: Assessing Unikernel Security [pdf]
#3Re: Assessing Unikernel Security [pdf]
#4They set out to confirm a hunch that despite reducing attack surface by using stripped-down kernels, unikernel applications would be less secure than containerized applications because the unikernels would have relatively primitive runtime security, compared to Linux container systems which inherit two decades of countermeasure work.
They tested IncludeOS and Rumprun and found both to have approximately 1998-levels of runtime hardening. IncludeOS in particular was a steaming crater at the end; a stack overflow on IncludeOS could write directly into the (writeable!) program text, and the NULL page was writeable and executable.
Re: Assessing Unikernel Security [pdf]
#5Re: Assessing Unikernel Security [pdf]
#6This paper is pretty excellent. In particular I sort of love that they included a "Hypothesis" section that laid out what their expectations about security were. They set out to confirm a hunch that despite reducing attack surface by using stripped-down kernels, unikernel applications would be less secure than containerized applications because the unikernels would have relatively primitive runtime security, compared…
Re: Assessing Unikernel Security [pdf]
#7This paper is pretty excellent. In particular I sort of love that they included a "Hypothesis" section that laid out what their expectations about security were. They set out to confirm a hunch that despite reducing attack surface by using stripped-down kernels, unikernel applications would be less secure than containerized applications because the unikernels would have relatively primitive runtime security, compared…
Notably, the author of the paper seems to state that the implementers of the unikernels either didn't really understand how to implement proper security features or purposely weakened or disabled protections that would have been enabled by default.
Today it lacks ASLR, and the network stack needs auditing.
Re: Assessing Unikernel Security [pdf]
#8I assume Nabla and Solo5 would be scoring great in this (type of) test?
The notable thing missing at the moment is ASLR and a more robust guest memory layout in general. We have an issue with a plan for that but it's a matter of balancing a finite amount of time/manpower and priorities.
Re: Assessing Unikernel Security [pdf]
#9Only covers Rumprun and IncludeOS - not Unikernels in general