RustDuck Botnet Uses Rust Core and Anti-Analysis Checks to Target Routers and Servers

· Original article ↗

Summary

QiAnXin’s XLab says RustDuck targets routers, cameras, Android boxes and exposed servers for DDoS, using a two-stage loader, a Rust core, sandbox checks and encrypted command traffic. It spreads through weak credentials and known flaws.

Key points

  • XLab says RustDuck targets home routers, IP cameras, Android boxes and exposed servers to build a DDoS botnet.
  • It spreads through weak or default Telnet and SSH credentials, exposed Android debugging interfaces, known device flaws and vulnerabilities in web software.
  • RustDuck uses a two-stage design: a loader decrypts and unpacks a core module that is being rewritten in Rust.
  • The malware checks for analysis tools, debuggers, honeypots and virtual machines; a risk score can trigger cleanup and exit.
  • Its evasion checks include probing a reserved testing address and comparing clocks to detect accelerated sandbox time.
  • XLab describes encrypted command traffic using ChaCha20-Poly1305, AES-GCM, HKDF-SHA256 and Curve25519, with keys rotated every ten minutes.
  • Recommended defenses include removing remote-management interfaces from the public internet, disabling unused services, patching or replacing unsupported devices, and blocking known indicators.

Article Details

Attack Vectors
  • RustDuck guesses weak or default passwords on internet-exposed Telnet and SSH remote-login services.
  • It targets exposed Android debugging interfaces and unpatched flaws in devices from TVT, Ruijie, TP-Link, and ZTE.
  • It exploits known vulnerabilities in exposed ThinkPHP, Jenkins, and Hadoop YARN installations.
  • Infected devices are used to flood target websites and online services with traffic in DDoS attacks.
Defensive Notes
  • Remove remote-management interfaces from the public internet; disable Android Debug Bridge, Telnet, and SSH when not needed, and do not leave default passwords in place.
  • Patch affected devices and software where possible; replace unsupported equipment that cannot be patched.
  • Block and monitor the indicators listed in XLab’s report.

Indicators of compromise

TypeIndicatorContext
IPV4176[.]65[.]139[.]204Reported by XLab as RustDuck's busiest malware-spreading address.

MITRE ATT&CK

Malware

Vendors

Products

Tools

Related Articles