I just spotted a story about Ubuntu running on a Google Nest Hub (2nd Gen).

Well, that is certainly exciting!

So, let me share more about it here.

Hacking Google Nest Hub to Install Ubuntu

Yes, a hacking attempt made this possible.

A cybersecurity professional, Frédéric Basse, broke the secure boot on Google Nest Hub (2nd gen) and managed to run Ubuntu.

Of course, Google Nest Hub does not officially support booting a custom OS. But, a security vulnerability allowed Fred to use an exploit and run Ubuntu.

While this is fun, it is also a severe problem for an always-connected smart home display by Google.

Credits: Frédéric Basse

As explained in his blog post, the hacker utilized a Raspberry Pi Pico microcontroller to exploit a USB bug in the bootloader to break the secure boot chain.

The security expert concluded:

As a result, an attacker can execute arbitrary code at early boot stage (before kernel execution) by plugging a malicious USB device and pressing two buttons

He has also made the bootloader exploit available on GitHub, if you want to experiment (suited for security researchers).

Making Ubuntu Work on Google Nest

Credits: Frédéric Basse

The exploit allowed the attacker to boot an unsigned OS. However, he had to make some modifications with the preinstalled Ubuntu image tailored for Raspberry Pi (64-bit ARM).

Here’s what he mentions about it:

We build a custom U-Boot bootloader with secure boot disabled and boot flow altered to load environment from USB flash drive. We also build a custom Linux kernel for elaine with additionnal drivers like USB mouse. The initial ramdisk (initrd) from Ubuntu is repacked to integrate firmware binaries required for the touchscreen. The boot image is created based on the custom Linux kernel and modified initrd.

So, it is evident that you will not get a full-fledged Ubuntu experience, but thanks to the exploit, we now know that Ubuntu can run on a Google Nest as an experiment if you’re willing to break your Google Nest for the test (don’t do that, really!).

Smart Home Security Concern + Linux

The cybersecurity expert mentions that the vulnerability has been fixed upstream (twice).

But, the lack of CVE may have influenced the fix not propagating downstream, as the researcher suggests.

Undoubtedly, seeing Linux running on an unsupported device is awesome. Makes me wonder if we should have someone make commercial smart home devices powered by Linux?

Is there something like that already available?

Nevertheless, it is equally concerning for smart home devices to be vulnerable to easy attacks.

What do you think? Share your thoughts in the comments down below.

Via: Liliputing

Ankush Das

A passionate technophile who also happens to be a Computer Science graduate. You will usually see cats dancing to the beautiful tunes sung by him.