New Linux Backdoor CJDoor Exploits Encrypted Networks for Covert Control
A novel Linux backdoor, CJDoor, has emerged, utilizing an encrypted peer-to-peer network to evade detection and maintain covert control over compromised devices.

Security researchers have identified a new Linux backdoor, dubbed CJDoor, that poses a significant threat by operating through an encrypted peer-to-peer network. Unlike conventional malware that relies on regular communication with command-and-control servers, CJDoor listens for incoming connections on random UDP ports. This unique approach makes it considerably harder for network monitoring tools, which often focus on outbound traffic, to detect its presence.
The malware sample analyzed was specifically compiled for 64-bit MIPS processors, an architecture commonly found in routers and other embedded devices. CJDoor's functionality is built upon code borrowed from the legitimate open-source cjdns project, a tool for creating encrypted IPv6 overlay networks. However, CJDoor significantly extends cjdns's capabilities with extensive remote control features not present in the original software. It's important to note that this discovery does not indicate a compromise of the cjdns project itself or affect standard installations.
The discovery was made by researchers at JPCERT/CC while investigating files found in open directories on two servers associated with the UAT-7810 threat group's malware distribution infrastructure. This infrastructure had previously been linked to Cisco Talos's investigation into the LapDogs network, a sophisticated operation that uses intermediary devices to obscure the origin of its traffic.
While JPCERT/CC has not yet determined how CJDoor initially infects victims or the extent of its deployment, the malware's operational method highlights a critical blind spot in network security. By establishing its own encrypted overlay network using cjdns, each infected device gains a unique cryptographic identity, allowing for secure communication between compromised peers. This contrasts with passive backdoors like BPFDoor, which operate without opening listening ports.
CJDoor's initial setup phase is not fully encrypted in transit. The backdoor first gathers system details, including interface names, IP addresses, and MAC addresses, and reports this configuration data via an unencrypted HTTP request. Once operational, it can delete its executable and configuration files, potentially complicating forensic investigations.
The malware boasts a robust set of commands, with 14 dedicated to remote control functions such as executing shell commands and establishing reverse shells. An additional 24 commands are integrated into the modified cjdns modules, enabling advanced network interface management, session handling, and route manipulation.
While previous reports have linked UAT-7810 to compromised Ruckus wireless routers as part of the LapDogs expansion, the CJDoor report does not confirm these routers as specific targets for this particular backdoor.
Defenders looking for signs of CJDoor on Linux devices should be aware of specific artifacts. These include the presence of the pp1000 virtual network interface and the potential use of tools named ud and ts, which are assessed to handle port forwarding and tunneling, respectively. Unexplained inbound UDP traffic and discrepancies between a device's expected configuration and observed network activity are also key indicators. Security teams should compare these potential artifacts against known configurations and be cautious, as the absence of regular outbound traffic or clean hash scans does not guarantee a device is free from compromise.