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.

Cloud

10/16/2019
10:55 AM
50%
50%

Cryptojacking Worm Targets and Infects 2,000 Docker Hosts

Basic and 'inept' worm managed to compromise Docker hosts by exploiting misconfigurations.

Some 2,000 Docker hosts have been attacked and infected by a relatively basic worm that exploits misconfigured permissions to download and run cryptojacking software as malicious containers.

Network security firm Palo Alto Networks in a report today said that despite its "inept" programming, the so-called Graboid worm has been successful: it searches for unsecured docker daemons, uses the access to the Docker host to install malicious images from the Docker Hub, and then runs scripts downloaded from a command-and-control (C2) server. Among the scripts are a cryptomining program that "mines" — or attempts to generate — the Monero cryptocurrency. Each miner is active about 63% of the time, according to Palo Alto.

The worm is not exploiting a vulnerability, but a lack of proper security settings, says Jen Miller-Osborn, deputy director of Palo Alto Networks' Unit 42 threat intelligence group.

"The issues is a lack of updating any of the initial security settings," she says. "The initial point of entry into the Docker host is there because none of the settings were changed. The front door is basically open on these systems."

Cryptomining and cryptojacking have become favored tactics of online attackers as a way of easily monetizing compromised systems, and continues to be used even as the price of cryptocurrencies have declined from their highs of December 2017 and January 2018. Cryptomining through malware and cryptojacking, where resources are used without the owner's authorization, are often used as way to generate a small amount of money from systems that would otherwise not be valuable to attackers. 

Initially, cryptojacking often involved running JavaScript inside the browsers of visitors to compromised sites. Using co-opted cloud resources is a technique that took off in 2018. One report found that cryptojacking of cloud resources affected a quarter of all companies in early 2018. While the Graboid worm is rudimentary, Palo Alto Networks warns that it could easily be updated through its connection with command-and-control servers.

"While this cryptojacking worm doesn't involve sophisticated tactics, techniques, or procedures, the worm can periodically pull new scripts from the C2s, so it can easily repurpose itself to ransomware or any malware to fully compromise the hosts down the line and shouldn’t be ignored," the company stated in the report.

The worm spreads by identifying vulnerable docker hosts and then sending a command to download a malicious docker image. The image is instantiated as a container, connects to the command-and-control (C2) server and download four scripts that downloads a list of IP addresses of more than 2,000 vulnerable hosts, determines the number of CPUs, and continues to spread. 

More than half of the vulnerable hosts are based in China, while about 14% are based in the United States and Ireland accounts for 4%, Palo Alto stated in its analysis.

Palo Alto conducted a simulation of the worm and, assuming that 70% of hosts are available at any given time, found out that it would take less than an hour to infect 1,400 vulnerable hosts. The cluster of 1,400 compromised hosts would give the group approximately 900 CPUs of processing power for cryptomining activities.

Locking Down Containers

Companies need to make sure that they lock down their container-based infrastructure, and know what parts of the infrastructure are their responsibility to secure, Miller-Osborn says. 

"With everyone wanting to shift into the cloud, there is a lack of understanding on both the consumer and the provider side of who's responsible for which part of the infrastructure," she says. "These containers that [the worm is] getting into are those that are left open to the entire Internet. It's not something that most people would do on purpose, but whenever they set that up, they fail to implement best practices to secure the images." 

The Docker team worked with Palo Alto Networks to remove the malicious images from the Docker Hub.

Palo Alto urged companies to lock down their containers and Docker hosts. Users should connect to the docker daemon with SSH, never use Docker images from unknown repositories or maintainers, and use firewall rules to limit the IP addresses that can access the Docker host.

"Never expose a docker daemon to the internet without a proper authentication mechanism," the company said in the report. "Note that by default the Docker Engine (CE) is NOT exposed to the internet."

Related Content:

 

This free, all-day online conference offers a look at the latest tools, strategies, and best practices for protecting your organization’s most sensitive data. Click for more information and, to register, here.

Veteran technology journalist of more than 20 years. Former research engineer. Written for more than two dozen publications, including CNET News.com, Dark Reading, MIT's Technology Review, Popular Science, and Wired News. Five awards for journalism, including Best Deadline ... View Full Bio
 

Recommended Reading:

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Cloud Security Startup Lightspin Emerges From Stealth
Kelly Sheridan, Staff Editor, Dark Reading,  11/24/2020
Look Beyond the 'Big 5' in Cyberattacks
Robert Lemos, Contributing Writer,  11/25/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: We are really excited about our new two tone authentication system!
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
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-4126
PUBLISHED: 2020-12-01
HCL iNotes is susceptible to a sensitive cookie exposure vulnerability. This can allow an unauthenticated remote attacker to capture the cookie by intercepting its transmission within an http session. Fixes are available in HCL Domino and iNotes versions 10.0.1 FP6 and 11.0.1 FP2 and later.
CVE-2020-4129
PUBLISHED: 2020-12-01
HCL Domino is susceptible to a lockout policy bypass vulnerability in the LDAP service. An unauthenticated attacker could use this vulnerability to mount a brute force attack against the LDAP service. Fixes are available in HCL Domino versions 9.0.1 FP10 IF6, 10.0.1 FP6 and 11.0.1 FP1 and later.
CVE-2020-9115
PUBLISHED: 2020-12-01
ManageOne versions 6.5.1.1.B010, 6.5.1.1.B020, 6.5.1.1.B030, 6.5.1.1.B040, ,6.5.1.1.B050, 8.0.0 and 8.0.1 have a command injection vulnerability. An attacker with high privileges may exploit this vulnerability through some operations on the plug-in component. Due to insufficient input validation of ...
CVE-2020-9116
PUBLISHED: 2020-12-01
Huawei FusionCompute versions 6.5.1 and 8.0.0 have a command injection vulnerability. An authenticated, remote attacker can craft specific request to exploit this vulnerability. Due to insufficient verification, this could be exploited to cause the attackers to obtain higher privilege.
CVE-2020-14193
PUBLISHED: 2020-11-30
Affected versions of Automation for Jira - Server allowed remote attackers to read and render files as mustache templates in files inside the WEB-INF/classes & <jira-installation>/jira/bin directories via a template injection vulnerability in Jira smart values using mustache partials. The ...