Software maker removes “backdoor” giving root access to radio devices

radio microphone

The author of a popular software-defined radio project (SDR) has removed the “back door” of radio devices that provide root-level access.

According to the author, the backdoor is present in all versions of KiwiSDR devices for the purposes of remote administration and debugging.

Last night, the author pushed out a “bug fix” in the project’s GitHub aimed at quietly removing this back door, which caused some reaction.

Since then, the original forum posts and the author’s comments with any mention of the “back door” have been removed in the last few hours.

A hard-coded password gives root access to all devices

KiwiSDR is a software-defined radio that can be attached to an embedded computer, such as Seeed BeagleBone Green (BBG).

Available as a standalone board or as a more complete version with BBG, GPS antenna and enclosure.

SDRs are designed to replace radio frequency (RF) communication hardware with software or firmware to perform signal processing activities that typically require hardware devices.

The concept is analogous to software defined network.

Yesterday, Mark Jessop, a radio engineer and radio operator, came across an interesting post in the forum in which the author of KiwiSDR a project recognized for remote access to all radio equipment operating with the software.

Another user, M. excavated a Forum topic for 2017 where the developer of KiwiSDR acknowledged that the rear door does provide them with remote access to all KiwiSDR devices.

Although the entire KiwiSDR forum site is unavailable as of today, an archived copy of the forum post seen by BleepingComputer confirms the content of the tweet:

the author of kiwisdr mentions that the devices have a back door
The author of the KiwiSDR software said that there is a reversal in all devices that give them remote access
Source: BleepingComputer

In addition, to date, more than 600 KiwiSDR devices are online, with the rear door still present in them, as well as emphasized from Hacker Fantastic.

Although these devices act primarily as radios, it is worth noting that any remote actor who logs in with the encrypted master password gains root access to the device console (based on Linux).

This can allow opponents to explore IoT devices, pick them up, and begin crawling neighboring networks to which radio devices are connected:

“These KiwiSDRs are used to receive high-frequency radios. The back door itself does not give the attacker any special SDR access, only that they can access the device’s console (Linux) and start running on networks,” the ethical hacker said. xssfox said BleepingComputer.

An image of the KiwiSDR admin panel obtained from BleepingComputer shows console-level access with root access (notice #) is possible:

kiwisdr panel
The KiwiSDR remote control panel provides root access to the device console

A video created by xssfox demonstrates how the backdoor can be used via a simple HTTP GET request that looks like this:

http://radio-device-domain.example.com:8074/admin?su=kconbyp

Note: The superuser password (kconbyp) shown above is an older password, a SHA256 hash, from which has been present before on KiwiSDR devices. The newer hash (shown below) is different, indicating that “kconbyp” will not work in newer versions of KiwiSDR and that a newer master password is available.

Dev pushes out “error correction” overnight, removing the back door

As can be seen from BleepingComputer, a few hours ago an adjustment was made to KiwiSDR’s GitHub project to remove the rear door.

The update removes a number of administrative features, in particular the code that compares the provided master password with its SHA256 hash:

kiwisdr author removes backdoor
The author of KiwiSDR removes an encrypted password from devices (GitHub)

Jessup clarified that there was no indication that the author of the KiwiSDR had misused the rear door, which was introduced with the intention of troubleshooting KiwiSDR devices in good faith.

He also said that the developer of KiwiSDR was extremely responsive in error correction and adding features.

But, like others, the engineer expressed concern that the master password would be transmitted over HTTP, allowing any actor in the “Man in the Middle” (MitM) threat to intercept it and therefore gain remote access to all devices.

Some Redditors also said that the rear doors were never OK, whether or not HTTPS was used:

“There’s no way. The back doors are never right. The password was sent clearly because HTTPS is not supported. Eventually someone would use this. Hell, someone might have already used this, and we just don’t know about it. said one of the users in the end.

KiwiSDR users need to upgrade to the latest version v1.461 released today on GitHub which removes the rear door from their radios.