Virtual Event Today: Supply Chain Security Summit - Join Event In-Progress

Security Experts:

Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Cybercrime

Jenkins Vulnerability Exploited to Deliver ‘Kerberods’ Malware

A vulnerability disclosed late last year has been exploited by malicious actors to deliver a piece of malware that deploys a Monero cryptocurrency miner and looks for new victims on the internet and the local network.

A vulnerability disclosed late last year has been exploited by malicious actors to deliver a piece of malware that deploys a Monero cryptocurrency miner and looks for new victims on the internet and the local network.

According to the SANS Institute’s Internet Storm Center, the attacks involve CVE-2018-1000861, a vulnerability affecting the Stapler HTTP request handling engine, which is used by the Jenkins open source software development automation server.

Jenkins developers informed users of the vulnerability and the availability of patches in December 2018, and warned that the flaw could be exploited for various purposes, including by unauthenticated attackers.

The researchers who discovered the security hole have made public some technical details and explained how it could be chained with other flaws for unauthenticated remote code execution.

According to SANS handler Renato Marinho, a proof-of-concept (PoC) exploit for CVE-2018-1000861 was released in early March.

Marinho noticed that one of his honeypots was attacked via this vulnerability. An analysis of the attack revealed that hackers are exploiting the flaw to target Jenkins servers and download and execute a piece of malware tracked as Kerberods.

The malware, packaged with a custom version of the UPX packer, attempts to obtain root privileges on the compromised system, which it uses to hide and ensure persistence. If it obtains root permissions, Kerberods loads a library into the operating system that hooks various functions of Glibc, acting like a rootkit.

If it does not obtain root permissions, the malware ensures persistence by creating a cron job.

Kerberods then downloads and executes a Monero cryptocurrency miner on the compromised system, which helps the cybercriminals behind the attack make a profit — one Monero (XMR) is currently worth roughly $68. The malware is also designed to kill other cryptocurrency miners that might be present on the hacked device.

Once it has deployed the miner, Kerberods uses local SSH keys in an attempt to move laterally on the compromised network in search of new victims. It also leverages the compromised machine to look for other vulnerable Jenkins servers on the internet.

Related: Vulnerabilities Found in Over 100 Jenkins Plugins

Related: Misconfigured Jenkins Servers Leak Sensitive Data

Related: Critical Flaw Patched in Jenkins Automation Server

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

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 webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.

Register

Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.

Register

Expert Insights

Related Content

Cybercrime

Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.

Vulnerabilities

Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Cybercrime

The release of OpenAI’s ChatGPT in late 2022 has demonstrated the potential of AI for both good and bad.

Cybercrime

Satellite TV giant Dish Network confirmed that a recent outage was the result of a cyberattack and admitted that data was stolen.

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Application Security

PayPal is alerting roughly 35,000 individuals that their accounts have been targeted in a credential stuffing campaign.

Cybercrime

No one combatting cybercrime knows everything, but everyone in the battle has some intelligence to contribute to the larger knowledge base.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...