September 6, 2017 By Larry Loeb 2 min read

Security researchers uncovered a new wave of concentrated attacks against MongoDB installations. The campaign is reminiscent of a malware attack from late 2016 and early 2017 in which unsecured databases were cleared and replaced with a fraudulent ransom note. Those who paid the ransom found that their data was permanently lost.

New Malware Attack Hits MongoDB

Bleeping Computer attributed the discovery to security researchers Dylan Katz and Victor Gevers. Gevers is the chairman of the GDI Foundation, which is a nonprofit organization that aims to secure devices exposed online.

Katz unearthed the MongoDB attacks as part of this work, which also involved cryptocurrency miners, Arris modems and Internet of Things (IoT) devices. Gevers said he would consult with additional security experts to examine the attacks more closely.

According to a Google Docs spreadsheet compiled by several security researchers to track the issue, including the previous MongoDB ransomware strikes, three email addresses were associated with these new attacks. These infected over 26,000 servers. That is an extremely high number of compromises for a short period of time.

Gevers also told Bleeping Computer that he had observed cases in which a threat actor breached a user’s database before the user restored the data from backups. At that point, the malware operators hijacked the database once more because the victim failed to properly secure it.

Possible Causes and Remediation Steps

Gevers could not paint a clear picture as to how the hijacking was even possible. He said he was confused by missing pieces of the overall puzzle, and he wondered whether a lack of knowledge on the victims’ part came into play. He also suggested that the victims may have been running on older versions of the database without safe defaults.

For its part, MongoDB posted a detailed list of steps to avoid attacks like this. Security professionals responsible for securing MongoDB databases would be wise to review these mitigation steps.

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