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
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
'BootHole' Vulnerability Exposes Secure Boot Devices to Attack
Kelly Sheridan, Staff Editor, Dark Reading,  7/29/2020
Average Cost of a Data Breach: $3.86 Million
Jai Vijayan, Contributing Writer,  7/29/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Threat from the Internetand What Your Organization Can Do About It
The Threat from the Internetand What Your Organization Can Do About It
This report describes some of the latest attacks and threats emanating from the Internet, as well as advice and tips on how your organization can mitigate those threats before they affect your business. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2017-18112
PUBLISHED: 2020-08-05
Affected versions of Atlassian Fisheye allow remote attackers to view the HTTP password of a repository via an Information Disclosure vulnerability in the logging feature. The affected versions are before version 4.8.3.
CVE-2020-15109
PUBLISHED: 2020-08-04
In solidus before versions 2.8.6, 2.9.6, and 2.10.2, there is an bility to change order address without triggering address validations. This vulnerability allows a malicious customer to craft request data with parameters that allow changing the address of the current order without changing the shipm...
CVE-2020-16847
PUBLISHED: 2020-08-04
Extreme Analytics in Extreme Management Center before 8.5.0.169 allows unauthenticated reflected XSS via a parameter in a GET request, aka CFD-4887.
CVE-2020-15135
PUBLISHED: 2020-08-04
save-server (npm package) before version 1.05 is affected by a CSRF vulnerability, as there is no CSRF mitigation (Tokens etc.). The fix introduced in version version 1.05 unintentionally breaks uploading so version v1.0.7 is the fixed version. This is patched by implementing Double submit. The CSRF...
CVE-2020-13522
PUBLISHED: 2020-08-04
An exploitable arbitrary file delete vulnerability exists in SoftPerfect RAM Disk 4.1 spvve.sys driver. A specially crafted I/O request packet (IRP) can allow an unprivileged user to delete any file on the filesystem. An attacker can send a malicious IRP to trigger this vulnerability.