Security

Year-old vuln turns Jenkins servers into Monero mining slaves

The hip world of continuous integration meets the dark world of crypto-jacking


Here's a salutary reminder why it pays to patch promptly: a Jenkins bug patched last year became the vector for a multi-million-dollar cryptocurrency mining hijack.

A campaign security researchers dubbed “JenkinsMiner” exploited CVE-2017-1000353, a deserialisation bug first disclosed with fixes by the Jenkins team in April 2017.

According to Check Point researchers, that bug helped an attacker, believed to be from China, use Jenkins servers as mining rigs – after they'd already garnered US$3 million of Monero using the XMRig miner on exploited Windows machines.

On un-patched systems, just two commands sent to the Jenkins CLI trigger CVE-2017-1000353.

Good news, everyone: Ransomware declining. Bad news: Miscreants are turning to crypto-mining on infected PCs

READ MORE

Next, they wrote, the attacker sends a request containing two objects, “Capability” and “Command”. It's the second of these that contains the Monero miner payload.

Once the Jenkins server is compromised, the attack launches a hidden PowerShell instance so the script can run in the background, and the attack sets a variable to a web-client object, with scrambled case to try and confuse security products.

That command fetches the miner's executable and the script starts the miner.

Check Point's estimated income came from a detail of how the attacker works: funds from their different operations are sent to a single Monero wallet.

Earlier this year, an old bug in Oracle's WebLogic server was also exploited to plant XMRig. That attack was discovered by Morpheus Labs' Renato Marinho and disclosed in a post at the SANS Institute. The SANS Dean of Research Johannes Ullrich noted that XMRig itself is considered a legitimate miner. ®

Send us news
8 Comments

Huawei wants to take homegrown HarmonyOS phone platform worldwide

Chinese tech juggernaut eyes global expansion despite US tech restrictions

China creates 'Information Support Force' to improve networked defence capabilities

A day after FBI boss warns Beijing is poised to strike against US infrastructure

US government reportedly ponders crimping China's use of RISC-V

Permissive licenses may be about to collide with geopolitics

Germany arrests trio accused of trying to smuggle naval military tech to China

Prosecutors believe one frikkin' laser did make its way to Beijing

Intel preps export-friendly lower-power Gaudi 3 AI chips for China

Beijing will be thrilled by this nerfed silicon

US senator wants to put the brakes on Chinese EVs

Fears of low-cost invasion and data spies spark call for ban

iPhone sales dive 19.1% in China as Huawei comeback hits Apple in the high end

From first place to third as local brands grow

WhatsApp, Threads, more banished from Apple App Store in China

Still available in Hong Kong and Macau, for now

China scientists talk of powering hypersonic weapon with cheap Nvidia chip

Jetson module can efficiently process computational fluid dynamics models

China orders its telcos to rip and replace US chips with homegrown silicon by 2027

There's no Huawei we saw that coming

Banned Nvidia GPUs sneak into sanction-busting Chinese servers

Graphics giant and partners say they're clean – it's all technically legit

Where there's a will, there's Huawei to develop one's own chipmaking kit

Export restrictions and sanctions working well, we see