Analysis Details netd Linux Backdoor’s RC4 C2 and Shell Capabilities

· Original article ↗

Summary

The analysis details netd, a statically linked Linux backdoor with an encrypted configuration, custom RC4 C2 protocol, interactive shell, and file-transfer commands. A Mach-O variant named ChromeUpdates was also observed on VirusTotal.

Key points

  • The analyzed archive, out_linux.tar, contains a 64-bit ELF backdoor named netd and an encrypted 810-byte configuration file, netd.lck.
  • The backdoor decrypts its configuration with XOR, resolves dynamic-DNS C2 domains, and XOR-decrypts the returned IP address.
  • C2 communication uses a custom RC4-encrypted challenge–response over TCP/443; the malware sends system information before handling commands.
  • Commands support an interactive shell, file upload and download, command execution, directory and process listing, process termination, configuration updates, and self-deletion.
  • A named semaphore limits repeated execution, but the article says this check can be bypassed with a skip argument.
  • The author did not interact with the decrypted IP address and could not confirm it was an active C2; a Mach-O sample named ChromeUpdates was also found on VirusTotal.

Article Details

Attack Vectors
  • The netd backdoor communicates with its C2 over TCP/443 using a custom RC4-encrypted challenge–response protocol and dynamic-DNS domains.
  • The backdoor supports operator-directed shell commands and an interactive shell, as well as file uploads and downloads.

Indicators of compromise

TypeIndicatorContext
DOMAINchopaw[.]camdvr[.]orgDynamic-DNS C2 domain listed in the backdoor's encrypted configuration.
DOMAINdrawpin[.]accesscam[.]orgDynamic-DNS C2 domain listed in the backdoor's encrypted configuration.
DOMAINmefng[.]giize[.]comDefault hard-coded C2 domain used by the backdoor.
SHA25678e145fcc9f099a1dec49f9001bfbb06366fcf30f66a7cc9e6605b36019dfac4Hash of netd.lck, the encrypted configuration file used by the backdoor.
SHA2568e4f33722c16a5e922a81a4be61db804bbf2e899d89902085e854b7f0a0d587fHash of out_linux.tar, the archive containing the backdoor and its encrypted configuration.
SHA256bcffe674c4425634d4750bb21a505be9ce35e31413d2e6cce75ad0c609563cc5Hash of the ChromeUpdates Mach-O backdoor sample observed on VirusTotal.
SHA256be0f36ee071a9c0c200dcdaed98fce7fadc31305d0a5f24a244a3af7833d21ddHash of the netd Linux backdoor.

MITRE ATT&CK

Malware