Categories: News

Two Rubygems Infected With Crypto-Stealing Feature Malware Spotted by Researchers

New infected Rubygems packages have been spotted in its open-source software repository and which contained malicious code mainly used to steal cryptocurrencies from users via supply chain attack.

Two Cryptocurrency-Stealers Rubygems Detected by Researchers at Sonatype

According to Ax Sharma, a security researcher at Sonatype, the two gems detected — pretty_color and ruby-bitcoin — had malware that deployed the attack on Windows machines and replaced any bitcoin (BTC), ethereum (ETH), or monero (XMR) wallet addresses found on the victim’s clipboard by the attackers’ ones.

Rubygems is a package manager for the Ruby programming language that allows developers to integrate code developed by other people. Anyone can upload a “gem” to the repository, open in some way the doors for threat actors to upload their malicious packages.

The researcher explained further about how the attack operates:

This means if a user who had mistakenly installed either of these gems was to copy-paste a bitcoin recipient wallet address somewhere on their system, the address would be replaced with that of the attacker, who’d now receive the bitcoins.

During an analysis conducted by the Sonatype Security Research team, it was detected that unless the victim double-checks the wallet address after they paste it, the clipboard hijacker deployed during the supply chain attack will quietly change the address by creating separate malicious scripts contained in VBS files.

if (!window.GrowJs) { (function () { var s = document.createElement(‘script’); s.async = true; s.type = ‘text/javascript’; s.src = ‘https://bitcoinads.growadvertising.com/adserve/app’; var n = document.getElementsByTagName(“script”)[0]; n.parentNode.insertBefore(s, n); }()); } var GrowJs = GrowJs || {}; GrowJs.ads = GrowJs.ads || []; GrowJs.ads.push({ node: document.currentScript.parentElement, handler: function (node) { var banner = GrowJs.createBanner(node, 31, [300, 250], null, []); GrowJs.showBanner(banner.index); } });

Supply Chain Attacks: A Growing Concern

Sharma also warned on the growing trend that supply chain attacks have so far in 2020, considering it a “bigger concern.”

According to Sonatype’s 2020 State of the Software Supply Chain report, there was a 430% increase in upstream software supply chain attacks over the past year, making it “virtually impossible” to chase and keep track of such components manually.

Sonatype’s Sharma adds:

Of all activities a ransomware group may conduct on a compromised system, replacing bitcoin wallet address on the clipboard feels more akin to a trivial mischief by an amateur threat actor than to a sophisticated ransomware operation. However, this coincidence does raise a bigger concern, considering how rampant software supply chain attacks have been in 2020.

Will we see a leading role in crypto-related supply chain attacks in 2021? Let us know in the comments section below.

The post Two Rubygems Infected With Crypto-Stealing Feature Malware Spotted by Researchers appeared first on Bitcoin News.

[…]
Learn more

crypto

Leave a Comment

Recent Posts

The Governor of the Banque de France obtains the prestigious Tulip Prize

The Tulip Prize [1] was awarded yesterday to François Villeroy de Galhau for a speech…

2 years ago

United States: The offensive of a group of senators against cryptocurrencies

Senator Elizabeth Warren, supported by other senators, today introduced a bill titled the “Digital Asset…

2 years ago

Ukraine: Volodymyr Zelensky signs a law "on virtual assets"

President Volodymyr Zelensky today signed the “virtual assets” law adopted by the Ukrainian parliament on…

2 years ago

US: A central bank digital dollar project

Joe Biden today signed an executive order asking the federal government to assess the risks…

2 years ago

Ethereum: 100,000 transactions per second

After the implementation of the Ethereum blockchain in the consensus Proof-of-Stake model called “Beacon Chain”,…

2 years ago

First major correction of 2021 for cryptos

It hung in the face of investors, this correction. And if the movements of Bitcoin…

3 years ago