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.

Endpoint Security

6/19/2019
12:25 PM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

New 'IPStorm' Malware Uses Peer-to-Peer Network for Communication

It's a whole new headache for the security team.

Anomali Labs has found a new kind of malware(they call it IPStorm) that is controlled by peer-to-peer (p2p) communications rather than by a client-server model. The p2p network is established over the open-source InterPlanetary File System's (IPFS) p2p network. This is the first malware found in the wild that is using IPFS's p2p network for its command and control communication.

First found in May 2019, IPStorm currently targets Windows machines. Once infected, it allows the threat actor to execute arbitrary PowerShell code.

The malware is a large, with the unpacked binary coming in around 15MB in size. However, the code itself is split up into multiple Go packages.

This is novel malware in that it uses p2p for its administration. A p2p botnet is formed that propagates any communication one receives to the other members of the botnet. This obscures the malware's communications, and allows the malware to not continuously maintain communications with its contact in the botnet.

This p2p use presents another kind of problem for defenders. The use of it provides some protection against takedowns, since sinkholing the p2p network potentially could take down the whole IPFS network.

A p2p botnet is harder to establish than other kinds of communication. It may also be harder to detect since it is not an expected kind of communication and other p2p networks may be present in an enterprise.

IPFS includes support for bootstrapping, NAT-traversal, relays, peer discovery and pubsub functionality.

Anomali found that the malware has some simple antivirus (AV) evasion techniques. It uses sleeps, memory allocations and generation of random numbers.

To ensure the malware can connect to the p2p network, it adds a rule to the firewall. The rule supports the major method used by the malware to actually communicate with the other bots, which is the publish/subscribe model.

They also note that IPStorm uses the third-party package "single" (github.com/marcsauter/single). Single uses lock files to ensure the malware is running is only running one instance. For persistence, the malware will add an entry to "HKCU:\Software\Microsoft\Windows\CurrentVersion\Run".

As to the size of the botnet, Anomali says that, "The botnet size is likely in the lower thousands because during a ten-hour collection, 2847 unique p2p nodes announced themselves with the identifier used by the malware and were added to the DHT. This number does not correspond [to] the number of bots in the botnet since the bot generates a new libp2p id each time it is started up but is a good estimate of the upper bound of the botnet size. The size of the botnet may be indicative of it still being in its early stage of evolution."

One threat actor has found a new way of doing things. Other actors may follow suit if it is successful, giving rise to a new headache for the security team.

— 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 7/9/2020
4 Security Tips as the July 15 Tax-Day Extension Draws Near
Shane Buckley, President & Chief Operating Officer, Gigamon,  7/10/2020
Russian Cyber Gang 'Cosmic Lynx' Focuses on Email Fraud
Kelly Sheridan, Staff Editor, Dark Reading,  7/7/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
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-2020-15105
PUBLISHED: 2020-07-10
Django Two-Factor Authentication before 1.12, stores the user's password in clear text in the user session (base64-encoded). The password is stored in the session when the user submits their username and password, and is removed once they complete authentication by entering a two-factor authenticati...
CVE-2020-11061
PUBLISHED: 2020-07-10
In Bareos Director less than or equal to 16.2.10, 17.2.9, 18.2.8, and 19.2.7, a heap overflow allows a malicious client to corrupt the director's memory via oversized digest strings sent during initialization of a verify job. Disabling verify jobs mitigates the problem. This issue is also patched in...
CVE-2020-4042
PUBLISHED: 2020-07-10
Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious client can replay the Bareos director's cram-md5 challenge to...
CVE-2020-11081
PUBLISHED: 2020-07-10
osquery before version 4.4.0 enables a priviledge escalation vulnerability. If a Window system is configured with a PATH that contains a user-writable directory then a local user may write a zlib1.dll DLL, which osquery will attempt to load. Since osquery runs with elevated privileges this enables l...
CVE-2020-6114
PUBLISHED: 2020-07-10
An exploitable SQL injection vulnerability exists in the Admin Reports functionality of Glacies IceHRM v26.6.0.OS (Commit bb274de1751ffb9d09482fd2538f9950a94c510a) . A specially crafted HTTP request can cause SQL injection. An attacker can make an authenticated HTTP request to trigger this vulnerabi...