CJDoor Linux Backdoor Uses Encrypted Mesh for Remote Access

Cyber News

Stay informed with the latest cybersecurity news, threat updates and industry insights.

Threat Intelligence

CJDoor Linux Backdoor Uses Encrypted Mesh for Remote Access

CJDoor Linux Backdoor Uses Encrypted Mesh for Remote Access

CJDoor: New Linux Backdoor Hides Remote Control Inside an Encrypted Mesh Network

Japan's JPCERT/CC has documented CJDoor, a Linux backdoor that allows attackers to remotely control infected devices through an encrypted peer-to-peer network rather than a traditional command-and-control server.

JPCERT/CC discovered a 64-bit MIPS sample named netd in open directories on two malware distribution servers associated with UAT-7810, a threat actor previously linked to Operational Relay Box (ORB) networks, including LapDogs. The investigation does not confirm the affected devices or infection scale.

How CJDoor Works

CJDoor is built on cjdns v20, which creates an encrypted IPv6 mesh network over UDP. Each infected device becomes a network node with its own key pair. The malware listens on a randomly selected UDP port and waits for attackers to connect.

Its modified code adds remote-control capabilities, including shell command execution and reverse-shell functionality. During setup, CJDoor sends device information, including interface names and IP and MAC addresses, to an attacker-specified IP address through an unencrypted HTTP request.

If standard TUN/TAP device nodes such as /dev/net/tun, /dev/tun or /tmp/tun are unavailable, CJDoor creates ./tun using mknod ./tun c 10 200. It then configures the pp1000 interface and enables IPv6.

Additional Malware and Detection

The same open directories contained two other 64-bit MIPS files:

  • Rekoobe (t): A separate Linux backdoor with file-transfer, PTY shell and command-execution capabilities. Its configured listener uses 7896/TCP.

  • TUN/TAP module (tun.ko): Possibly staged to provide TUN support on devices lacking the required module.

CJDoor also references /tmp/ud and ./ts, apparently for port forwarding and tunneling. However, neither binary was recovered, so their exact functions remain unconfirmed.

Because CJDoor uses encrypted traffic and a random UDP port, defenders should prioritize host-based hunting for unexpected pp1000 interfaces, suspicious TUN modules, netd.dat and sys.dat artifacts, and unusual UDP listeners. The 7896/TCP indicator should be investigated separately for possible Rekoobe activity.

CJDoor SHA-256: 597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702