AWS Elasticsearch Servers Host Malware

Two strains of POS malware have been using Elasticsearch servers on AWS as hiding places.

3 Min Read

Cloud-hosted servers are at the root of yet another malware outbreak as more than 4,000 ElasticSearch servers, most hosted on AWS, have been found to be infected with two strains of malware aimed at point-of-sale (POS) terminals. The malware -- AlinaPOS and JackPOS -- has been around for at least five years but is now being widely sold on dark web malware sites.

Researchers at Kromtech discovered the malware instances during research on Elasticsearch and found that many of the servers had been infected multiple times with multiple versions of the malware. The question is, why were the Elasticsearch instances on AWS hit particularly hard?

Elasticsearch is an open-source search and analytics engine that is fully indexed so searches are very fast. It can run on very small hardware footprints and that's why so many Elasticsearch servers are hosted on AWS -- and why a particular vulnerability to this malware exists. According to the Kromtech research blog post:

"Amazon Web Services provides customers with a free T2 micro (EC2 / Elastic Compute Cloud) instance with up to 10 Gb of disk space. These T2 instances are designed for operations that don't use the full CPU for general purpose workloads, such as web servers, developer environments, and small databases. The problem is that on the T2 micro, you can set only versions 1.5.2 and 2.3.2."

Amazon makes it very fast and very easy to set up one of these Elasticsearch instances. Unfortunately, the speed and ease make it very fast and easy to skip all the security settings, leaving both functionality and administration of the Elasticsearch instance open to the world. And everyone knows that there is little that a hacker loves more than an unlocked, open instance.

So what are companies to do with Elasticsearch instances that they now assume to be infected? The Kromtech Security Center has a list of suggestion in the blog post announcing the find; the points of the list boil down to tear down the instance, throw it away and start over from a known-good image.

Get real-world answers to virtualization challenges from industry leaders. Join us for the NFV & Carrier SDN event in Denver. Register now for this exclusive opportunity to learn from and network with industry experts -- communications service providers get in free!

Elastic has their own list of security suggestions which are largely things that should be done as part of all security processes for all applications and infrastructure components. To both of these sets of suggestions, Security Now has one more that seems necessary on the heels of recent vulnerabilities.

Be careful when you configure cloud-based servers. Don't click in rapid-fire fashion through security questions and setup parameters. Take the few minutes required to understand what you're setting up and why. Proper cloud setup isn't necessarily hard: It just takes thought and a little bit of patience. And it could pay off in the joy that comes through knowing that you're not a major stop on the dark web malware repository road.

Related posts:

— Curtis Franklin is the editor of SecurityNow.com. Follow him on Twitter @kg4gwa.

Read more about:

Security Now

About the Author(s)

Curtis Franklin, Principal Analyst, Omdia

Curtis Franklin Jr. is Principal Analyst at Omdia, focusing on enterprise security management. Previously, he was senior editor of Dark Reading, editor of Light Reading's Security Now, and executive editor, technology, at InformationWeek, where he was also executive producer of InformationWeek's online radio and podcast episodes

Curtis has been writing about technologies and products in computing and networking since the early 1980s. He has been on staff and contributed to technology-industry publications including BYTE, ComputerWorld, CEO, Enterprise Efficiency, ChannelWeb, Network Computing, InfoWorld, PCWorld, Dark Reading, and ITWorld.com on subjects ranging from mobile enterprise computing to enterprise security and wireless networking.

Curtis is the author of thousands of articles, the co-author of five books, and has been a frequent speaker at computer and networking industry conferences across North America and Europe. His most recent books, Cloud Computing: Technologies and Strategies of the Ubiquitous Data Center, and Securing the Cloud: Security Strategies for the Ubiquitous Data Center, with co-author Brian Chee, are published by Taylor and Francis.

When he's not writing, Curtis is a painter, photographer, cook, and multi-instrumentalist musician. He is active in running, amateur radio (KG4GWA), the MakerFX maker space in Orlando, FL, and is a certified Florida Master Naturalist.

Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights