Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

IoT Security

New Mirai Variant Hides C&C Server on Tor Network

A recently discovered variant of the Mirai Internet of Things (IoT) malware is using a command and control (C&C) server on the Tor network, Trend Micro’s security researchers have discovered. 

A recently discovered variant of the Mirai Internet of Things (IoT) malware is using a command and control (C&C) server on the Tor network, Trend Micro’s security researchers have discovered. 

Ever since Mirai’s source code was posted online in October 2016, miscreants have released variants of the malware to expand its targeting capabilities and ensnare as many devices as possible in distributed denial of service (DDoS)-capable botnets. 

Some of the best known Mirai spawns include Echobot, Wicked, Satori, Okiru, Masuta, and Miori, but others have been observed over the years as well, including a variant that specifically targets business devices. Recently, a Mirai-based botnet was used in a massive 292,000 RPS Layer 7 assault

The newly discovered Mirai sample, Trend Micro points out, is proof that cybercriminals continue to develop and use the malware’s code despite the massive attention it has received over the years. 

Just as other Mirai iterations out there, the new variant allows attackers to remotely access and control IoT devices such as IP cameras and DVRs, using exposed ports and default credentials. The infected devices can be then leveraged for DDoS assaults using various methods. 

What sets the new version apart, however, is the fact that its author has placed the botnet’s command and control (C&C) server on the Tor anonymity network, in an attempt to prevent security researchers from taking it down. 

The new sample also has a total of 30 hard-coded IP addresses and uses a socks5 protocol initial handshake message, with all of the hard-coded servers being socks proxies to the Tor network.

The malware would select a random server as proxy, would then start the connection with socks5, and then query it to relay packets to a C&C server with the address nd3rwzslqhxibkl7[.]onion:1356. If the relay connection fails, the malware attempts the process with another proxy server. 

Advertisement. Scroll to continue reading.

“Connecting to the C&C with a Tor proxy in a testing environment, we confirmed this as it returned a login prompt for the attacker, exactly the same prompt as other C&C servers have returned with previous Mirai variants,” Trend Micro reveals

The configuration values in this sample were encrypted by XOR with 0x22 (34) and embedded in its binary, a feature observed in other Mirai variants as well. A string “LONGNOSE: applet not found” discovered in the sample could be used to identify it. 

The malware was observed scanning for random IP addresses with TCP ports 9527 and 34567, likely specific to exposed IP cameras and DVRs for remote access and control, Trend Micro says. Possible default credentials for login attempts are located in the threat’s configuration.

“We find this particular sample interesting for the attackers’ decision to place the C&C server in Tor, likely to evade tracking of its IP address and avoiding being shut down when reported to domain hosts. […]While there have been previous reports of other malware having their C&C hidden in Tor, we see this as a possible precedent for other evolving IoT malware families,” Trend Micro concludes. 

Related: Mirai-Based Botnet Launches Massive DDoS Attack on Streaming Service

Related: Mirai Offspring “Echobot” Uses 26 Different Exploits

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

Expert Insights

Related Content

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

IoT Security

A group of seven security researchers have discovered numerous vulnerabilities in vehicles from 16 car makers, including bugs that allowed them to control car...

Malware & Threats

The NSA and FBI warn that a Chinese state-sponsored APT called BlackTech is hacking into network edge devices and using firmware implants to silently...

IoT Security

A vulnerability affecting Dahua cameras and video recorders can be exploited by threat actors to modify a device’s system time.

IoT Security

An innocent-looking portable speaker can hide a hacking device that launches CAN injection attacks, which have been used to steal cars.

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Cyberwarfare

An engineer recruited by intelligence services reportedly used a water pump to deliver Stuxnet, which reportedly cost $1-2 billion to develop.