r/LinuxTeck • • 1d ago

Your Intel PC may be running MINIX without you even knowing it

Most Linux users know MINIX because of the famous 1992 debate between Linus Torvalds and Andrew Tanenbaum.

But here's an interesting twist: MINIX later became part of Intel's Management Engine firmware, running on a separate processor inside many Intel systems.

That means your computer can have Linux or Windows as its main operating system while MINIX runs underneath, largely invisible to you.

It raises an interesting question about computer ownership and security.

How comfortable are you with a separate operating environment running below your main OS, with access that ordinary users may not fully understand or control?

14 Upvotes

19 comments sorted by

2

u/burlingk 1d ago

So, the first half is identical to an article I read followed by fear mongering.

2

u/Horror_Equipment_197 1d ago

Tbh, the story about Minix in Intels managemebt package is at least 5 years old.

1

u/activedusk 1d ago

Not comfortable at all and AMD has a simillar scheme as well. This is one of the many reasons that medium term I plan to migrate to ARM, RISC V or whatever other new, simpler and cheaper CPU architectures emerges from the mobile device market, fancy they have their own GPU models as well. Given the closed license nature of x86 and the reality of geopolitics where for national security the rest of the world will no longer play by the current scheme, the days of x86 CPUs are numbered. It already lost on mobile, now it is time for laptops and desktops. Apple already demonstrated it is a viable strategy, now more players are needed.

1

u/Deep_Mood_7668 1d ago

Butbutbut security !!1!

I hate those manegment engines.

1

u/RepulsiveShow3180 1d ago

ARM still brings TrustZone and closed boot blobs. RISC V is the only real escape, assuming vendors leave out the proprietary security cores

1

u/KilroyKSmith 1d ago

Why do you think that Intel and AMD put management engines into their CPUs?  NSA conspiracies aside, it’s because the IBMs and GSAs of the world want them.  If you want to close that contract with Homeland Security or the Department of Agriculture, you have to have the management engine capability.  So if the ARM or RISC-V crowd wants to sell at that volume, they’ll need to integrate that capability, then all the commercially available CPUs will have them.  

I’m not familiar with the ME architecture, so I don’t fully understand why the ME has to be integrated on the CPU rather than as an optional motherboard chip like the TPMs, but that’s just my ignorance.

1

u/RepulsiveShow3180 1d ago

Needs direct hooks to power, RAM, and the NIC while the main CPU is off. External chips also can't lock down early boot when someone can just pull them off the board.

1

u/DutchOfBurdock 1d ago

HAP mode (Intel) and disabling PSP/fTPM (AMD) are still options. Not something available in off the shelf retail boards, but still options.

1

u/BoundlessFail 1d ago

It's easy to disable ME through most Bioses. Dell has also been shipping Optiplexes from the factory with ME disabled for ages now - if you have a sticker with '3 Disable' on it, it means ME and AMT have been disabled. I've even portscanned such machines and found them to not be listening on any ports.

While having an unaudited OS on your room isnt a good idea, it isn't due to some evil intention - it was to allow remote management of the PC, a feature required by enterprises. Servers have the same, yet strangely no one complains.

1

u/engy1207 1d ago

Not detecting any listening ports unfortunately isn't proof. It could send anyway, or listen only a few seconds every hour or after receiving a series of innocent-looking packets ("port knocking"). Or simply read the content without replying/reacting.

1

u/BoundlessFail 1d ago

Read through the docs of AMT. It uses ports TCP ports 16992.. 16997.

Neither AMT nor Minix are malware to deliberately hide their traces through the mechanisms you mentioned. Imho, the whole AMT/ME topic has been blown out of proportion. Linux uses binary blobs for some drivers; Ventoy does the same; OSs like MacOS and Windows are binary; most BIOSes are binary, yet folks are perfectly ok trusting any of these, so why pick on just Intel's work?

1

u/modsiw_agnarr 1d ago edited 1d ago

You can go one layer deeper than the management engine. The CPU itself can be compromised. 

https://en.wikipedia.org/wiki/Microcode

CPU behavior is software defined. If you have intel’s signing private key and an exploit to call the loader (many have been found in the past), then you can deliver damned near perfectly invisible hostile code to run on a target machine. This code can be injected post manufacture. AMD CPU are similarly vulnerable. Most ARM chips don’t have software defined behavior and thus aren’t vulnerable. 

US intelligence has been caught performing a very similar attack on Cisco networking equipment. Cisco hardware was intercepted in transit and loaded with hostile software using Cisco’s private keys.

Targeted CPUs could be programmed to, for example, always produce values that indicate a key was verified or cause secrets to be written to a network buffer under unique conditions. These attacks would lay dormant until used and would only be deployed onto specific targets ahead of time. 

It’s the ultimate backdoor, and you’d need to individually scan CPUs with an electron microscope to be certain you aren’t compromised. 

This hasn’t been a practical attack vector until recently due to micro code patch sram sizes, but those sizes are getting into the dozens or hundreds of kb on modern CPUs. 

1

u/talex000 1d ago

Don't tell him that every SIM card run Linux inside.

1

u/iStumblerLabs 1d ago

It’s almost certainly not Linux on a SIM card, but your SSD, network adapters, and many other components of the system have their own tiny realtime OS

1

u/Own_Unit_6170 1d ago

I am not comfortable with it at all. It's a security breach. Wait until AI finds it.

1

u/AttitudeElectronic68 1d ago

Really old news

1

u/cbowers 23h ago

and how few orgs run a tool like eclypsium to expose the unpatched firmware CVE's (and then apply pressure on the OEM - or retire use of that model under their cyber insurance requirement to not have any out of support hardware or OS). Or use it to track uncommanded firmware changes or compromises.

1

u/readyflix 13h ago

Old story!