Thursday, July 17, 2025
Cloud Native Now

Cloud Native Now


MENUMENU
  • Home
  • Webinars
    • Upcoming
    • Calendar View
    • On-Demand
  • Podcasts
    • Cloud Native Now Podcast
    • Techstrong.tv Podcast
    • Techstrong.tv - Twitch
  • About
  • Sponsor
MENUMENU
  • News
    • Latest News
    • News Releases
  • Cloud-Native Development
  • Cloud-Native Platforms
  • Cloud-Native Networking
  • Cloud-Native Security
Cloud-Native Architecture Cloud-Native Development Cloud-Native Security Docker Social - Facebook Social - LinkedIn Social - X 

Bad Actors Exploiting Docker Remote API Servers in Attacks

November 4, 2024 Jeff Burt cryptomining, Docker attack, malware campaign, remote API, Trend Micro
by Jeff Burt

Researchers from cybersecurity vendor Trend Micro are urging developers to secure and monitor their Docker remote API servers after attacks by threat actors targeting the systems to install a Linux malware and a cryptocurrency miner on compromised systems.

In a pair of reports, the researchers outlined recent attacks that installed and deployed either the perfctl malware or SRBMiner crypto miner, an indication that bad actors are ramping up their efforts to exploit the vulnerability of these servers.

Techstrong Gang Youtube

“Exploiting exposed Docker remote API servers has now reached a critical level where the attention of an organization and its security professionals is seriously required,” threat researchers Sunil Bharti and Ranga Duraisamy wrote in one report. “The first step to avoiding such incidents is understanding the attack sequence a threat actor can use. It is essential that every organization’s Docker Remote API server is secured, monitored regularly for unauthorized access and suspicious activities to reduce the risk of attacks, and has security patches up to date.”

In the report, Bharti and Duraisamy said the attacks installing perfctl start with the bad actors probing for vulnerable Docker remote API servers. Perfctl is a persistent multipurpose backdoor known to deploy cryptojacking malware – when a victim’s compute resources to mine for cryptocurrencies – and proxyjacking, in which hackers not only steal compute resources but also unused bandwidth for their nefarious activities.

Once a vulnerable system is identified, the hackers create a Docker container in a way that includes a name that is similar to a legitimate container and enables it to run in a privileged mode. They also configure their container to “share the same PID namespace as the processes on the host. As a result, the container’s processes will be able to see and interact with all the processes running on the host system in the same way as all running processes, as if they were running directly on the host.”

Two-Part Payload

The container executes a two-part malicious payload via a Docker Exec API, with the first trying to escape the container and the second containing a Base64 encoded shell script, which checks for and prevents duplicate processes and then creates a Bash script that contains a series of commands.

The malware also uses techniques to evade detection, including checking for similar processes and creating directories and a custom function to download files.

This isn’t the only recent report of perfctl being used in attacks. Aqua Security researchers early this month wrote they had discovered the malware exploiting more than 20,000 types of misconfigurations and undetected vulnerabilities to target Linux systems over the past three to four years.

They warned that users with Linux servers connected to the internet were at risk, adding that “given the scale, we strongly believe the attackers targeted millions worldwide with a potential number of victims of thousands, it appears that with this malware any Linux server could be at risk.”

Mining Crypto

In the second Trend Micro report, Bharti and Abdelrahman Esmail wrote that threat actors were targeting Docker remote API servers to deploy SRBMiner to mine XRP crypto, using the gRPC protocol (a framework for transmitting data and implementing APIs using HTTP 2.0) over h2c (HTTP/2 over TCP) to evade security protections and run their cryptomining operations on the Docker host.

They noted that while Docker’s remote API is convenient for developers who want to manage their containers, images and volumes remotely, “this feature also introduces security risks if remote API servers are left misconfigured and exposed to the internet, which could lead to security breaches and exploitation by malicious actors.”

Think Before Enabling by Default

Katie Paxton-Fear, API researcher with Traceable AI, echoed the thought, adding that organizations should think before enabling the remote API by default.

“If you are not 100% sure you need this feature, the safest thing to do is disable it,” Paxton-Fear said. “In this case [involving perfctl], the researchers were able to pivot from a single docker container to the host via a container escape, but if the management API is simply disabled when not in use, the vulnerability is completely avoidable.”

She added that all management APIs have high levels of access and can create and modify resources at will.

“You must ensure you use strong authentication and authorization to ensure that not only those with valid credentials access a management console, but also that they have the correct permissions,” Paxton-Fear said. “This allows you to easily revoke access. But if a user’s credentials are leaked, it is also vital to have logging and monitoring in place for Docker exec so you are aware when new containers are created and used.”

