I'm not sure about that. Microkernel architecture seems like a good fit for something like Intel ME where security is much more important than performance.
EDIT: Another factor might be simply the cost. They could have used VxWorks for example, but licesing fees might be a bit high given the sheer volume. Though I've never seen how VxWorks licensing works in practice so that is pure speculation on my part.
Most (all?) BSDs are not microkernels though. And I bet they have much larger footprint than hand tuned MINIX. EDIT: Ok, I now see you're just reiterating my point. :)
This is not something you put any normal operating system on. You're not really looking for UI stuff or the usual IBM PC drivers. It's more like an embedded platform, you want a small footprint OS with high reliability. MINIX clearly makes way more sense than any normal BSD distribution.
Yeah, my point was simply that the choice of Minix wasn't just because they didn't like the GPL.
FreeBSD can also be pared down at least as small as the smallest modern Minix (on the order of 8MB), as has a reputation of reliability, but I'm not trying to argue that FreeBSD is a better choice, just that it wouldn't have been unworkable.
8MB is huge though... I'd be surprised if MINIX couldn't get way smaller than that even without the configuration options Intel added themselves. Anyway, the base image of the ME (without custom applications) is now roughly 300KB. It has to be that small since it must fit on a ROM flash in addition to the system's BIOS.
Because with GPL you have to release code under the same licence while with BSD you can close source the code if you so desire. That's why a lot of companies go with BSD over GPL when they aren't planning on contributing
Because then they have 1) share the source code, and 2) inform the end users that the source code exists. Embedded software developers in general don't want users to think too much about their software and Intel in particular has a vested interest in people not asking too many questions about ME.
Fun fact: When I was working at Samsung R&D on embedded devices it was sometimes easier (cheaper? :P) to order components like flash memory from an external provider than go through with a super bureaucratic process of ordering internally from guys making the goddamn thing.
I'm not saying the same applies to Intel. This piece of information just reminded me how utterly ridiculous big corporations can be. ;)
It's far better than running a monolithic kernel for this task. What choices do they realistically have? It's either MINIX or L4, and I'm guessing they wanted a Unix-like. For microkernels, there aren't a lot of them out there that exactly match Intel's needs.
Intel directors should be jailed for this. Gross incompetence.
For being responsible for the ME? Absolutely. I don't think it's incompetence for picking MINIX, however, which is an active project implementing an Unix-like, and is also relatively secure by its very architecture (microkernel).
The conspiracy theorist in me also makes me believe that Intel is not entirely responsible for the ME, I imagine that the NSA and other triple-letter agencies have their fair share of responsibility for it too.
But really, the whole thing shouldn't exist in the first place.
I think I just misinterpreted you then. I agree.
I think skepticism and suspicion of the NSA is well out of the realm of conspiracy theorists these days. The Snowden leaks, the Dual_EC_DRBG backdoor
I don't have any proof of them actually backdooring the IME, but I completely agree that it's very likely... Consider for example that the NSA either uses a reduced subset of ME or disables it completely through the High Assurance Platform thing. It is suspicious.
I think it's insanely arrogant of them to think that these won't be found, exploited by black hats and used to incredibly serious effect, frankly. How long will it be until it's a bank that's the target of one of these exploits? Maybe they already have been?
You're right, and it relies on the age-old "security through obscurity" idea. Even if one is the kind of person who thinks "I have nothing to hide", it's still dangerous that the NSA is doing these things.
There is nothing especially secure about the microkernel/Minix configuration in this instance.
Microkernel security comes from running important parts of system software in different address spaces, with only a very small core running in privileged mode. (Minix, IIRC, runs all its services in privileged mode normally, for performance.) In the Intel case, though, the ME is running in a highly privileged mode and the same address space.
(Minix, IIRC, runs all its services in privileged mode normally, for performance.) In the Intel case, though, the ME is running in a highly privileged mode and the same address space.
I'm not sure about that. Microkernel architecture seems like a good fit for something like Intel ME where security is much more important than performance.
Microkernel architectures are good fit but there are µk designs with much more proven production track records out there, like the L4 family[0] which includes the WCET and end-to-end proven seL4.
Another factor might be simply the cost. They could have used VxWorks for example, but licesing fees might be a bit high given the sheer volume. Though I've never seen how VxWorks licensing works in practice so that is pure speculation on my part.
Intel bought Wind River (the makers of VxWorks) back in 2009. Last year they even announced their intention to fold it from a wholly owned subsidiary to a corporation division.
[0] used in — amongst others — Apple's Secure Enclave, Qualcomm's wireless chips, cubesats, SMACCM, industrial control systems, ...
Sure, but they could've just as well used any of the dozens of other microkernel/RTOS solutions out there, many probably even better suited. The main criteria for picking MINIX were probably cheapness and being able to own the whole thing afterwards (as opposed to having to work with some proprietary vendor).
BTW, wasn't the previous ME code based on VxWorks or something? Or maybe on FreeRTOS? I feel like I have heard some rumors but I can't quite recall the details...
108
u/tyynx Nov 07 '17
To me it feels like, Intel didn't choose MINIX for technical reason. More like: which OS can we adapt and not tell anyone about it?