A new variant of the Mirai botnet has been discovered which utilizes the Tor network to prevent command server takedowns or seizure.
Mirai is an Internet of Things (IoT) botnet which has been used in distributed denial-of-service (DDoS) attacks in the past against prominent websites.
The botnet tends to focus on enslaving IoT devices including routers, surveillance cameras, smart home appliances, and vehicles through brute-force attacks and the automatic cracking of default credentials.
Soon after the botnet was used to attack a website belonging to prominent security expert Brian Krebs, Mirai source code was released into the wild, allowing others to develop and launch their own variants.
On Wednesday, researchers from Trend Micro said the new strain of the botnet contains the same functions as other samples. These include remote access and control through vulnerable, open ports and default credentials, as well as the ability to perform DDoS attacks and User Datagram Protocol (UDP) floods.
The latest Mirai sample focuses on TCP ports 9527 and 34567, which could indicate a preference for enslaving IP cameras and DVRs.
However, this variant is interesting given the location of the malware's command-and-control (C2) server. When C2 servers are present in the 'clear' web, it is possible to quickly send takedown requests to neuter or at least to mitigate the damage of malware infections -- however, when they are hidden through .onion addresses and the Tor network, this can be a more challenging task.
"This may be a developing trend among IoT malware developers, given that malicious actors' C&C servers in the surface web can be reported and taken down -- and it's one trend that cybersecurity researchers, enterprises, and users alike may have to start defending against," the researchers say.
In total, Mirai strains will usually have between one and four C2s. In this case, there were 30 hard-coded IP addresses present and socks5 proxies were used to communicate with servers in the Tor network. If one connection fails, the malware will try another server on its list.
This is far from the first time that malware has attempted to anonymize itself and become more difficult to combat by using Tor, but Trend Micro says this could be a "possible precedent for other evolving IoT malware families."
"Because of Tor's available environment, the server remains anonymous, therefore keeping the malware creator and/or C&C owner unidentifiable," the researchers added. "Likewise, the server remains running despite discovery, network traffic can masquerade as legitimate and remains encrypted, and it may not necessarily be blacklisted due to other possible legitimate uses for Tor."
Previous and related coverage
- This botnet snares your smart devices to perform DDoS attacks with a little help from Mirai
- Hacker 'BestBuy' sentenced to prison for operating Mirai DDoS botnet
- New Mirai malware variant targets signage TVs and presentation systems
Have a tip? Get in touch securely via WhatsApp | Signal at +447713 025 499, or over at Keybase: charlie0