Threat intel5 min read
CJDoor Linux backdoor hides in an encrypted cjdns network
A new Linux backdoor for MIPS routers uses a modified cjdns to wait for its operators on a random UDP port instead of calling home. It was found on servers tied to the LapDogs relay network.
4Tify Team

A Linux backdoor called CJDoor gives its operators a hidden way into infected devices without ever calling home. JPCERT/CC, Japan's computer emergency response team, published its analysis on 4 December 2026. The sample is built for 64-bit MIPS, the processor family used in many routers and other embedded devices.
What happened
JPCERT/CC went through the malware distribution servers named in a July 2026 report on UAT-7810, the group that builds the LapDogs relay network out of hijacked routers. Two of those servers had open directories. Among the files sitting in them were CJDoor, a copy of the older Rekoobe Linux backdoor and a TUN/TAP kernel module (tun.ko). All three were compiled for 64-bit MIPS, which suggests they were meant for the same kind of device. Nobody has confirmed they were installed together.
The servers are the only link between CJDoor and UAT-7810. The analysis does not say who ran the backdoor, how it gets onto a device or how many devices carry it. JPCERT/CC describes the scale of infections as unclear and says it is still investigating.
How it works
CJDoor is a modified build of cjdns, a legitimate open-source project that creates an encrypted IPv6 network on top of ordinary internet links. The malware is based on cjdns version 20 (the current release is 22). Nothing suggests the cjdns project itself was compromised, and people who run normal cjdns nodes are not affected.
Most backdoors contact a command server at regular intervals, and that outbound traffic is what many defenders watch for. CJDoor works the other way round. When it is first set up, it picks a random UDP port and generates its own key pair, so every infected device gets a separate identity on the attacker's cjdns network. Then it waits for the operator to connect in.
The setup step also collects the device's system details, network interface names, IP and MAC addresses, and whether iptables and a TUN device are available. That data is stored in two encrypted files, sys.dat and netd.dat, and sent to an IP address in a plain HTTP request. When the backdoor is later started from that saved configuration, it deletes both files and its own executable, then starts listening for connections.
The operators added 14 commands in a new module and 24 more inside existing cjdns modules. They cover running shell commands, opening a reverse shell, connecting to and dropping other peers, managing passwords and opening IP tunnels through the device. CJDoor can also start two helper programs, ud and ts. They were not recovered, but JPCERT/CC assesses that they handle port forwarding and tunnelling.
Who is affected
Owners of Linux-based edge devices on MIPS hardware, such as routers and access points, are the most likely targets. The devices tied to the wider UAT-7810 campaign were found mainly in the United States and Southeast Asia, with others in Japan, South Korea, Hong Kong and Taiwan. Those locations are for the campaign as a whole. None of them is a confirmed CJDoor infection.
What to do now
The random port and encrypted traffic make CJDoor hard to spot on the wire, so look at the devices themselves:
- Check routers and other Linux devices for a network interface named
pp1000, which CJDoor creates. - Look for files named
udorts(including/tmp/ud), atundevice node created in an odd working directory, and any traces ofsys.datornetd.dat. - Compare each device's interfaces, open UDP ports and processes with its expected configuration. Inbound UDP that you can't explain deserves a closer look.
- Add the published SHA-256 hashes to your detection tools. CJDoor (
netd):597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702. Rekoobe (t):324911d9f045eaca8fc5ee292e75416e9f9af91f2833245600926ef0bea8edc6.tun.ko:42d8ff0f14d117edc01c307f4277f5661565678b068edfb75854b7fe265d6dbc. - A clean hash scan or a missing executable does not prove a device is clean, because CJDoor deletes its own file.
- Patch or replace edge devices that no longer receive updates, and keep their admin panels off the internet.
The full technical write-up, with the command tables, is in JPCERT/CC's analysis. For the wider problem of covert networks built from hijacked routers, the joint advisory published in April by the UK's NCSC, CISA and partners lists defensive steps.
Backdoors like this live on the routers and boxes that nobody inventories. Our Attack Surface Management service finds the edge devices and services your organisation exposes online, so old hardware gets patched or retired before it becomes someone else's foothold.
