• Book Dewayne Hart
  • Dewaynehart@dewaynehart.com
  • (470) 409 8316
  • Speaker Bio
  • Home
  • About
  • Speaker
  • Books
  • Podcast
  • Contact
  • Home
  • About
  • Speaker
  • Books
  • Podcast
  • Contact
Facebook-f Linkedin-in Youtube X-twitter Globe
Order books

Qubitstrike Targets Jupyter Notebooks with Crypto Mining and Rootkit Campaign

Posted on October 18, 2023 by admin

[ad_1]

Oct 18, 2023NewsroomRootkit / Cryptocurrency

Crypto Mining and Rootkit Campaign

A threat actor, presumably from Tunisia, has been linked to a new campaign targeting exposed Jupyter Notebooks in a two-fold attempt to illicitly mine cryptocurrency and breach cloud environments.

Dubbed Qubitstrike by Cado, the intrusion set utilizes Telegram API to exfiltrate cloud service provider credentials following a successful compromise.

“The payloads for the Qubitstrike campaign are all hosted on codeberg.org – an alternative Git hosting platform, providing much of the same functionality as GitHub,” security researchers Matt Muir and Nate Bill said in a Wednesday write-up.

In the attack chain documented by the cloud security firm, publicly accessible Jupyter instances are breached to execute commands to retrieve a shell script (mi.sh) hosted on Codeberg.

Cybersecurity

The shell script, which acts as the primary payload, is responsible for executing a cryptocurrency miner, establishing persistence by means of a cron job, inserting an attacker-controlled key to the .ssh/authorized_keys file for remote access, and propagating the malware to other hosts via SSH.

The malware is also capable of retrieving and installing the Diamorphine rootkit to conceal malicious processes as well as transmitting the captured Amazon Web Services (AWS) and Google Cloud credentials back to the attacker through the Telegram bot API.

One noteworthy aspect of the attacks is the renaming of legitimate data transfer utilities such as curl and wget in a likely attempt to evade detection and prevent other users in the system from using the tools.

“mi.sh will also iterate through a hardcoded list of process names and attempt to kill the associated processes,” the researchers said. “This is likely to thwart any mining operations by competitors who may have previously compromised the system.”

Crypto Mining and Rootkit Campaign

The shell script is further designed to leverage the netstat command and a hard-coded list of IP/port pairs, previously associated with cryptojacking campaigns, to kill any existing network connections to those IP addresses.

Also taken are steps to delete various Linux log files (e.g., /var/log/secure and /var/log/wtmp), in what’s another sign that Qubitstrike actors are looking to fly under the radar.

The exact origins of the threat actor remain unclear, although evidence points to it likely being Tunisia owing to the IP address used to login to the cloud honeypot using the stolen credentials.

Cybersecurity

A closer examination of the Codeberg repository has also revealed a Python implant (kdfs.py) that’s engineered to be executed on infected hosts, with Discord acting as a command-and-control (C2) mechanism to upload and download from and to the machine.

The connection between mi.sh and kdfs.py remains unknown as yet, although it’s suspected that the Python backdoor facilitates the deployment of the shell script. It also appears that mi.sh can be delivered as a standalone malware without relying on kdfs.py.

“Qubitstrike is a relatively sophisticated malware campaign, spearheaded by attackers with a particular focus on exploitation of cloud services,” the researchers said.

“Of course, the primary objective of Qubitstrike appears to be resource hijacking for the purpose of mining the XMRig cryptocurrency. Despite this, analysis of the Discord C2 infrastructure shows that, in reality, any conceivable attack could be carried out by the operators after gaining access to these vulnerable hosts.”

Found this article interesting? Follow us on Twitter  and LinkedIn to read more exclusive content we post.



[ad_2]

Recent Posts

  • Cybersecurity Leadership in 2026: Executive Decisions that Drive Resilience and Growth
  • Implementing a Hacker’s Mindset: Build a Security Culture That Hunts, Learns, and Wins
  • The Future of Cybersecurity Leadership: Integrating Military Discipline and Strategic Thinking
  • Prioritize to Win: Optimizing Cyber Risk for Maximum Business Impact
  • Lead Before the Breach: How Executives Prevent AI-Driven Cyber Attacks

Recent Comments

No comments to show.

Archives

  • February 2026
  • July 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023

Categories

  • Cyber News
  • Uncategorized

Book Dewayne Hart for your next event

  • Dewaynehart@dewaynehart.com
  • (470) 409 8316
Facebook-f Linkedin-in Youtube X-twitter Globe
© 2025 Dewayne Hart | Cybersecurity Leadership & Innovation