Tuesday, March 4, 2025
HomeBotnetPyCryptoMiner - A New Linux Crypto-miner Botnet Spreading over the SSH Protocol...

PyCryptoMiner – A New Linux Crypto-miner Botnet Spreading over the SSH Protocol to Mining Monero

Published on

SIEM as a Service

Follow Us on Google News

Highly Sophisticated Python Script Based Linux Crypto-miner botnet called PyCryptoMiner abusing SSH port and targeting Linux users to mining Monero CryptoCurrency.

Its written in python language which is difficult to detect and this botnet crypto-miner uses over 36,000 domains that is related to scams, gambling, and adult services.

This Crypto miner mainly focusing on mining Monero and till December researchers estimated that it has made approximately US $46,000 mining Monero.

If original command and control server become unreachable then it leverages Pastebin.com/WHATHAPPEN to receive C&C Server Assignment.

Current crypto mining malware is mainly using scripts which are very obfuscated, easily evade the detection and also very difficult to detect by nature.

Also Read: Chrome Extension Caught Silently Mining CryptoCurrency without Users Knowledge

How does this Linux Crypto-miner Works

This Crypt-miner botnet using brute forcing attack to guess SHH login credentials of the Linux machine.

Before connected it to command and control server it deploys the base64-encoded spearhead Python script and executing Obfuscated spearhead Python script.

Most of the cases malware hardcoded with the command & control server, so once it’s taken down it won’t be get connected to another C&C server.

But here attacker using Pastebin.com as an alternative one if original C&C sever goes down.

According to F5 Networks, Being exposed as a public Pastebin.com resource allowed us also to discover more information about this operation. It seems to have been running since at least August of this year because the username “WHATHAPPEN” created the resource on Aug. 21, 2017.

This pastbin.com resource is continuously accessing when original C&C Server goes down and this resource had been viewed 177,987 times.

Its execution flow starts by executing the spearhead Python script it leads to fetching base64-encoded Python script and executed from the C&C server.

It will be the main controller of the of the infected machine which is act as a botnet and The original spearhead bash script named httpsd includes a base64-encoded Python one-liner that runs every 6 hours.

its used to collect  Host/DNS name, OS name and its architecture, Number of CPUs, CPU usage once its take over the target machine.

Discovered  2 pool address which is used by this botnet were paid approximately 94 and 64 Monero which is around  $60,000 USD.

IOCs

Hash

d47d2aa3c640e1563ba294a140ab3ccd22f987d5c5794c223ca8557b68c25e0d

C&C

hxxp://pastebin.com/raw/yDnzKz72

hxxp://pastebin.com/raw/rWjyEGDq

hxxp://k.zsw8.cc:8080 (104.223.37.150)

hxxp://i.zsw8.cc:8080 (103.96.75.115)

hxxp://208.92.90.51

hxxp://208.92.90.51:443

hxxp://104.223.37.150:8090

Infected Machine

/tmp/VWTFEdbwdaEjduiWar3adW

/bin/httpsd

/bin/wipefs

/bin/wipefse

/bin/minerd

/bin/webnode

/bin/safenode

/tmp/tmplog

Balaji
Balaji
BALAJI is an Ex-Security Researcher (Threat Research Labs) at Comodo Cybersecurity. Editor-in-Chief & Co-Founder - Cyber Security News & GBHackers On Security.

Latest articles

Update Alert: Google Warns of Critical Android Vulnerabilities Under Exploit

Google’s March 2025 Android Security Bulletin has unveiled two critical vulnerabilities—CVE-2024-43093 and CVE-2024-50302—currently under...

BigAnt Server 0-Day Vulnerability Lets Attackers Run Malicious Code Remotely

A critical vulnerability in BigAntSoft's enterprise chat server software has exposed ~50 internet-facing systems...

Bubba AI, Inc. is Launching Comp AI to Help 100,000 Startups Get SOC 2 Compliant by 2032.

With the growing importance of security compliance for startups, more companies are seeking to...

IBM Storage Virtualize Flaws Allow Remote Code Execution

Two critical security flaws in IBM Storage Virtualize products could enable attackers to bypass...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Stablecoin Bank Hit by Cyberattack, Loses $49.5M to Hackers

The cryptocurrency sector faced one of its most significant security breaches this year as...

Biggest Crypto Hack in History – Hackers Stolen $1.46 Billion Worth Crypto From Bybit

In what has become the largest cryptocurrency theft in history, hackers infiltrated Bybit’s Ethereum...

BADBOX Botnet Surges: Over 190,000 Android Devices Infected, Including LED TVs

The BADBOX botnet, a sophisticated malware operation targeting Android-based devices, has now infected over...