July 24, 2019 By David Bisson 2 min read

Researchers spotted an attack campaign that seeks out publicly exposed Elasticsearch databases and servers to deliver a distributed denial-of-service (DDoS) botnet.

In an attack wave spotted by Trend Micro, the DDoS botnet campaign began by scanning for exposed or unsecured Elasticsearch databases and servers. One instance of the attack even went so far as to exploit CVE-2015-1427, an older vulnerability that affects the Groovy scripting engine of Elasticsearch. Either way, the campaign used a dropper to run the script s67.sh so it could define which shell to use and where to find it before attempting to stop the firewall. The campaign then ran s66.sh, a second-stage script that removed traces of the initial infection and killed any other cryptocurrency mining processes before downloading the final binary.

The campaign’s binaries revealed a backdoor variant that functioned similarly to BillGates malware. Researchers observed this threat stealing system information, enslaving infected machines and launching DDoS attacks. The backdoor also came with the ability to exploit CVE-2017-5638, a remote code execution (RCE) vulnerability in Apache Struts 2.

A Growing List of Elasticsearch Security Incidents

This isn’t the first attack to prey on exposed Elasticsearch databases and servers. In November 2018, for instance, HackenProof unearthed an IP with a publicly accessible Elasticsearch cluster that exposed the personal data of nearly 57 million U.S. citizens. Two months later, Security Discovery observed an unprotected Elasticsearch server containing 24 million records of personal information.

Most recently, in April 2019, The Hacker News reported on tens of thousands of exposed Kibana instances that, in turn, made the Elasticsearch databases and servers with which they worked publicly accessible.

How to Defend Against a DDoS Botnet

Security professionals can help defend against attack campaigns that seek to deliver a DDoS botnet by using a comprehensive vulnerability management program to prioritize software patches based on the level of risk posed by known security weaknesses. Companies should also work to defend their systems against DDoS attacks using next-generation firewalls, anomaly detection and other tools.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today