Your browser is not supported. Please update it.

24 September 2020

Huawei hullabaloo spreads to video as dodgy encoders discovered

Controversy surrounding Huawei’s mobile practices, from deeply embedded wireless network components to the smartphone OS, dominated headlines during 2019, and it was only a matter of time before the Chinese technology giant became the subject of scrutiny in the video sector too.

The bad news is that Huawei has been accused of having severe security holes present in software from its HiSilicon subsidiary powering video encoders from a variety of vendors – holes that can be exploited remotely to expose sensitive information, denial of service, or even initiate a full takeover. The good news is that the video encoders in question are supplied by smaller vendors that do not feature frequently in Faultline, and therefore should have limited to no knock-on effect on the largest video services and their related suppliers or partners.

The caveat to the good news is that further flaws and additional vendors are likely to be exposed as the research digs deeper. As with the wireless sector, this could well be the tip of the iceberg.

Accusations against Huawei were published by Alexei Kojenov, lead product security engineer at US CRM company Salesforce, whose research subjected security tests on a bunch of IPTV/H.264/H.265 video encoders powered by the hi3520d chipset from HiSilicon. While complex, Kojenov’s conclusion stipulates that one vulnerability stood out from the pack as a grave concern, as he discovered a hardcoded password serving as a deliberate backdoor. Most other vulnerabilities, such as coding mistakes, seemed unintentional, in his view.

This deliberate backdoor sent alarm bells ringing but, at the same time, came as no surprise, considering that Chinese companies such as Huawei are known for backdooring products, and even defending the use of backdoors as positive.

His frank advice is that these encoders should only be used on fully trusted networks behind firewalls.

Kojenov confirmed physical vulnerabilities in video encoder models from URayTech (all vulnerabilities), an IPTV encoder from J-Tech Digital (not vulnerable to telnet backdoor and path traversal), and the VeCaster Pro from Pro Video Instruments (not vulnerable to telnet backdoor and path traversal).

However, he warns that similar hardware video encoders are manufactured and white labeled the world over by many more vendors which he believes are also affected by similar vulnerabilities. These are Network Technologies Incorporated (NTI), Oupree, MINE Technology, Blankom, ISEEVY, Orivision, WorldKast/procoder, and Digicast.

Huawei’s response is important. The company put out a statement including a graphic, shown below, whereby the components marked in blue are delivered by HiSilicon, while the parts marked in green are open source code, which HiSilicon provides as reference code to equipment vendors. Applications marked in orange are delivered by equipment vendors, and Huawei claims the vulnerabilities described in Kojenov’s report relate to an application delivered by equipment vendors (marked in orange), and therefore is not included in the HiSilicon SDK.

In response to Huawei’s statement, Kojenov has said he will update his research as more information comes in. But regardless of whether it is HiSilicon or third-party equipment vendors at fault, the message remains the same – software security is an afterthought for engineers, allowing application vulnerabilities to creep in as a result. Complex supply chains can often exacerbate flaws and connected devices will forever be targeted by attacks, yet AppSec education and awareness still needs work.

Indeed, this isn’t the first time Huawei’s reputation has preceded itself in the video ecosystem. Rumors have swirled that Android TV deployments have been slowed due to the use of chipsets from HiSilicon in Android TV set tops. However, this was more of a side effect of the US-China trade war than an exposé on backdoor security flaws within video equipment, particularly ones so crucial to the video delivery chain as video encoders for compressing video signals into the required codecs for video streaming services.

Of all the thousands of vendors covered in Faultline, Vewd jumps out as the company most associated with HiSilicon in recent times, having worked with the fabless semiconductor division to develop its Vewd Go streaming software. Inside Secure (Verimatrix) is another to have recently worked with the Huawei company, inking a deal with HiSilicon in February 2019 to supply its Provisioning Platform to secure product secrets during the manufacturing process as well as throughout the device lifecycle.

One of the world’s largest set tops makers, Skyworth Digital, was a long-term user of HiSilicon until it saw the writing on the wall and replaced it with MaxLinear around 2015.

HiSilicon started off as a purely in-house resource, but was promoted last year to offer some of its products on a merchant basis too, in competition with US and other firms, in reaction to potential bars on buying US components. Huawei has also announced that it will build a version of its FusionServer Pro series based on Intel’s new Cascade Lake Refresh processor, even though it continues to develop its ARM-based infrastructure chips, in its quest for silicon self-sufficiency via HiSilicon.

HiSilicon also announced some other changes to its structure and portfolio. It has renamed its bestselling product line, Camera, as Smart Vision, targeting consumer electronics and automotive as well as its existing core market in surveillance. It has merged its set-top box and TV lines into a Smart Media category. It also said it will expand its connectivity business, with particular focus on applications requiring AI and IoT support along with 4G or 5G. It has also announced chips for a home network that would combine fiber and WiFi.

It has set up a subsidiary of HiSilicon, called Shanghai HiSilicon Technology, that will be free to sell chips on the open market, though some cutting edge developments are expected to be kept for Huawei alone.