# CJDoor: Passive MIPS Backdoor Abusing cjdns Encrypted Overlay Network (linked to UAT-7810 / LapDogs ORB)

> JPCERT/CC describes CJDoor, a passive 64-bit MIPS ELF backdoor ('netd') built on cjdns v20 that listens for inbound UDP and joins infected devices to an attacker-built cjdns IPv6 mesh instead of beaconing to a C2. It was found in open directories on malware distribution servers named in Cisco Talos reporting on UAT-7810 (LapDogs ORB), alongside the Rekoobe Linux backdoor and a TUN kernel module.

- **Author:** Threadlinqs Team
- **Published:** 2026-12-04T04:16:46Z
- **Last updated:** 2026-12-04T04:16:46Z
- **Canonical:** https://intel.threadlinqs.com/threat/TL-2026-7465
- **Card image:** https://intel.threadlinqs.com/og/threat/TL-2026-7465.png
- **ID:** TL-2026-7465
- **Severity:** HIGH
- **Category:** MALWARE
- **Status:** ACTIVE
- **Actor:** UAT-7810 (China)
- **Detections:** 9 (1 shown free below) · **IOCs:** 24 (3 shown free below)

## Description

CJDoor is a 64-bit MIPS ELF (netd) derived from cjdns v20 (latest upstream is v22) with modified packet formats and added commands. It is passive: it listens on a randomly chosen UDP port and the operator peers with the device through the cjdns overlay, so there is no outbound C2 beacon. On first run with '--init <URL>' it generates a keypair and a cjdns identity in fc00::/8, picks a random port, collects system information (interface names, IP/MAC addresses, whether iptables and a TUN device are available), stores it in sys.dat and netd.dat, and sends the contents as query parameters in an HTTP GET to a hardcoded IP, port and path (domain names and HTTPS are not supported). The attacker retrieves the node information and port from that init server and then peers with the device. At runtime ('--conf netd.dat') the implant reads the config, then deletes sys.dat, netd.dat and its own executable. The node public key is derived at runtime so each infection has a distinct identity. The files are encrypted with XSalsa20 (key = SHA-256 of bytes 31 73 37 13 00 00 00 00, 24-byte zero nonce). Inter-node traffic uses cjdns CryptoAuth (Curve25519, XSalsa20-Poly1305, SHA-512 address derivation).

CJDoor checks for /dev/net/tun, /dev/tun and /tmp/tun, creates a node with 'mknod ./tun c 10 200' if none exists, creates TUN interface pp1000, sets disable_ipv6 to 0 and runs 'iptables -t nat -L -n'. It launches external tools '/tmp/ud -s -l 0.0.0.0:55555 -r 127.0.0.1:<port>' (apparent port forwarding) and './ts -g -i 10.0.0.1 -n 255.0.0.0 -R 1080:127.0.0.1:10800' (apparent tunneling with SOCKS-like settings); those binaries were not recovered. Responses carry an extra 16-byte prefix that standard cjdns does not use, so a relay that strips it is needed to talk to the implant with stock cjdns. Commands are Bencode encoded, Control_Header.type is 0x1F (unused by standard cjdns), and two message types, lnkq and lnkr, are added. The LinkCommandSender exposes 14 commands (connTo, backlink, disconnFrom, disConnAll, addPwd, rmPwd, rmUseBeginWith, switchTunDev, speedTest, stopKeepAlive, u2r, runCommand via 'sh -c', rs reverse shell, allowConnection) and 24 more commands were added to existing cjdns modules.

JPCERT/CC found two malware distribution servers named in the July 2026 Cisco Talos report on UAT-7810 with open directory listings. They exposed CJDoor (/netd), the Rekoobe Linux backdoor (/7814/t) and a TUN/TAP kernel module (/tun.ko); these were the only 64-bit MIPS files and were probably meant to be used together. Rekoobe is configured to bind 7896/TCP, with a reverse connection to 127.0.0.1:8192, a 60 second reconnect interval, and the process name masqueraded as 'sh'; its commands are download, upload, PTY shell and command execution. Other 32-bit MIPS and ARM builds of known UAT-7810 malware were in the same directories. Talos assesses with high confidence that UAT-7810 is China-nexus and builds the LapDogs ORB network (SecurityScorecard STRIKE, June 2025) mainly as infrastructure for other China-nexus actors such as UAT-5918; UAT-7810 mainly exploits n-day flaws in unpatched Ruckus routers (CVE-2020-22653, CVE-2020-22658, CVE-2023-25717) and in early 2026 used 217.15.164.147 to exploit ASUS AiCloud routers (CVE-2025-2492). JPCERT/CC makes no country attribution of its own and says the scale and real-world use of CJDoor are unclear. Because ports are random and traffic is encrypted, network detection is difficult and host artifacts (pp1000 interface, ./tun device 10/200, /tmp/ud, ./ts, unexpected high-port UDP listeners, deleted sys.dat/netd.dat) are more useful.

