New Linux Backdoor Could Let Hackers Secretly Control Devices Through Encrypted Networks

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


A newly documented Linux backdoor called CJDoor could let hackers run commands on compromised devices through an encrypted peer-to-peer network.

Instead of repeatedly contacting a command server for instructions, the backdoor waits for an incoming connection on a randomly selected UDP port.

That difference makes CJDoor harder to spot with monitoring that looks mainly for regular outbound traffic from infected devices. The sample examined was built for 64-bit MIPS, a processor architecture found in some routers and other embedded devices.

CJDoor borrows code from cjdns, a legitimate open-source networking project, and adds remote control features that the original software does not have. The discovery does not show that cjdns itself was breached or that ordinary installations are affected.

Researchers from JPCERT/CC identified the malware while examining files exposed in open directories on two servers linked to UAT-7810’s malware distribution infrastructure.

That infrastructure had surfaced in Cisco Talos’s UAT-7810 investigation, which tracked the expansion of LapDogs, a network that routes traffic through intermediary devices to obscure its origin. JPCERT/CC did not establish how CJDoor reaches victims or how widely it has been deployed.

New Linux Backdoor Could Let Hackers Secretly Control Devices

CJDoor uses cjdns to build an encrypted IPv6 overlay, a private network that runs on top of existing connections. Each infected device gets its own cryptographic identity.

Once an operator connects, the device can exchange traffic with other peers on the overlay. Unlike the passive Linux backdoor BPFDoor, which watches incoming packets without opening a listening port, CJDoor listens on a UDP port.

Open directories on malware distribution servers used by UAT-7810 (Source - JPCert)
Open directories on malware distribution servers used by UAT-7810 (Source – JPCert)

Both designs show why the absence of regular outbound traffic is not proof that a device is clean. The initial setup is not fully encrypted in transit.

CJDoor gathers system details, interface names, IP addresses, and MAC addresses, then reports its setup data through an HTTP request rather than HTTPS.

When it starts with the saved configuration, it deletes the two data files, sys.dat and netd.dat, along with its executable. That can leave responders with fewer files to recover, even while the backdoor is still running.

The analyzed sample adds 14 commands in a dedicated module, including the ability to run shell commands and open a reverse shell, an interactive command session initiated by the compromised device.

CJDoor’s initialization process (Source – JPCert)

Researchers counted another 24 commands added to existing cjdns modules for tasks such as managing interfaces, sessions, and routes.

Earlier coverage of compromised Ruckus wireless routers explains how UAT-7810 expanded LapDogs, but the CJDoor report does not identify those routers as confirmed targets of this backdoor.

What Defenders Can Look For on Linux Devices

JPCERT/CC found a Rekoobe sample and a Linux tunneling driver alongside CJDoor. All three files were built for 64-bit MIPS, suggesting they may have been intended for the same device, although researchers did not confirm they were deployed together.

Earlier analysis of the Rekoobe Linux backdoor family provides context for the second malware sample; it does not establish who operated CJDoor.

CJDoor’s execution flow (Source – JPCert)

On a suspected device, the pp1000 virtual network interface is one clue. So are references to ud and ts, two tools the backdoor can launch.

JPCERT/CC did not recover those binaries but assessed that they likely handle port forwarding and tunneling, respectively.

Security teams can compare those artifacts with the device’s expected configuration and check for unexplained inbound UDP traffic. A missing executable or a clean scan for known hashes should not, on its own, close an investigation.

Indicators of compromise (IoCs):-

Artifact Filename SHA-256
CJDoor Linux backdoor netd 597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702
Rekoobe Linux backdoor t 324911d9f045eaca8fc5ee292e75416e9f9af91f2833245600926ef0bea8edc6
TUN/TAP kernel module tun.ko 42d8ff0f14d117edc01c307f4277f5661565678b068edfb75854b7fe265d6dbc

Note: IP addresses and domains are intentionally Qdefanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join ANY.RUN and Torq to learn how TI Feeds can help your SOC detect up to 30% of malicious IOCs earlier & accelerate investigations -> Attend Free Live Webinar

The post New Linux Backdoor Could Let Hackers Secretly Control Devices Through Encrypted Networks appeared first on Cyber Security News.