Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Cybercrime

Cryptojackers Caught Mining Monero via Exposed DevOps Infrastructure

Cryptocurrency mining operation hits exposed Consul dashboards, Docker Engine APIs and Gitea code-hosting instances to push Monero miner.

Supply chain attack

Security researchers at Wiz on Monday raised an alarm catching a malicious hacker hijacking misconfigured DevOps infrastructure for cryptocurrency mining in what appears to be the first documented abuse of HashiCorp Nomad servers in the wild. 

The campaign, active since at least April, also latches onto exposed Consul dashboards, Docker Engine APIs and Gitea code-hosting instances to push the open-source XMRig miner, all fetched directly from public GitHub releases to avoid leaving easy forensic fingerprints. 

According to documentation from Wiz, hackers are abusing the HashiCorp Nomad job-queue API when administrators leave the scheduler in its default, unauthenticated state.

Wiz said its threat hunters watched the attackers drop shell commands that download and launch the Monero cryptocurrency miner, then repeat the trick across dozens of randomly named jobs. 

Wiz noted that Consul’s service-health checks, Docker’s unsecured TCP socket and several long-patched Gitea vulnerabilities provide similar remote-code-execution openings when left exposed.

The cloud security vendor said its telemetry suggests a quarter of cloud environments run at least one of these DevOps tools with about 5% directly reachable from the internet, and nearly a third of those internet-facing deployments are wide-open through bad defaults or skipped hardening. 

Advertisement. Scroll to continue reading.

“Among those exposed deployments, 30% are misconfigured,” Wiz warned.

In one case, Wiz researchers said the attackers tapped a Nomad cluster with hundreds of clients whose combined CPU and RAM would cost “tens of thousands of dollars per month” if paid for legitimately, resources that instead churned out cryptocurrency on behalf of a single wallet address. 

“A key characteristic of this threat actor’s methodology is the deliberate avoidance of unique, traditional identifiers that could be used by defenders as IOCs. Instead, they download tools directly from public GitHub repositories and rely on standard release versions of XMRig rather than custom malware,” Wiz noted.

Instead, the company recommends locking down Nomad and Consul with ACLs, keeping Gitea fully patched, and never exposing the Docker API to the open internet. 

“Misconfiguration abuse by threat actors can often go under defenders’ radar, especially if the affected application isn’t well known as an attack vector,” Wiz researchers said.

Related: US Sanctions Philippine Company for Supporting Crypto Scams

Related: Cryptocurrency Thieves Hijacking Zoom ‘Remote Control’ Feature

Related: US Seizes Garantex in Cryptocurrency Money Laundering Bust

Related: How Social Engineering Sparked a Billion-Dollar Supply Chain Cryptocurrency Heist

Image
Written By

Ryan Naraine is Editor-at-Large at SecurityWeek and host of the popular Security Conversations podcast series. He is a security community engagement expert who has built programs at major global brands, including Intel Corp., Bishop Fox and GReAT. Ryan is a founding-director of the Security Tinkerers non-profit, an advisor to early-stage entrepreneurs, and a regular speaker at security conferences around the world.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this live webinar as we break down why email-layer defenses alone can't keep pace with the modern phishing ecosystem, how agentic AI is changing the capacity equation for security teams, and more.

Register

This year's summit will help organizations learn how to utilize tools, controls, and design models needed to properly secure cloud environments. Interact with leading solution providers and other end users facing similar challenges in securing a variety of cloud deployments.

Register

People on the Move

BlueVoyant has appointed Ravi Subramanian as CFO and Jamie Coleman as CCO.

Solana Foundation has appointed Michael Coates as Chief Information Security Officer.

Michael Sikorski has joined Coinbase as Chief Information Security Officer.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.