← Voltar ao feed
high

CJDoor: cjdns-based Linux backdoor found on UAT-7810 LapDogs ORB distribution servers, giving inbound-only encrypted control

1 fonte(s) · 1 atualização(ões) · publicado 04/12/2026 08:07 · coletado há 1 dia

JPCERT/CC analyzed CJDoor, a 64-bit MIPS ELF Linux backdoor built on the open-source cjdns mesh networking suite. It was found while reviewing distribution servers named in a July 2026 Cisco Talos report on UAT-7810, an actor that builds Operational Relay Box (ORB) networks such as LapDogs. Two of those servers exposed open directories. CJDoor never beacons to a fixed C2. It listens on a random UDP port and joins the attacker's encrypted IPv6 mesh (fc00::/8) once the operator starts peering. Its cjdns CryptoAuth traffic (Curve25519 with XSalsa20-Poly1305) gives payload inspection little to work with. Per the article, LapDogs infections are concentrated in the US and Southeast Asia, with more devices in Japan, South Korea, Hong Kong and Taiwan. The article does not cite an advisory or a CVE, and no vendor fix applies. These are findings from the JPCERT/CC analysis, which was not opened for this record.

Detalhes técnicos

  • Setup: the --init mode generates a key pair and collects interface names, IP and MAC addresses, and iptables and TUN availability. It writes them to sys.dat and netd.dat and sends them in an HTTP GET to a hardcoded IP, with no domain or HTTPS. The --conf mode loads netd.dat, then deletes sys.dat, netd.dat and the executable itself. Each device gets a unique cjdns identity.
  • Host preparation: it looks for /dev/net/tun, /dev/tun or /tmp/tun. If none exists, it runs mknod ./tun c 10 200. It then creates a TUN interface named pp1000 and enables IPv6. It can launch /tmp/ud (likely a port forwarder) and ./ts (likely a SOCKS-style tunneling tool).
  • Local file encryption: XSalsa20, with the key being the SHA-256 of bytes 31 73 37 13 00 00 00 00 and an all-zero 24-byte nonce.
  • Protocol changes: the code is based on cjdns v20, while the current release is v22. Responses carry an extra 16-byte prefix. A LinkCommandSender module adds 14 commands, including runCommand (shell execution) and rs (reverse shell), and 24 more commands were added across existing modules. Parameters are Bencode-encoded. Command traffic sets Control_Header.type to 0x1F, and frames carry the markers lnkq (queries) and lnkr (responses). These are the best network-level fingerprints.
  • Companion files: the same directories held a Rekoobe backdoor and a TUN/TAP kernel module (tun.ko), both 64-bit MIPS. They were probably deployed together. Rekoobe listens on 7896/TCP and supports file transfer, a PTY shell and command execution.

Remediação

Hunt on the device rather than the wire. Look for a pp1000 interface, an unexpected ./tun node, ud and ts processes, unauthorized tun.ko loading, and a listener on 7896/TCP. Where network inspection is possible, look for cjdns traffic carrying Control_Header type 0x1F and the lnkq/lnkr markers.

Linha do tempo

  1. gbhackers.com ↗ · pub. 04/12/2026 08:07 · coletado 04/12 10:00 primeiro registro

    CJDoor: cjdns-based Linux backdoor found on UAT-7810 LapDogs ORB distribution servers, giving inbound-only encrypted control

    ler a análise desta fonte

    JPCERT/CC analyzed CJDoor, a 64-bit MIPS ELF Linux backdoor built on the open-source cjdns mesh networking suite. It was found while reviewing distribution servers named in a July 2026 Cisco Talos report on UAT-7810, an actor that builds Operational Relay Box (ORB) networks such as LapDogs. Two of those servers exposed open directories. CJDoor never beacons to a fixed C2. It listens on a random UDP port and joins the attacker's encrypted IPv6 mesh (fc00::/8) once the operator starts peering. Its cjdns CryptoAuth traffic (Curve25519 with XSalsa20-Poly1305) gives payload inspection little to work with. Per the article, LapDogs infections are concentrated in the US and Southeast Asia, with more devices in Japan, South Korea, Hong Kong and Taiwan. The article does not cite an advisory or a CVE, and no vendor fix applies. These are findings from the JPCERT/CC analysis, which was not opened for this record.

    Technical Details

    • Setup: the --init mode generates a key pair and collects interface names, IP and MAC addresses, and iptables and TUN availability. It writes them to sys.dat and netd.dat and sends them in an HTTP GET to a hardcoded IP, with no domain or HTTPS. The --conf mode loads netd.dat, then deletes sys.dat, netd.dat and the executable itself. Each device gets a unique cjdns identity.
    • Host preparation: it looks for /dev/net/tun, /dev/tun or /tmp/tun. If none exists, it runs mknod ./tun c 10 200. It then creates a TUN interface named pp1000 and enables IPv6. It can launch /tmp/ud (likely a port forwarder) and ./ts (likely a SOCKS-style tunneling tool).
    • Local file encryption: XSalsa20, with the key being the SHA-256 of bytes 31 73 37 13 00 00 00 00 and an all-zero 24-byte nonce.
    • Protocol changes: the code is based on cjdns v20, while the current release is v22. Responses carry an extra 16-byte prefix. A LinkCommandSender module adds 14 commands, including runCommand (shell execution) and rs (reverse shell), and 24 more commands were added across existing modules. Parameters are Bencode-encoded. Command traffic sets Control_Header.type to 0x1F, and frames carry the markers lnkq (queries) and lnkr (responses). These are the best network-level fingerprints.
    • Companion files: the same directories held a Rekoobe backdoor and a TUN/TAP kernel module (tun.ko), both 64-bit MIPS. They were probably deployed together. Rekoobe listens on 7896/TCP and supports file transfer, a PTY shell and command execution.

    Remediation

    Hunt on the device rather than the wire. Look for a pp1000 interface, an unexpected ./tun node, ud and ts processes, unauthorized tun.ko loading, and a listener on 7896/TCP. Where network inspection is possible, look for cjdns traffic carrying Control_Header type 0x1F and the lnkq/lnkr markers.