Exposed databases, opportunistic hackers, and yet another demand for a few hundred dollars to recover stolen data—recent automated attacks on open MongoDB instances highlight that ‘public by default’ remains a dangerous misstep, particularly for production environments.
Threat actors are employing scripts to scan for accessible MongoDB servers. Once these systems are discovered, attackers exfiltrate and erase the original data, leaving a ransom demand in its place. The sums requested are relatively modest, intended to encourage stressed administrators to pay up rather than invest effort into restoration or securing the instance more thoroughly.
This cycle persists for several reasons. Many teams deploy cloud-backed databases for rapid prototyping without restricting access. Default configurations still lean towards convenience, often at the expense of critical safeguards. The line between development and production servers is frequently blurred, and the mistaken belief in ‘security through obscurity’ continues to result in avoidable breaches.
Protecting your data starts with not exposing databases to the internet; firewalls should be standard, not optional. Strong authentication is essential, not a feature. Routine, automated configuration audits must become part of operational hygiene rather than a one-off setup. Crucially, maintaining reliable backups is more cost-effective—and less stressful—than surrendering to extortion.
Having dealt with the aftermath of these incidents on numerous occasions, paying the ransom seldom delivers real assurance. It’s far wiser to review your cloud access rules and security posture proactively, rather than risking a production environment. If you operate MongoDB or any database technology, now is the time to confirm your configuration is aligned with best practices.
Original story: Exposed MongoDB instances still targeted in data extortion attacks.

