• 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

Researchers Uncover Undetectable Crypto Mining Technique on Azure Automation

Posted on November 8, 2023 by admin

[ad_1]

Nov 08, 2023NewsroomCloud Security / Cryptocurrency

Cybersecurity researchers have developed what’s the first fully undetectable cloud-based cryptocurrency miner leveraging the Microsoft Azure Automation service without racking up any charges.

Cybersecurity company SafeBreach said it discovered three different methods to run the miner, including one that can be executed on a victim’s environment without attracting any attention.

“While this research is significant because of its potential impact on cryptocurrency mining, we also believe it has serious implications for other areas, as the techniques could be used to achieve any task that requires code execution on Azure,” security researcher Ariel Gamrian said in a report shared with The Hacker News.

The study mainly set out to identify an “ultimate crypto miner” that offers unlimited access to computational resources, while simultaneously requiring little-to-no maintenance, is cost-free, and undetectable.

Cybersecurity

That’s where Azure Automation comes in. Developed by Microsoft, it’s a cloud-based automation service that allows users to automate the creation, deployment, monitoring, and maintenance of resources in Azure.

SafeBreach said it found a bug in the Azure pricing calculator that made it possible to execute an infinite number of jobs totally free of charge, although it relates to the attacker’s environment itself. Microsoft has since issued a fix for the problem.

An alternative method entails creating a test-job for mining, followed by setting its status as “Failed,” and then creating another dummy test-job by taking advantage of the fact that only one test can run at the same time.

The end result of this flow is that it completely hides code execution within the Azure environment.

A threat actor could leverage these methods by establishing a reverse shell towards an external server and authenticating to the Automation endpoint to achieve their goals.

Furthermore, it was found that code execution could be achieved by leveraging Azure Automation’s feature that allows users to upload custom Python packages.

“We could create a malicious package named ‘pip’ and upload it to the Automation Account,” Gamrian explained.

“The upload flow would replace the current pip in the Automation account. After our custom pip was saved in the Automation account, the service used it every time a package was uploaded.”

Cybersecurity

SafeBreach has also made available a proof-of-concept dubbed CoinMiner that’s designed to get free computing power within Azure Automation service by using the Python package upload mechanism.

Microsoft, in response to the disclosures, has characterized the behavior as “by design,” meaning the method can still be exploited without getting charged.

While the scope of the research is limited to the abuse of Azure Automation for cryptocurrency mining, the cybersecurity firm warned that the same techniques could be repurposed by threat actors to achieve any task that requires code execution on Azure.

“As cloud provider customers, individual organizations must proactively monitor every single resource and every action being performed within their environment,” Gamrian said.

“We highly recommend that organizations educate themselves about the methods and flows malicious actors may use to create undetectable resources and proactively monitor for code execution indicative of such behavior.”

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



[ad_2]

Recent Posts

  • 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
  • Building a Human Firewall: Empowering Employees Against Cyber Threats

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