## MITRE ATT&CK

- T1190 Exploit Public-Facing Application
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1070.004 Indicator Removal: File Deletion
- T1036 Masquerading
- T1140 Deobfuscate/Decode Files or Information
- T1686 Disable or Modify System Firewall
- T1082 System Information Discovery
- T1095 Non-Application Layer Protocol
- T1572 Protocol Tunneling
- T1573.001 Encrypted Channel: Symmetric Cryptography
- T1573.002 Encrypted Channel: Asymmetric Cryptography
- T1090.003 Proxy: Multi-hop Proxy
- T1584.008 Compromise Infrastructure: Network Devices
- T1608.001 Stage Capabilities: Upload Malware

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

**CJDoor First-Run Staging - TUN Node, netd --init/--conf and pp1000 Interface (Exploitation/Deployment)** (`TL-2026-7465-SPL-001`)

Detects the first-run host behaviour of the CJDoor passive MIPS backdoor (netd, cjdns v20 based, UAT-7810 / LapDogs ORB; TL-2026-7465) on Linux edge devices: creation of the TUN node with 'mknod ./tun c 10 200', execution of netd with '--init <URL>' or '--conf netd.dat', creation of the pp1000 TUN interface, and 'iptables -t nat -L -n' issued by a binary running from a world-writable path or named netd. These artifacts survive even though the implant is C2-less and encrypted on the wire, so host telemetry is the most reliable signal.

- **Languages:** Splunk SPL, Microsoft KQL, Sigma
- **ATT&CK:** T1059.004, T1082, T1016
- **Data sources:** sysmon_for_linux, defender_for_endpoint_linux, auditd
- **Severity:** high
- **Confidence:** high

### Splunk SPL

````spl
index=linux sourcetype="sysmon:linux" EventCode=1
```CJDoor first-run staging for TL-2026-7465: mknod ./tun c 10 200, netd --init or --conf netd.dat, pp1000 TUN interface```
| eval cmd=lower(coalesce(CommandLine, "")), img=lower(coalesce(Image, ""))
| eval hit_mknod=if(like(cmd, "%mknod ./tun c 10 200%"), 1, 0)
| eval hit_cfg=if(match(cmd, "(^|/)netd +--(init +https?://|conf +netd[.]dat)"), 1, 0)
| eval hit_iface=if(match(cmd, "(tuntap|ifconfig|ip link).*pp1000"), 1, 0)
| eval hit_nat=if(like(cmd, "%iptables -t nat -l -n%") AND match(img, "^/(tmp|var/tmp|dev/shm)/|/netd$"), 1, 0)
| where hit_mknod=1 OR hit_cfg=1 OR hit_iface=1 OR hit_nat=1
| stats earliest(_time) AS first_seen latest(_time) AS last_seen values(cmd) AS commands values(Image) AS images values(ParentImage) AS parents sum(hit_mknod) AS mknod sum(hit_cfg) AS netd_init_conf sum(hit_iface) AS pp1000_iface sum(hit_nat) AS nat_enum BY host User
| eval signals=mknod+netd_init_conf+pp1000_iface+nat_enum
| convert ctime(first_seen) ctime(last_seen)
| table first_seen last_seen host User signals commands images parents
````

### Microsoft KQL

```kql
DeviceProcessEvents
| where Timestamp > ago(24h)
| where ProcessCommandLine has 'mknod ./tun c 10 200'
    or ProcessCommandLine matches regex @'(?i)(^|/)netd +--(init +https?://|conf +netd[.]dat)'
    or ProcessCommandLine matches regex @'(?i)(tuntap|ifconfig|ip link).*pp1000'
    or (ProcessCommandLine has_all ('iptables', 'nat', '-L', '-n') and FolderPath matches regex @'^/(tmp|var/tmp|dev/shm)/|/netd$')
| project Timestamp, DeviceName, AccountName, FileName, FolderPath, ProcessCommandLine, InitiatingProcessFileName, InitiatingProcessCommandLine, SHA256
| order by Timestamp desc
```

### Sigma

