Security News

Misconfigured Elasticsearch Servers Targeted by Threat Actors

Threat actors delete the contents of misconfigured Elasticsearch servers and leave ransom notes. See how the campaign works and why backups matter most.

Brandefense logo Updated 2 Min Read
Elasticsearch servers targeted

Misconfigured Elasticsearch servers that are exposed to attackers can be hit by threat actors who delete the database contents and leave ransom notes demanding payment. This post describes how the campaign works, why the promise to restore the data should not be trusted, and what database administrators can do to reduce the risk.

How does the Elasticsearch ransom campaign work?

Security researchers have identified a new attack campaign targeting misconfigured Elasticsearch databases. Threat actors demand ransom payments from targets by altering the database content on vulnerable Elasticsearch servers with their ransom notes. The threat actors conduct the campaign by deleting the vulnerable database contents and adding ransom notes via an automated script. If the targets do not pay the ransom demanded by the threat actors within the given time, the ransom fee is doubled, and access to the content is lost without return. Upon the execution of the requested ransom payment by the targets, the threat actors download a link to the database session of the targets.

Can you trust the promise to restore the data?

It is claimed that the link in question will enable the restoration of all compromised directories. However, at this stage, promises made by threat actors should not be respected because it is impractical for threat actors to store large amounts of content. Most likely, the contents of the hacked databases are deleted, but ransom notes are left promising to restore the contents to the system. Therefore, database administrators need to take regular backups.

What can organizations do to reduce the risk?

These and similar security breaches can lead to loss of reputation, data leakage, and possible service interruptions that may cost much more than the ransom amount of the affected institutions/organizations and organizations. In this context, it is recommended to use the current versions of the systems and programs, take regular backups of critical systems/files, perform attack surface analysis tests at regular intervals, and use comprehensive security solutions.

Frequently Asked Questions.

What is the Elasticsearch ransom attack?

Threat actors find misconfigured Elasticsearch servers, delete the database contents with an automated script and leave ransom notes. They demand payment and promise to restore the data.

Should you pay the ransom to get Elasticsearch data back?

The post advises against trusting the attackers' promises. It says the contents are most likely deleted and only the ransom notes remain.

How do you protect an Elasticsearch server from this attack?

Keep regular backups, use current software versions and test your exposure to the internet. Elastic documents that security is enabled automatically in version 8.0 and later, and that requests without credentials are rejected once it is on.

Why are backups important against data deletion?

The attackers delete the data, so a backup may be the only way to recover. CISA advises keeping encrypted backups offline and testing them regularly.

Sources

  1. 1 Elastic documentation: Set up minimal security for Elasticsearch
  2. 2 MITRE ATT&CK: Data Destruction (T1485)
  3. 3 CISA: #StopRansomware Guide