Intel Management Engine, Libreboot, Dell E6400


Intel Management Engine (IME)

There is abundant concern about lowlevel spookware in modern processors.

The Intel Management Engine (IME) has since 2008 been baked into practically all Intel CPUs. It is an independent processor that runs its own x86 processor, firmware and operating system, and has essentially unlimited privileges including memory, networking, storage, … It operates on a lower level than even the BIOS/UEFI firmware.

It is (obviously) entirely closed source, and so cannot easily be audited nor controlled.

AMD has a similar technology.

Public understanding of the IME has developed through reverse engineering attempts. A few interesting articles:

Unsurprisingly, a layer with such privilege can be used as a vector for exploits; INTEL-SA-00086 was a vulnerability covering a wide range of processors.

me-cleaner is a script that “modifies IME firmware images to reduce its ability to interact with the system”, and “tries to disable the IME during normal operation” (i.e. after boot).
It does not, however, remove the IME.


Libreboot

Coreboot and the related Libreboot projects aim to replace proprietary firmware. Libreboot is merely a distribution of coreboot, and provides firmware images, build tools and boot payloads. Libreboot is mostly available on older hardware: you can find a compatibility list on their site.

libreboot logo
Libreboot

Libreboot replaces the BIOS/EUFI firmware on the SPI flash chip with coreboot. This performs lowlevel tasks like initialising RAM, setting up peripherals, … Coreboot then launches a payload (like SeaBIOS) which is needed to boot an OS.

Replacing the BIOS does not disable the IME, but on older Intel chipsets, it can be disabled by setting bits in the Intel Flash Descriptor, a region in the flash chip (documentation here). Libreboot configures these bits and allows the IME firmware to be removed entirely.

A classic solution to the IME menace is installing Libreboot on an retro Thinkpad, but depending on the model this usually requires hardware flashing (i.e. using an external programmer). Furthermore, as retro Thinkpads have something of a cult following, prices are high relative to the performance you will get.

If only there were a cheap, widely available computer that could easily be librebooted…

Enter: the Dell Latitude E6400.


Dell E6400

The Dell E6400, pictured below with a comically low quality png, is a laptop from 2008 with a blazingly fast Intel Core 2 Duo P8400 processor and a whopping 2GB DDR2 (800Mhz) memory. Granted, the memory is expandable (my model came with 4GB).

dell e6400
Isn't it a beast?

The important details:

The E6400’s embedded controller is connected to a chipset signal GPIO33 which can override the Intel Flash Descriptor’s access restrictions, which Libreboot takes advantage of. Note that only the Intel-graphics variant of the E6400 is supported, not the Nvidia variant.


The question then becomes, how usable is such a laptop nowadays?

Well, the answer is contingent on what software you use.

Installed on my e6400 is Arch with dwm as my window manager. Using a window manager instead of a full desktop environment is highly recommended. Lightweight software in general makes using such an underpowered computer much more bearable.

A few recommendations for common use cases:

I also really enjoy suckless software, and their programs tend to be highly performant.

In general, if you use lightweight software, then the laptop is very much usable. It is actually much more responsive than I was initially expecting. For myself, I went through a year of university with this as my only computer.

my e6400
Basic suckless setup

Replacing the HDD with an SSD is extremely easy, so I recommend doing this. Ahh, when laptops were modular..

Several warnings:

I’ll conclude by saying the IO is very expansive, the keyboard is acceptable, and the screen is… also acceptable.


>> Home