Cyber Security News

New Rust-Based Botnet Hijacks Routers to Inject Remote Commands

A new malware named “RustoBot” has been discovered exploiting vulnerabilities in various router models to gain unauthorized access and initiate Distributed Denial of Service (DDoS) attacks.

This advanced cyber-threat, first observed in January to February 2025, targets TOTOLINK and DrayTek devices, showcasing sophisticated techniques unlike previously known malware.

Exploitation and Spread Strategy

The botnet leverages multiple command injection vulnerabilities, primarily residing in TOTOLINK’s cstecgi.cgi script and DrayTek’s cgi-bin/mainfunction.cgi/apmcfgupload interface.

These vulnerabilities allow attackers to run arbitrary system commands remotely.

RustoBot uses several downloader scripts utilizing common commands like wget and tftp to propagate itself across devices with different architectures, including arm5, arm6, arm7, mips, mpsl, and x86.

RustoBot entry point

Upon infection, RustoBot employs encryption to obfuscate its configuration, using the XOR algorithm with complex calculations to retrieve keys for decoding ciphertext.

This approach helps the malware evade detection by standard security systems.

Once decoded, the configuration assists in resolving command and control (C2) server domains and executing DDoS attacks.

The malware’s entry point, identified through reverse engineering, demonstrates a high level of sophistication, using system API offsets to perform its malicious behaviors.

Decoder key

DDoS Capabilities and Command Structure

RustoBot supports a variety of DDoS attack methods, including Raw IP, TCP, and UDP flooding.

It receives attack parameters from the C2 server, initiating attacks based on predefined commands.

For example, the 0x03 command triggers a UDP flood attack, specifying victim IP addresses, port numbers, attack duration, and packet lengths.

This structured command system enables attackers to coordinate significant disruptions with precision.

The malware campaigns were observed in Japan, Taiwan, Vietnam, and Mexico, targeting the technology sector.

The attacks not only compromise the security of the affected devices but also pose a significant risk to the operational integrity of businesses relying on these internet gateways.

To combat this threat, FortiGuard Labs has integrated multiple protective measures into its security solutions, including:

  • Antivirus Services: FortiGuard Antivirus detects and blocks RustoBot under signatures like BASH/Mirai.AEH!tr.dldr and ELF/Mirai variations.
  • Web Filtering: Blocks the C2 server connections.
  • IPS Signatures: Offers protection against vulnerabilities exploited by RustoBot.

According to the Report, Fortinet advises organizations to strengthen endpoint monitoring and authentication, alongside considering training through their Fortinet Certified Fundamentals (FCF) in Cybersecurity.

This comprehensive approach by FortiGuard Labs ensures a robust defense against the emerging threat of RustoBot, urging all stakeholders in the cybersecurity community to remain vigilant and proactive.

Table of Indicators of Compromise (IOCs)

TypeValue
URLhxxp://66[.]63[.]187[.]69/w.sh
URLhxxp://66[.]63[.]187[.]69/wget.sh
URLhxxp://66[.]63[.]187[.]69/tftp.sh
Hostdvrhelper[.]anondns[.]net, techsupport[.]anondns[.]net, rustbot[.]anondns[.]net
IP5[.]255[.]125[.]150
File Hash76a487a46cfeb94eb5a6290ceffabb923c35befe71a1a3b7b7d67341a40bc454, 75d031e8faaf3aa0e9cafd5ef0fd7de1a2a80aaa245a9e92bae6433a17f48385, …

Find this News Interesting! Follow us on Google News, LinkedIn, & X to Get Instant Updates!

Aman Mishra

Aman Mishra is a Security and privacy Reporter covering various data breach, cyber crime, malware, & vulnerability.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

2 days ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

2 days ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

2 days ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

2 days ago