Security News

Threat Actors Exploit Docker Engine API

Exposed Docker Engine API instances are being used to build the OracleIV DDoS botnet. See how the attack works and how to protect your Docker hosts.

Brandefense logo Updated 2 Min Read
docker engine api exploit in a botnet campaign named oracleiv

Docker Engine API instances that are open to the internet are being used in a campaign that adds machines to a DDoS botnet called OracleIV. Attackers abuse misconfigured Docker containers to spread Python malware built as an ELF executable. The fix is to keep the Docker API off public networks and protect any remote access.

What is the OracleIV campaign against Docker?

Publicly accessible Docker Engine API instances have become the target of a campaign aiming to enlist machines into a distributed denial-of-service (DDoS) botnet named OracleIV.

How does the attack work?

It has been observed that attackers take advantage of misconfigurations in Docker containers to distribute Python malware compiled as an ELF executable. The attack chain reveals that attackers retrieve a shell script named ‘oracle.sh’ from a command-and-control (C&C) server. Before initiating malware infiltration, attackers scan through HTTP requests to identify security vulnerabilities. To avoid detection, the threat operates as a background service independent of the current user session.

What else is happening with Linux DDoS malware and exposed Docker?

Additionally, the DDoS malware XorDdos, infecting Linux devices, has resurfaced. This malicious software transforms Linux devices into zombies for subsequent DDoS attacks on selected targets.

Exposed Docker instances have become appealing targets in recent years, often exploited for cryptocurrency piracy campaigns. The OracleIV campaign was publicly reported in November 2023.

How can Docker users reduce the risk?

DockerHub users are encouraged to regularly assess images obtained from the registry to ensure they are not tainted with malicious code. Consistent with other attacks leveraging misconfigured services exposed to the internet (e.g., Jupyter, Redis, etc.), users of these services are strongly encouraged to periodically review the risks they face and implement network defenses accordingly.

Frequently Asked Questions.

What is the OracleIV botnet?

It is a DDoS botnet built by attackers who take over publicly accessible Docker Engine API instances, as the post describes. SecurityWeek reports that the malicious image had over 3,000 pulls and appeared to be updated regularly.

How do attackers abuse the Docker Engine API?

MITRE ATT&CK notes that adversaries can deploy containers through Docker's create and start APIs, and it warns about unauthenticated access to the Docker API.

How do I protect a Docker daemon on a network?

Docker's documentation says the daemon uses a non-networked UNIX socket by default. For remote access use SSH, or TLS with client certificates that the daemon checks.

What should I check besides Docker?

The post advises regularly assessing images from the registry and reviewing the risks of other internet-exposed services such as Jupyter and Redis.

What attacks can OracleIV carry out?

CSO Online reports that the bot can launch several kinds of flood attacks, including TCP, UDP and SYN floods, and that it connects to a command-and-control server to receive its orders.

Sources

  1. 1 MITRE ATT&CK: Deploy Container (T1610)
  2. 2 Docker docs: Protect the Docker daemon socket
  3. 3 CSO Online: Misconfigured Docker API endpoints allow attackers to deliver DDoS botnet agent
  4. 4 SecurityWeek: MySQL Servers, Docker Hosts Infected With DDoS Malware
Share