3 ms·
>Based on a Linux kernel Way to disappoint me. I was expecting some cool pure microkernel goodness, perhaps based on seL4.
by snvzz 8y ago
>Based on a Linux kernel
Way to disappoint me. I was expecting some cool pure microkernel goodness, perhaps based on seL4.
- Klover 8y agoPerhaps cool factor is not their goal ;)
- snvzz 8y agoIf security is their goal, even more so. Linux can't be made secure for a very simple reason: The kernel is huge, and all of it runs in supervisor mode.
- agumonkey 8y agoperfectionnism vs pragmatism ? Maybe making a full fledged sel4 OS would take years ... I don't know.
- akavel 8y agoIt is rather: security vs. non-security. Pragmatism pulls in the non-security direction. When security people see "Linux-based", they already know the thing is situated at some particular point on the scale, or worse. Linux has big TCB surface, so it's intrinsically hard to secure.
- snvzz 8y ago>hard to secure. Is an understatement. It can't be made secure without rewriting the kernel using a proper system architecture, and then it isn't Linux anymore.
- agumonkey 8y agoIf you produce no secure OS you have no security. I understand your point of view but you gotta keep some realism in mind.
- akavel 8y agoSure, one can roll on the ground hoping to get to a slightly higher place ("making Linux more secure"), or one can dig a hole, put up a foundation (L4, Genode, etc. etc.) and build a tower on it. Rolling on the floor is sure easier and provides a sensation of movement ("yay, we have something 'practical', another Linux-based distro! look, we've spent a lot of effort and careful direction planning to roll a few cm/inches higher!"). But as for "realism", which is more realistic: to roll on the ground hoping to get higher, or to build something more difficult which can really get one higher? If I see "Linux-based secure OS", I think of the rolling, and think "right, they maybe got a bit higher, hope they didn't break something unexpected by virtue of spaghetti interactions and actually fell into a hole"; also, there's most probably still a lot of bugs in Linux kernel they didn't know of so couldn't secure. So maybe they even didn't get that much higher they thought they did. But even assuming they really improved a bit and didn't break nothing, they sure didn't get to a tower height.
- DyslexicAtheist 8y agoindeed would have been cool. genode / seL4 deserve more love imvho :(
- pgeorgi 8y agoare you aware of https://muen.sk https://muen.sk? Not L4, but that wouldn't be secure enough anyway...
- snvzz 8y agoI'm muen-aware, but I favor https://sel4.systems/ https://sel4.systems/. seL4 isn't a random L4, it does capabilities and has more complete proofs than muen.
- msla 8y agoHypervisors are both older than microkernels and more secure. (The people who insist hypervisors are microkernels are ignorant of both technology and history.)
- wahern 8y agoCommon hypervisors like ESX and Xen definitely aren't like microkernels, though they'd be more secure if they actually were. ESX and Xen are more like monolithic kernels. The problem is that in practice they've become mini-kernels with their own driver systems and increasingly large code surfaces, recapitulating the mistake of monolithic kernels. seL4 actually can act as a hypervisor, and their build framework comes with support for building Linux guests into the bootable system image. I don't know if there are proofs of security wrt to the hypervisor, nor what the worth would be considering how complex the CPUs are these days, but I'd have much more trust in seL4 as a hypervisor and driver framework than in something using FreeBSD or Linux as the critical guarantor of system security. If you're stuck with commodity x86 or ARM hardware and really want a strong architecture, seL4 is the best option unless you want to build from scratch. Apple uses another L4 derivative as the OS for its security chips; an in-house derivative that predates the seL4 project.[1][2] [1] https://microkerneldude.wordpress.com/2016/04/14/so-the-fbi-cracked-the-iphone-with-a-zero-day-and-hardware/ https://microkerneldude.wordpress.com/2016/04/14/so-the-fbi-... [2] https://www.blackhat.com/docs/us-16/materials/us-16-Mandt-Demystifying-The-Secure-Enclave-Processor.pdf https://www.blackhat.com/docs/us-16/materials/us-16-Mandt-De...
- snvzz 8y ago>more secure. Hypervisors don't imply more secure. >(The people who insist hypervisors are microkernels are ignorant of both technology and history.) Truth. However, hypervisors implemented without microkernels won't be secure. Look at Xen and its large TCB for an example of doing it wrong. Look at seL4's VMM for an example of how it is done properly.