```yaml
title: CJDoor First-Run Staging - TUN Device and cjdns Node Setup
id: 7c1f3a52-9b0e-4d6a-8e21-5a47c0d93b11
status: experimental
description: Detects CJDoor (netd) first-run setup on Linux/MIPS edge devices - mknod ./tun c 10 200, netd --init or --conf netd.dat, or creation of the pp1000 TUN interface.
references:
  - https://blogs.jpcert.or.jp/en/2026/12/cjdoor.html
  - https://blog.talosintelligence.com/uat-7810/
author: Threadlinqs Team
date: 2026-12-04
tags:
  - attack.execution
  - attack.t1059.004
  - attack.discovery
  - attack.t1082
  - attack.t1016
logsource:
  category: process_creation
  product: linux
detection:
  sel_mknod:
    CommandLine|contains: 'mknod ./tun c 10 200'
  sel_netd:
    Image|endswith: '/netd'
    CommandLine|contains:
      - ' --init http'
      - ' --conf netd.dat'
  sel_iface:
    CommandLine|contains|all:
      - 'pp1000'
      - 'tun'
  condition: 1 of sel_*
falsepositives:
  - Legitimate administrators creating TUN device nodes manually on embedded Linux
  - VPN or tunnel provisioning scripts that happen to name an interface pp1000
level: high
```

**Known false positives:**

- Administrators manually creating a TUN device node with mknod on embedded Linux or OpenWrt devices
- VPN or tunnel provisioning scripts that happen to name a TUN interface pp1000

**Tuning notes:** Replace index=linux with the index that holds your Sysmon for Linux or auditd execve data; if you use auditd instead, rebuild cmd from the EXECVE a0..aN fields. The research notes the binary deletes itself, so keep this search running near real time rather than as a daily report. Allow-list known provisioning scripts by ParentImage once reviewed.

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

- UAT-7810 Payload Retrieval - netd, tun.ko or /NNNN/t Fetched by wget/curl/tftp (Exploitation / Ingress Tool Transfer) (locked: unlock with TL Creds)
- CJDoor Self-Cleanup - [indicator], [indicator] and netd Binary Deleted (Post-Exploitation Defense Evasion) (locked: unlock with TL Creds)
- CJDoor Init Beacon - HTTP GET with Long Query String to a Bare Public IP, or LONGLEASH User-Agent (C2) (locked: unlock with TL Creds)
- Connections to or from Talos-Published UAT-7810 Exploitation and Payload IPs (Router n-day Exploitation) (locked: unlock with TL Creds)
- tun.ko Kernel Module Loaded or Dropped Outside /lib/modules (CJDoor TUN Support) (locked: unlock with TL Creds)
- cjdns Overlay Traffic - fc00::/8 IPv6 Flows from Edge or Server Hosts (CJDoor Mesh C2) (locked: unlock with TL Creds)
- Rekoobe Backdoor Masquerading as 'sh' with 7896/TCP Bind or [indicator] Reverse Connection (Post-Exploitation) (locked: unlock with TL Creds)
- CJDoor Tunnelling Helpers - /tmp/ud Port Forwarder and ./ts SOCKS-Style Tunnel Launch (C2 / Lateral Movement) (locked: unlock with TL Creds)

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

## Sample indicators (3 of 24)

Defanged, TLP:CLEAR.

- IP address: `217.15.160[.]247`
- File hash: `597ed061ac707ed539f7a30d5edca5149bfe50f4dcb736e34fec29e4f139f702`
- IP address: `217.15.164[.]147`

Full set of 24 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)
- [UAT-7810 continues building ORB networks using new malware (Cisco Talos)](https://blog.talosintelligence.com/uat-7810/)
- [Unmasking A New China-Linked Covert ORB Network: Inside the LapDogs Campaign (SecurityScorecard STRIKE)](https://securityscorecard.com/blog/unmasking-a-new-china-linked-covert-orb-network-inside-the-lapdogs-campaign/)
- [China-Linked UAT-7810 Expands ORB (The Hacker News)](https://thehackernews.com/2026/07/china-linked-uat-7810-expands-orb.html)
- [China-Linked APT Expands Arsenal With New Leash Backdoors (SecurityWeek)](https://www.securityweek.com/china-linked-apt-expands-arsenal-with-new-leash-backdoors/)
- [Chinese hackers develop LONGLEASH malware to expand ORB network (BleepingComputer)](https://www.bleepingcomputer.com/news/security/chinese-hackers-develop-longleash-malware-to-expand-orb-network/)
- [cjdns upstream project (cjdelisle)](https://github.com/cjdelisle/cjdns)
- [Linux kernel TUN/TAP driver source tun.c](https://github.com/torvalds/linux/blob/master/drivers/net/tun.c)

## 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-7465