A To-Do List

The Trend Micro researchers also outlined several other steps that need to be taken, including implementing strong access controls and authentication mechanisms, regularly monitoring the remote API servers for unusual activities, and implementing strong security practices like avoiding the use of “privileged” mode and reviewing container images and configurations before deploying them.

Other recommendations include not running containers with root privileges, performing regular security audits and keeping up with security updates and patches for Docker and related software to protect against known vulnerabilities.

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)

Related

  • ← DevOps Dynamics: Kubernetes and Virtual Machines in a Unified Ecosystem
  • Aerospike Extends Scope of Kubernetes Operator for Real-Time Database →

Techstrong TV

Click full-screen to enable volume control
Watch latest episodes and shows

Tech Field Day Events

UPCOMING WEBINARS

  • CloudNativeNow.com
  • DevOps.com
  • Error
How to Turn Backstage into a Self-Service Infra Portal with StackGen
12 August 2025
How to Turn Backstage into a Self-Service Infra Portal with StackGen
Where AI Security Really Happens: Inside the Container
22 July 2025
Where AI Security Really Happens: Inside the Container
Securing Vibe Coding: Addressing the Security Challenges of AI-Generated Code
10 September 2025
Securing Vibe Coding: Addressing the Security Challenges of AI-Generated Code
Live Hack: Exploiting AI-Generated Code
10 September 2025
Live Hack: Exploiting AI-Generated Code
Software Safety and Security in the AI-Driven Era
21 August 2025
Software Safety and Security in the AI-Driven Era

RSS Error: A feed could not be found at `https://securityboulevard.com/webinars/feed/`; the status code is `403` and content-type is `text/html; charset=UTF-8`

Podcast


Listen to all of our podcasts

Press Releases

ThreatHunter.ai Halts Hundreds of Attacks in the past 48 hours: Combating Ransomware and Nation-State Cyber Threats Head-On

ThreatHunter.ai Halts Hundreds of Attacks in the past 48 hours: Combating Ransomware and Nation-State Cyber Threats Head-On

Deloitte Partners with Memcyco to Combat ATO and Other Online Attacks with Real-Time Digital Impersonation Protection Solutions

Deloitte Partners with Memcyco to Combat ATO and Other Online Attacks with Real-Time Digital Impersonation Protection Solutions

SUBSCRIBE TO CNN NEWSLETTER

MOST READ

Mirantis Adds AI Reference Architecture Based on k0rdent Control Plane

June 19, 2025

OpenTofu Project Adds OCI Registry to Share and Reuse Components

July 1, 2025

Docker Extends Reach to Streamline Building of AI Agents

July 10, 2025

Curved Kubernetes: Microsoft Workload Orchestration in Azure Arc

July 9, 2025

RECENT POSTS

Cloud-Native Infrastructure in the Age of AI: Open Control and Orchestration
Video Interviews 

Cloud-Native Infrastructure in the Age of AI: Open Control and Orchestration

July 11, 2025 Alan Shimel 0
Docker Extends Reach to Streamline Building of AI Agents
Docker Features Latest News News Social - Facebook Social - LinkedIn Social - X Topics 

Docker Extends Reach to Streamline Building of AI Agents

July 10, 2025 Mike Vizard 0
Curved Kubernetes: Microsoft Workload Orchestration in Azure Arc
Cloud-Native Platforms Features Kubernetes News Releases Social - Facebook Social - LinkedIn Social - X Topics 

Curved Kubernetes: Microsoft Workload Orchestration in Azure Arc

July 9, 2025 Adrian Bridgwater 0
Mastering Reloader: Automating Kubernetes Restarts with Confidence
Contributed Content Kubernetes Social - Facebook Social - LinkedIn Social - X Topics 

Mastering Reloader: Automating Kubernetes Restarts with Confidence

July 4, 2025 Rasheed Amir 0
Fresh Secrets From The Docks: What 15 Million Docker Images Taught Us About Cloud Security
Containers Contributed Content Docker Social - Facebook Social - LinkedIn Social - X Topics 

Fresh Secrets From The Docks: What 15 Million Docker Images Taught Us About Cloud Security

July 3, 2025 Guillaume Valadon 0
  • About
  • Media Kit
  • Sponsor Info
  • Write for Cloud Native Now
  • Copyright
  • TOS
  • Privacy Policy
Powered by Techstrong Group
Copyright © 2025 Techstrong Group, Inc. All rights reserved.
×