Microsoft discovers cryptomining gang hijacking ML-focused Kubernetes clusters

kubeflow.png

Microsoft has published a report today detailing a never-before-seen series of attacks against Kubeflow, a toolkit for running machine learning (ML) operations on top of Kubernetes clusters.

The attacks have been going on since April this year, and Microsoft says its end-goal has been to install a cryptocurrency miner on Kubernetes clusters running Kubeflow instances exposed to the internet.

According to Yossi Weizman, a security researcher with Microsoft’s Azure Security Center, the company has detected these types of attacks against “tens of Kubernetes clusters” running Kubeflow.

But while the number of hijacked clusters is small in comparison to previous Kubernetes attacks, the profits for crooks and the financial losses to server owners are most likely much higher than other attacks seen before.

“Nodes that are used for ML tasks are often relatively powerful, and in some cases include GPUs,” Weizman explained.

“This fact makes Kubernetes clusters that are used for ML tasks a perfect target for crypto mining campaigns, which was the aim of this attack.”

Attacks began in April this year

Microsoft says it’s been tracking these attacks since April when it first saw them get underway and documented the first attack wave, before crooks expanded their focus from general-purpose Kubernetes instances to ML-focused clusters running Kubeflow.

As it learned more from its investigation into the early attacks, Microsoft now says it believes the most likely point of entry for the attacks are misconfigured Kubeflow instances.

In a report today, Microsoft said that Kubeflow admins most likely changed the Kubeflow default settings and exposed the toolkit’s admin panel on the internet. By default, the Kubeflow management panel is exposed only internally and accessible from inside the Kubernetes cluster.

misconfigured-kubeflow.png

misconfigured-kubeflow.png

Kubernetes threat matrix for the atacks on Kubeflow instances

Image: Microsoft

Weizman said that since April, a cryptomining gang has been scanning for these dashboards, accessing the internet-exposed admin panels, and deploying new server images to Kubeflow clusters, with these images focused on running XMRig, a Monero cryptocurrency mining application.

How to detect hacked Kubeflows

In case server administrators may want to investigate their clusters for any hacked Kubeflow instances, Weizman provided the following steps.

  • Verify that the malicious container is not deployed in the cluster. The following command can help you to check it:

kubectl get pods –all-namespaces -o jsonpath=”{.items[*].spec.containers[*].image}”  | grep -i ddsfdfsaadfs 

  • In case Kubeflow is deployed in the cluster, make sure that its dashboard isn’t exposed to the internet: check the type of the Istio ingress service by the following command and make sure that it is not a load balancer with a public IP:

kubectl get service istio-ingressgateway -n istio-system

About the author

E-Crypto News was developed to assist all cryptocurrency investors in developing profitable cryptocurrency portfolios through the provision of timely and much-needed information. Investments in cryptocurrency require a level of detail, sensitivity, and accuracy that isn’t required in any other market and as such, we’ve developed our databases to help fill in information gaps.

Related Posts

E-Crypto News Executive Interviews

Cryptopunkad1
Cryptopunkad2
Cryptopunkad1
Cryptopunkad1
Cryptopunkad1
Cryptopunkad1
previous arrow
next arrow

Automated trading with HaasBot Crypto Trading Bots

Blockchain/Cryptocurrency Questions and Answers

What Is ZetaChain And How Does It Operate?
What Is ZetaChain And How Does It Operate?
September 27, 2022
LUNC
What is Terra Classic (LUNC)? How Does it Work?
September 26, 2022
What Is A Public Presale In Crypto?
What Is A Public Presale In Crypto?
September 22, 2022
Cryptocurrency
How Many Cryptocurrencies and NFT Collections are there in 2022?
September 21, 2022
What Are The Benefits Of Cryptocurrency?
What Are The Benefits Of Cryptocurrency?
September 20, 2022


CryptoCurrencyUSDChange 1hChange 24hChange 7d
Bitcoin19,884 2.29 % 3.45 % 2.16 %
Ethereum1,368.8 2.78 % 3.31 % 2.85 %
Tether0.9918 0.66 % 0.88 % 0.86 %
USD Coin1.000 0.44 % 0.25 % 0.18 %
BNB283.64 0.09 % 0.32 % 2.79 %
XRP0.4778 0.53 % 9.98 % 1.90 %
Binance USD1.000 0.15 % 0.14 % 0.18 %
Cardano0.4409 2.02 % 1.67 % 4.21 %
Solana42.12 0.56 % 2.22 % 3.81 %
Dogecoin0.06155 2.40 % 2.64 % 2.93 %

bitcoin
Bitcoin (BTC) $ 19,595.98
ethereum
Ethereum (ETH) $ 1,341.56
tether
Tether (USDT) $ 1.00
usd-coin
USD Coin (USDC) $ 1.00
bnb
BNB (BNB) $ 285.01
xrp
XRP (XRP) $ 0.476838
binance-usd
Binance USD (BUSD) $ 1.01
cardano
Cardano (ADA) $ 0.434781
solana
Solana (SOL) $ 34.16
dogecoin
Dogecoin (DOGE) $ 0.06052