Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

ABTV

12/24/2019
12:18 PM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

New Botnet Uses DHT as Its Foundation

Security researchers at 360 Netlab have been watching a new botnet they call Mozi for the last four months. It's a new P2P botnet with implementation that is based on the Distributed Hash Table protocol.

Security researchers at 360 Netlab have been watching a new botnet they call Mozi (from one of the internal files) for the last four months. It's a new P2P botnet with implementation that is based on the Distributed Hash Table (DHT) protocol.

The researchers also say in their post announcing the discovery that "Mozi Botnet relies on the DHT protocol to build a P2P network, and uses ECDSA384 and the xor algorithm to ensure the integrity and security of its components and P2P network. The sample spreads via Telnet with weak passwords and some known exploits." They found that Netgear, D-Link and Huawei routers were easy targets for Mozi.

The DHT protocol used is based on the standard commonly used by torrent clients, but the hash table itself is a custom one. The DHT that is used in creating the botnet's network means that it is done without needing to use servers. It is also much easier to hide the botnet's payload in the large amount of normal DHT traffic, which makes detection of its origins harder than it otherwise might be.

Netlab also says the bot "does reuse part of the Gafgyt code, but it is not really Gafgyt."

The main commands available to the bot include a DDoS attack, collecting information, executing the payload of the specified URL, updating from a specified URL and executing system or custom commands.

The malware first seeks to establish a beachhead by opportunistically exploiting weak or known telnet passwords, such as might be found on a CCTV device or some other IoT mechanism. It starts an http session and then receives the sample download address in the Config file used by Mozi, which is issued by the Botnet Master. Next, it writes the downloader file in echo mode and runs it.

The infected device will run the bot code and then joins the Mozi network, announcing itself as a new node. It will not be a trusted node of the network until it can pass the signature verification routine. Then it will be accepted and used by the Mozi node for nefarious purposes.

As a last step, it looks for other devices to infect. It depends on certain vulnerabilities to extend itself. The blog posts a list of the affected devices, which includes the Eir D1000 Router, Vacron NVR devices, devices using the Realtek SDK (for the CVE-2014-8361 vuln), Netgear R7000 and R6400, DGN1000 Netgear routers, MVPower DVR, Huawei Router HG532 (for CVE-2017-17215), D-Link Devices and GPON Routers.

Netlabs is somewhat vague on mediation. They say to "update the patch in a timely manner, and determine whether they are infected by looking up the process and file name, and HTTP, DHT network connection characteristics created by Mozi Botnet." This seems to mean hand-tweaking of all networks possibly exposed.

As more information about the botnet emerges, tools will no doubt be developed to help in the mediation.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Cloud Security Threats for 2021
Or Azarzar, CTO & Co-Founder of Lightspin,  12/3/2020
Why Vulnerable Code Is Shipped Knowingly
Chris Eng, Chief Research Officer, Veracode,  11/30/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Write a Caption, Win an Amazon Gift Card! Click Here
Latest Comment: This comment is waiting for review by our moderators.
Current Issue
2021 Top Enterprise IT Trends
We've identified the key trends that are poised to impact the IT landscape in 2021. Find out why they're important and how they will affect you today!
Flash Poll
Assessing Cybersecurity Risk in Todays Enterprises
Assessing Cybersecurity Risk in Todays Enterprises
COVID-19 has created a new IT paradigm in the enterprise and a new level of cybersecurity risk. This report offers a look at how enterprises are assessing and managing cyber-risk under the new normal.
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-27772
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in coders/bmp.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned int`. This would most likely lead to an impact to application availability, but could po...
CVE-2020-27773
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in MagickCore/gem-private.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type `unsigned char` or division by zero. This would most likely lead to an impact to appli...
CVE-2020-28950
PUBLISHED: 2020-12-04
The installer of Kaspersky Anti-Ransomware Tool (KART) prior to KART 4.0 Patch C was vulnerable to a DLL hijacking attack that allowed an attacker to elevate privileges during installation process.
CVE-2020-27774
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in MagickCore/statistic.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of a too large shift for 64-bit type `ssize_t`. This would most likely lead to an impact to application availability, but co...
CVE-2020-27775
PUBLISHED: 2020-12-04
A flaw was found in ImageMagick in MagickCore/quantum.h. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of values outside the range of type unsigned char. This would most likely lead to an impact to application availability, but c...